bip44

package
v1.69.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: BSD-3-Clause, MIT Imports: 2 Imported by: 5

Documentation

Overview

Package bip44 基于 BIP32 的系统,赋予树状结构中的各层特殊的意义。让同一个 seed 可以支援多币种、多帐户等。

Index

Constants

View Source
const Purpose uint32 = 0x8000002C

Purpose Purpose

Variables

This section is empty.

Functions

func NewKeyFromMasterKey

func NewKeyFromMasterKey(masterKey *bip32.Key, coin, account, chain, address uint32) (*bip32.Key, error)

NewKeyFromMasterKey 新建Key

func NewKeyFromMnemonic

func NewKeyFromMnemonic(mnemonic string, coin, account, chain, address uint32) (*bip32.Key, error)

NewKeyFromMnemonic 新建Key

Types

This section is empty.

Jump to

Keyboard shortcuts

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