Documentation
¶
Index ¶
Constants ¶
View Source
const (
ChainIDDNA = "24938a99198d850bb7d79010c1325fb63fde63e8e477a5443ff5ce50ab867055"
)
View Source
const (
CurveType = owcrypt.ECC_CURVE_SECP256K1
)
Variables ¶
View Source
var (
//币种
Symbol = "DNA"
)
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.