bip44

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const HardenedBit = Number(0x80000000)

HardenedBit .

Variables

View Source
var (
	ErrPath = errors.New("path error")
)

errors .

Functions

This section is empty.

Types

type DeterministicPath

type DeterministicPath struct {
	Purpose Number
	Coin    Number
	Account Number
	Change  Number
	Address Number
}

DeterministicPath .

func Parse

func Parse(path string) (*DeterministicPath, error)

Parse parse bip44 path string

type Number

type Number uint64

Number .

func MakeNumber

func MakeNumber(val uint64, hardened bool) Number

MakeNumber .

func ParseNumber

func ParseNumber(val string) (Number, error)

ParseNumber .

func (Number) IsHardened

func (number Number) IsHardened() bool

IsHardened .

func (Number) Value

func (number Number) Value() int

Value .

Jump to

Keyboard shortcuts

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