gomod2nix/tests/ethermint/crypto/hd/algorithm.go

12 lines
244 B
Go
Raw Normal View History

package hd
import (
"github.com/btcsuite/btcd/chaincfg"
"github.com/btcsuite/btcutil/hdkeychain"
)
// NewExtendedKey
func NewExtendedKey() (*hdkeychain.ExtendedKey, error) {
return hdkeychain.NewMaster([]byte{}, &chaincfg.MainNetParams)
}