參照?MyEtherWallet實現(xiàn)Android 客戶端映射Dapp
需要的數(shù)據(jù):
1.礦工費(fèi)用:Gas 可通過rpc接口?eth_estimategas?獲取
2.事物數(shù)量:可通過rpc接口?eth_getTransactionCount?獲取
3.交易數(shù)據(jù):
函數(shù)名:register(string)?
func = 函數(shù)名sha3一次之后,轉(zhuǎn)16進(jìn)制,截取0-7位
eosPublic = 需要通過 encodeParameters 函數(shù)編碼Eos公玥地址(UTF-8)
然后拼接 0xfunc+eosPublic
稍等,后面還需要sign一次
下次有空繼續(xù)更新,大體大體是這樣