Documentation
¶
Index ¶
Constants ¶
View Source
const (
CurveType = owcrypt.ECC_CURVE_SECP256K1
)
Variables ¶
View Source
var (
//币种
Symbol = "UFC"
)
Functions ¶
func NewAddressDecoder ¶
func NewAddressDecoder(wm *WalletManager) *addressDecoder
NewAddressDecoder 地址解析器
Types ¶
type WalletConfig ¶
type WalletConfig struct {
//币种
Symbol string
//区块链数据文件
BlockchainFile string
//钱包服务API
ServerAPI string
//默认配置内容
DefaultConfig string
//曲线类型
CurveType uint32
//链ID
ChainID string
//数据目录
DataDir string
// contains filtered or unexported fields
}
func NewConfig ¶
func NewConfig(symbol string) *WalletConfig
type WalletManager ¶
type WalletManager struct {
*whitecoin.WalletManager
}
func NewWalletManager ¶
func NewWalletManager() *WalletManager
Click to show internal directories.
Click to hide internal directories.