command
Version:
v0.5.6
Opens a new window with list of versions in this module.
Published: Dec 20, 2020
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
wallet
web assembly
if exist function wasmLoaded() in javascript,it will be called.
about web assembly
function list:
- loadWallet(password,walletString) return "ok"
- newWallet(password) return "ok"
- changePwd(old password,new password) return "ok"
- getAddress() return AddressString
- newTransaction(ops,...)
- OpsTransfer:0,chain(number),cost(number,t0),peerAddress(hex),energy(number,t0),dataString
- newTransaction(0,1,1000000000,"01ccaf415a3a6dc8964bf935a1f40e55654a4243ae99c709")
- newTransaction(0,2,1000000000,"01ccaf415a3a6dc8964bf935a1f40e55654a4243ae99c709",100000000,"hello")
- OpsMove:1,chain(number),cost(number,t0),DstChain(number),energy(number,t0)
- OpsRunApp:4,chain(number),cost(number,t0),appName(hex),data(hex),energy(number,t0)
- OpsUpdateAppLife:5,chain(number),0,appName(hex),life(number,t0),energy(number,t0)
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.