1.5.3 • Published 4 years ago

jcc_jingtum_lib v1.5.3

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
4 years ago

About JCC Jingtum lib

npm Build Status Coverage Status npm downloads

Basic js lib to be used for interacting with jingtum & jingtum alliance chains network. Now support browser client.

  • Keep only one websocket connection to jingtum and handle exception
  • Do transaction to jingtumd, and process response
  • Subscribe events, include server, ledger, account and so on
  • Get other information from jingtum

原始代码来自jingtum-lib,在此基础上JCCDex团队做以下增强

The team 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

npm install jcc_jingtum_lib

Documents

For more information see docs.md

About Signature

// demo
const LocalSign = require('jcc_jingtum_lib/src/local_sign');
let tx = {
  Flags: 0,
  Fee: 0.00001,
  Account: 'jpgWGpfHz8GxqUjz5nb6ej8eZJQtiF6KhH',
  TransactionType: 'OfferCreate',
  TakerGets: {
    value: 0.03,
    currency: 'CNY',
    issuer: 'jGa9J9TkqtBcUoHe2zqhVFFbgUVED6o9or'
  },
  TakerPays: 1
}
let seed = {
  seed: "snfXQMEVbbZng84CcfdKDASFRi4Hf"
}
let signature = LocalSign(tx, seed);

For more structure of transaction data, see jcc_exchange.

Clone from github

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

1.5.3

4 years ago

1.5.2

4 years ago

1.5.1

4 years ago

1.5.0

5 years ago

1.4.9

5 years ago

1.4.8

5 years ago

1.4.7

6 years ago

1.4.6

6 years ago

1.4.5

6 years ago

1.4.4

6 years ago

1.4.3

6 years ago

1.4.2

6 years ago

1.4.1

6 years ago

1.3.10

6 years ago