Documentation ¶ Index ¶ type Wallet func NewWallet(mnemonic, alias string, customDerivationPath ...string) (*Wallet, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Wallet ¶ type Wallet struct { Alias string `json:"alias"` Address string `json:"address"` PrivateKey string `json:"private_key"` PublicKey string `json:"public_key"` } func NewWallet ¶ func NewWallet(mnemonic, alias string, customDerivationPath ...string) (*Wallet, error) NewWallet creates a new Wallet from the given mnemonic, alias, and an optional custom derivation path. It uses the provided account derived from the standard Ethereum derivation path if no custom path is provided. Source Files ¶ View all Source files wallet.go Click to show internal directories. Click to hide internal directories.