Skip to content

Commit

Permalink
Merge 7d1c6ff into bc0cd41
Browse files Browse the repository at this point in the history
  • Loading branch information
GinMu committed Dec 31, 2018
2 parents bc0cd41 + 7d1c6ff commit ce53a37
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 1 deletion.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ Basic js lib to be used for interacting with jingtum blockchain or consortium bl
- Subscribe events, include server, ledger, account and so on
- Get other information from jingtum

原始代码来自[jingtum-lib](https://www.npmjs.com/package/jingtum-lib),在此基础上[JCCDex团队](https://github.com/JCCDex)做以下增强

The team [JCCDex](https://github.com/JCCDex) made the following enhancements to the code from jingtum
* 支持浏览器 Support running in browsers
* 支持所有的井通联盟链 Support all jingtum alliance chains

井畅应用交流群: 557524730

JCCDex Tech support QQ group ID: 557524730

## INSTALL

```shell
Expand All @@ -21,3 +31,13 @@ npm install jcc_jingtum_lib
## Documents

For more information see [docs.md](https://github.com/JCCDex/jcc_jingtum_lib/blob/master/docs.md)

## Clone from github
```shell
git clone https://github.com/JCCDex/jcc_jingtum_lib.git
cd jcc_jingtum_lib
npm install
npm run test
```
You will see this image, enjoy it.
![Test Screenshot](screenshot.png)
6 changes: 6 additions & 0 deletions docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ options for setup a remote, options including

`server` is string for jingtum websocket server url, `local_sign` checks if jcc_jingtum_lib sign transaction in local, `token` is string for jingtum blockchain or consortium blockchain, the value is `swt` or `bwt` that respectively represents [jingtum chain](http://state.jingtum.com/#!/) and [bizain chain](https://bizain.net/bc/explorer/#!/).

bwt是商链的原生币,也是燃料币,商链是井通链的联盟链,如果添加新的联盟链,需要在 [jcc_jingtum_base_lib](https://github.com/JCCDex/jcc_jingtum_base_lib)项目中src/wallet_config.js 添加新的联盟链定义即可,如果需要我们增加请联系我们。

BWT is the native token and gas token of BIZAIN. BIZAIN is the alliance chain of jingtum. If you add a new alliance chain, you need to add a new definition of the alliance chain in project [jcc_jingtum_base_lib](https://github.com/JCCDex/jcc_jingtum_base_lib) folder src/wallet_config.js.

If you need to add it in this package, please contact us.

### connect(callback)

Each remote object should connect jingtum first. Now jingtum should connect manual, only then you can send request to backend.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@
"src",
"lib"
]
}
}
Binary file added screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ce53a37

Please sign in to comment.