Documentation
¶
Index ¶
Constants ¶
View Source
const ( //币种 Symbol = "SPG" CurveType = owcrypt.ECC_CURVE_SECP256K1 Decimals = int32(8) )
Variables ¶
View Source
var SPGMainnetAddressPrefix = btcTransaction.AddressPrefix{[]byte{0x3F}, nil, nil, "spg"}
View Source
var (
SPG_mainnetAddressP2PKH = addressEncoder.AddressType{"base58", addressEncoder.BTCAlphabet, "doubleSHA256", "h160", 20, []byte{0x3f}, nil}
)
Functions ¶
func NewAddressDecoder ¶
func NewAddressDecoder(wm *WalletManager) *addressDecoder
NewAddressDecoder 地址解析器
Types ¶
type WalletManager ¶
type WalletManager struct {
*bitcoin.WalletManager
}
func NewWalletManager ¶
func NewWalletManager() *WalletManager
Click to show internal directories.
Click to hide internal directories.