It is a project for Bytom Chrome extension JS SDK https://bytom.github.io/Bytom-JS-SDK
Rev. | Zeit | Autor | Nachricht |
---|---|---|---|
62dbd02 | 2021-04-27 18:54:37 | j | dev feat(transaction): support multi toAddress |
48d2b86 | 2020-11-13 11:08:51 | Zhiting Lin | master Merge pull request #2 from Bytom/dev Dev |
df63d72 | 2020-11-13 11:07:39 | Zhiting Lin | update the derivation path are null. |
eaab80d | 2020-11-03 15:51:29 | Zhiting Lin | update list delay transactions. |
3b77f6f | 2020-10-22 12:05:18 | Zhiting Lin | update list account for v2 structure and before. |
d280896 | 2020-09-09 15:40:47 | Zhiting Lin | update error code |
779d372 | 2020-09-09 10:52:01 | Zhiting Lin | update the sign transaction and sign message js function |
1f9f7d3 | 2020-09-03 11:01:10 | Zhiting Lin | update the method for verify password |
7214ee7 | 2020-08-26 15:07:51 | Zhiting Lin | update selection |
78bc5c2 | 2020-08-25 17:33:41 | Zhiting Lin | update v3.0.0 for product |
Name | Rev. | Zeit | Autor | Nachricht |
---|---|---|---|---|
dev | 62dbd02 | 2021-04-27 18:54:37 | j | feat(transaction): support ... |
master | 48d2b86 | 2020-11-13 11:08:51 | Zhiting Lin | Merge pull request #2 from... |
npm install bytom-js-sdk
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)
});
Project depends on WebAssembly. \ See Bytom-WebAssembly.