• R/O
  • HTTP
  • SSH

Bytom-JS-SDK: レポジトリ概要

It is a project for Bytom Chrome extension JS SDK https://bytom.github.io/Bytom-JS-SDK

最近のコミット RSS

Rev. 日時 作者 メッセージ
4053dd8 2019-05-08 14:57:38 Zhiting Lin master update document.
d7fb618 2019-05-08 14:51:24 Zhiting Lin update the JS SDK API
676fc44 2019-04-29 11:29:55 Zhiting Lin update the blockcenter js api.
6a806aa 2019-04-28 20:37:06 Zhiting Lin add the convertArgument function
d6e6789 2019-04-18 15:49:56 Zhiting Lin Add the doc page.
c7a66f5 2019-03-05 15:32:37 Zhiting Lin Merge pull request #1 from Bytom/wsmb Wsmb
d09f96f 2019-03-05 15:30:57 Zhiting Lin update timeout
079e125 2019-02-21 11:59:59 Zhiting Lin update the git reposity
770f8ca 2019-02-21 11:59:31 Zhiting Lin add the confirmation params
9d8f4d7 2019-02-15 11:33:07 Zhiting Lin Add the convert argument into transaction.


名前 Rev. 日時 作者 メッセージ
master 4053dd8 2019-05-08 14:57:38 Zhiting Lin update document.



npm version


bash npm install bytom-js-sdk


```javascript 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.