Documentation ¶
Index ¶
- func DecodeAddress(address string) (string, error)
- func EncodeAddress(address string) (string, error)
- type Tx
- type Wallet
- func (wrapper *Wallet) Address() string
- func (wrapper *Wallet) CreateAssertTx(assert, from, to string, amount float64, unspent string) (*Tx, error)
- func (wrapper *Wallet) CreateClaimTx(amount float64, address string, unspent string) (*Tx, error)
- func (wrapper *Wallet) CreateNep5Tx(asset string, from, to string, gas float64, amount int64, unspent string) (*Tx, error)
- func (wrapper *Wallet) MintToken(asset string, gas, amount float64, unspent string) (*Tx, error)
- func (wrapper *Wallet) Mnemonic() (string, error)
- func (wrapper *Wallet) ToKeyStore(password string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeAddress ¶
DecodeAddress decode address
func EncodeAddress ¶
EncodeAddress encode address
Types ¶
type Wallet ¶
type Wallet struct {
// contains filtered or unexported fields
}
Wallet neo mobile wallet
func FromKeyStore ¶
FromKeyStore create wallet from keystore
func FromMnemonic ¶
FromMnemonic create wallet from mnemonic
func (*Wallet) CreateAssertTx ¶
func (wrapper *Wallet) CreateAssertTx(assert, from, to string, amount float64, unspent string) (*Tx, error)
CreateAssertTx create assert transfer raw tx
func (*Wallet) CreateClaimTx ¶
CreateClaimTx create claim tx
func (*Wallet) CreateNep5Tx ¶
func (wrapper *Wallet) CreateNep5Tx(asset string, from, to string, gas float64, amount int64, unspent string) (*Tx, error)
CreateNep5Tx create nep5 transfer transaction
Click to show internal directories.
Click to hide internal directories.