Documentation
¶
Index ¶
- Constants
- Variables
- func BuildTransaction(to, tokenAddr, data, privateKey, amt string, accuracy, nonce, fee int64) string
- func Call(arg string) string
- func CreateKeyStore(key, auth string) string
- func DecryptKeystore(keystore, auth string) string
- func PrivateKey2Address(private string) string
- func PubKey2Address(pub string) string
- func Sha3_256(data string) string
- func SignMsg(data, privKey string) string
- type EncryptPrivateKey
- type GoMobileParam
- type GoMobileResp
- type KeyStore
Constants ¶
View Source
const ( InvalidParam = `{"status": -400, "resp": {}}` InternalError = `{"status": -500, "resp": {}}` NullResp = `{"status": 0, "resp": {}}` )
Variables ¶
View Source
var DelegateNode []types.Peer
Functions ¶
func BuildTransaction ¶
func CreateKeyStore ¶
func DecryptKeystore ¶
func PrivateKey2Address ¶
func PubKey2Address ¶
Types ¶
type EncryptPrivateKey ¶
type GoMobileParam ¶
type GoMobileResp ¶
type KeyStore ¶
type KeyStore struct { Address string `json:"address"` PrivateKey EncryptPrivateKey `json:"privateKey"` }
Click to show internal directories.
Click to hide internal directories.