Documentation ¶
Index ¶
- func StoreEthereumWallet(ethereumPrivateKey string, walletPassphrase string, ethWalletPath string) error
- func ValidateCometPublicKeyAndAddressWithPrivateKey(publicKey string, address string, privateKey string) error
- func ValidateEthereumAddressWithPrivateKey(hexAddress string, hexPrivateKey string) error
- type CometKeys
- type EthereumWalletPrivate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StoreEthereumWallet ¶
Types ¶
type CometKeys ¶
type CometKeys struct { Address string `json:"address"` PublicKey string `json:"public_key"` PrivateKey string `json:"private_key"` }
func GenerateCometKeys ¶
func GenerateCometKeys() CometKeys
type EthereumWalletPrivate ¶
type EthereumWalletPrivate struct { Address string `json:"address"` Mnemonic string `json:"mnemonic"` Seed string `json:"seed"` PrivateKey string `json:"private_key"` }
func GenerateEthereumWallet ¶
func GenerateEthereumWallet( mnemonic string, seed string, password string, ) (*EthereumWalletPrivate, error)
func GenerateNewEthereumWallet ¶
func GenerateNewEthereumWallet() (*EthereumWalletPrivate, error)
Click to show internal directories.
Click to hide internal directories.