hdwallet

package
v0.0.0-...-b9de96a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBLSHDWallet

func CreateBLSHDWallet(seed []byte, path string) (common.SecretKey, error)

CreateBLSHDWallet will create a single secret key from a seed and a path

func DeriveChildSK

func DeriveChildSK(parentSK *big.Int, index uint32) (*big.Int, error)

DeriveChildSK derives the child secret key from a parent key. Follows ERC-2333.

func DeriveMasterSK

func DeriveMasterSK(seed []byte) (*big.Int, error)

func PrivateKeyFromSeedAndPath

func PrivateKeyFromSeedAndPath(seed []byte, path string) (common.SecretKey, error)

PrivateKeyFromSeedAndPath generates a private key given a seed and a path. Follows ERC-2334.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL