Documentation
¶
Index ¶
- func GetBalance() (uint64, error)
- func GetPrivateKey() (*ecdsa.PrivateKey, error)
- func GetStateNonce() (uint64, error)
- func GetWalletAddress() ([]byte, error)
- func PrintInfo() error
- func SetupWallet() error
- func UpdateWallet(balance, stateNonce uint64) error
- func ValidRecipLen(recipient string) bool
- type Wallet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBalance ¶
func GetPrivateKey ¶
func GetPrivateKey() (*ecdsa.PrivateKey, error)
Opens the wallet and returns the private key
func GetStateNonce ¶
func GetWalletAddress ¶
func SetupWallet ¶
func SetupWallet() error
func UpdateWallet ¶
func ValidRecipLen ¶
ValidRecipLen validates the size of the recipient
Types ¶
Click to show internal directories.
Click to hide internal directories.