Documentation
¶
Index ¶
- Variables
- func DisplayAll()
- type Bip32
- type Network
- func (n *Network) Bip44Path() string
- func (n *Network) Bip49Path() string
- func (n *Network) Bip84Path() string
- func (n *Network) IsBitcoinCash() bool
- func (n *Network) IsELA() bool
- func (n *Network) IsEthereum() bool
- func (n *Network) IsGRS() bool
- func (n *Network) IsNano() bool
- func (n *Network) IsRsk() bool
- func (n *Network) IsStellar() bool
- type Params
Constants ¶
This section is empty.
Variables ¶
View Source
var NetworkParams map[string]Params
View Source
var Networks []Network
View Source
var NetworksMap map[string]Network
View Source
var NetworksSymbols map[string]Network
Functions ¶
func DisplayAll ¶
func DisplayAll()
Types ¶
type Network ¶
type Network struct {
Name string `json:"name"`
Symbol string `json:"symbol"`
Network string `json:"network"`
HdCoin int64 `json:"hdCoin"`
Params Params `json:"_"`
}
func (*Network) IsBitcoinCash ¶
func (*Network) IsEthereum ¶
type Params ¶
type Params struct {
BaseNetwork string `json:"baseNetwork"`
MessagePrefix string `json:"messagePrefix"`
Bip32 Bip32 `json:"bip32"`
PubKeyHash int64 `json:"pubKeyHash"`
ScriptHash int64 `json:"scriptHash"`
Wif int64 `json:"wif"`
Bech32 string `json:"bech32"`
P2wpkh *Params `json:"p2wpkh,omitempty"`
P2wpkhInP2sh *Params `json:"p2wpkhInP2sh,omitempty"`
P2wsh *Params `json:"p2wsh,omitempty"`
P2wshInP2sh *Params `json:"p2wshInP2sh,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.