joinchain-js accounts interface 本项目是为 Joinchain 区块链提供客户端支持的 js 接口,通过本项目可以接入 Joinchain 区块链,实现区块链的使用。 This project is a js interface that provides client support for joinchain blockchain. Through this project, joinchain blockchain can be accessed.
本项目包含以下内容: Joinchain-js package list
- joinchain.Account joinchain 账号
- joinchain.HttpProvider joinchain http提供商接口
- joinchain.Keystore joinchain 离线账号存储
- joinchain.RequestManager joinchain http接口
npm install joinchain-js
install with -g
if you want to use the cli.
var Joinchain = require('joinchain-js');
var joinchain = new Joinchain();
//account
joinchain.Account.XXX();
//keystore
joinchain.Keystore.XXX();
//transaction
joinchain.Transation.XXX();
//rpc
var joinchain = new Joinchain(new Joinchain.providers.HttpProvider("http://127.0.0.1:7545"));