Documentation ¶
Index ¶
- type EvmosSECP256K1
- func (e EvmosSECP256K1) Close() error
- func (e EvmosSECP256K1) GetAddressPubKeySECP256K1(hdPath []uint32, hrp string) ([]byte, string, error)
- func (e EvmosSECP256K1) GetPublicKeySECP256K1(hdPath []uint32) ([]byte, error)
- func (e EvmosSECP256K1) SignSECP256K1(hdPath []uint32, signDocBytes []byte) ([]byte, error)
- type Secp256k1DerivationFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EvmosSECP256K1 ¶
EvmosSECP256K1 defines a wrapper of the Ethereum App to for compatibility with Cosmos SDK chains.
func (EvmosSECP256K1) Close ¶
func (e EvmosSECP256K1) Close() error
Close closes the associated primary wallet. Any requests on the object after a successful Close() should not work
func (EvmosSECP256K1) GetAddressPubKeySECP256K1 ¶
func (e EvmosSECP256K1) GetAddressPubKeySECP256K1(hdPath []uint32, hrp string) ([]byte, string, error)
GetAddressPubKeySECP256K1 takes in the HD path as well as a "Human Readable Prefix" (HRP, e.g. "evmos") to return the public key bytes in secp256k1 format as well as the account address.
func (EvmosSECP256K1) GetPublicKeySECP256K1 ¶
func (e EvmosSECP256K1) GetPublicKeySECP256K1(hdPath []uint32) ([]byte, error)
GetPublicKeySECP256K1 returns the public key associated with the address derived from the provided hdPath using the primary wallet
func (EvmosSECP256K1) SignSECP256K1 ¶
func (e EvmosSECP256K1) SignSECP256K1(hdPath []uint32, signDocBytes []byte) ([]byte, error)
SignSECP256K1 returns the signature bytes generated from signing a transaction using the EIP712 signature.
type Secp256k1DerivationFn ¶
Secp256k1DerivationFn defines the derivation function used on the Cosmos SDK Keyring.
func EvmosLedgerDerivation ¶
func EvmosLedgerDerivation() Secp256k1DerivationFn
Directories ¶
Path | Synopsis |
---|---|
Package accounts implements high level Ethereum account management.
|
Package accounts implements high level Ethereum account management. |
Package usbwallet implements support for USB hardware wallets.
|
Package usbwallet implements support for USB hardware wallets. |