Versions in this module Expand all Collapse all v8 v8.0.0 Jan 21, 2020 Changes in this version + const FirstHardenedChild + var ErrHardenedChildPublicKey = errors.New("Can't create hardened child from public key") + var ErrHardenedOnly = errors.New("ed25519 only works with hardened children") + var ErrPathChildMaster = errors.New("Path contains m as a child node") + var ErrPathNoMaster = errors.New("Path must start with m") + var ErrPathNodeNotNumber = errors.New("Path node is not a valid uint32 number") + var ErrPathNodeNumberTooLarge = errors.New("Path node must be less than 2^31") + func CheckWalletExists(path string) (walletPath string, err error) + func KeystoreSeal(account *Account, password string) (j []byte, e error) + func ParseMnemonic(mnemonic string) (masterSeed []byte, err error) + func StoreToKeyStoreFile(account *Account, password, walletName string) (filePath string, err error) + func Verify(address string, message, signature []byte) (valid bool, err error) + type Account struct + Address string + SigningKey ed25519.PrivateKey + func BIP32KeyToAeKey(key *Key) (acc *Account, err error) + func FromHexString(hexPrivateKey string) (account *Account, err error) + func KeystoreOpen(data []byte, password string) (account *Account, err error) + func LoadFromKeyStoreFile(keyFile, password string) (account *Account, err error) + func New() (account *Account, err error) + func (account *Account) Sign(message []byte) (signature []byte) + func (account *Account) SigningKeyToHexString() (signingKeyHex string) + type Key struct + ChainCode []byte + ChildNumber uint32 + Depth uint32 + IsPrivate bool + Key []byte + func DerivePathFromSeed(masterSeed []byte, accountIndex, addressIndex uint32) (key *Key, err error) + func NewMasterKey(seed []byte) (*Key, error) + func (key *Key) NewChildKey(childIdx uint32) (*Key, error) + type Path struct + Elements []PathNode + func ParsePath(p string) (*Path, error) + type PathNode struct + ChildNumber uint32 + Master bool + func (p PathNode) Hardened() bool Other modules containing this package github.com/aeternity/aepp-sdk-go/v6 github.com/aeternity/aepp-sdk-go/v7 github.com/aeternity/aepp-sdk-go/v9