1.4.0 • Published 5 years ago
bytom-js-sdk v1.4.0
Bytom-JS-SDK
Install
npm install bytom-js-sdk
Use
let net = {
main: "http://main-net-host/",
test: "http://test-net-host/"
};
let bytom = new Bytom(net, chrome.runtime.getURL("main.wasm"));
//set Bytom net type (main test), default main net.
bytom.setNetType('test');
console.log(bytom.getNetType());
//create key
bytom.sdk.keys.create("test_alias", "123456").then((res)=>{
console.log(res)
}).catch(error => {
console.log(error)
});
WebAssembly build
Project depends on WebAssembly. \ See Bytom-WebAssembly.
1.4.0
5 years ago
1.3.11
5 years ago
1.3.10
5 years ago
1.3.9
5 years ago
1.3.8
6 years ago
1.3.7
6 years ago
1.3.6
6 years ago
1.3.5
6 years ago
1.3.4
6 years ago
1.3.3
6 years ago
1.3.2
6 years ago
1.3.1
6 years ago
1.3.0
6 years ago
1.2.3
6 years ago
1.2.2
6 years ago
1.2.1
6 years ago
1.2.0
6 years ago
1.1.2
6 years ago
1.1.1
6 years ago
1.1.0
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago