Documentation
¶
Index ¶
Constants ¶
View Source
const (
ChainIDBAR = "8ac5756ab6f78c1ae92d9654072eecf7fc81b418a05073ad067095061067e3c9"
)
View Source
const (
CurveType = owcrypt.ECC_CURVE_SECP256K1
)
Variables ¶
View Source
var (
//币种
Symbol = "BAR"
)
Functions ¶
func Decrypt ¶
Decrypt calculates a shared secret by the receivers private key and the senders public key, then decrypts the given memo message.
func NewAddressDecoder ¶
func NewAddressDecoder(wm *WalletManager) *addressDecoder
NewAddressDecoder 地址解析器
func NewWebsocketAPI ¶
func NewWebsocketAPI(api string) bts.WebsocketAPI
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 {
*bitshares.WalletManager
}
func NewWalletManager ¶
func NewWalletManager() *WalletManager
Click to show internal directories.
Click to hide internal directories.