package
1.8.9
Repository: https://github.com/celo-org/celo-blockchain.git
Documentation: pkg.go.dev

# README

Origin

This module is a copy/adaptation of https://github.com/miguelmota/go-ethereum-hdwallet. All credit goes to them.

The reason for copy vs dependency is that we want to depend on celo-blockchain module, not on go-ethereum

# Functions

MustParseDerivationPath parses the derivation path in string format into []uint32 but will panic if it can't parse it.
NewEntropy returns a randomly generated entropy.
NewFromMnemonic returns a new wallet from a BIP-39 mnemonic.
NewFromSeed returns a new wallet from a BIP-39 seed.
NewMnemonic returns a randomly generated BIP-39 mnemonic using 128-256 bits of entropy.
NewMnemonicFromEntropy returns a BIP-39 mnemonic from entropy.
NewSeed returns a randomly generated BIP-39 seed.
NewSeedFromMnemonic returns a BIP-39 seed based on a BIP-39 mnemonic.
ParseDerivationPath parses the derivation path in string format into []uint32.

# Variables

DefaultBaseDerivationPath is the base path from which custom derivation endpoints are incremented.
DefaultRootDerivationPath is the root path to which custom derivation endpoints are appended.

# Structs

Wallet is the underlying wallet struct.