private_key

package
v0.0.0-...-e701cd2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToSeed

func ToSeed(words []string, passphrase string) []byte

*

  • Convert mnemonic word list to seed.

Types

type BchPrivateKey

type BchPrivateKey interface {
	Network(net *chaincfg.Params) BchPrivateKey
	FromSeed(mnemonic string) BchPrivateKey
	DerivePath(path string) BchPrivateKey
	Derive(i uint32) BchPrivateKey
	ToWIF() string
	Xpub() string
}

func NewBchPrivateKey

func NewBchPrivateKey() BchPrivateKey

type BtcPrivateKey

type BtcPrivateKey interface {
	Network(net *chaincfg.Params) BtcPrivateKey
	FromSeed(mnemonic string) BtcPrivateKey
	DerivePath(path string) BtcPrivateKey
	Derive(i uint32) BtcPrivateKey
	ToWIF() string
	ToHex() string
	Xpub() string
}

func NewBtcPrivateKey

func NewBtcPrivateKey() BtcPrivateKey

Jump to

Keyboard shortcuts

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