dPay.js
dPay.js the JavaScript API for dPay blockchain
Documentation
Here is full documentation: https://github.com/dpays/dpayjs/tree/master/doc
Browser
CDN
https://cdn.benchx.io/lib/latest/dpay.min.js
Webpack
Please have a look at the webpack usage example.
Server
Install
$ npm install dpayjs --save
RPC Servers
https://greatchain.dpays.io By Default
https://jackson.dpays.io
https://jefferson.dpays.io
Examples
Broadcast Vote
var dpay = ; var wif = dpayauth;dpaybroadcast;
Get Accounts
dpayapi;
Get State
dpayapi;
Reputation Formatter
var reputation = dpayformatter;console;
Contributions
Patches are welcome! Contributors are listed in the package.json file. Please run the tests before opening a pull request and make sure that you are passing all of them. If you would like to contribute, but don't know what to work on, check the issues list or on dPay Telegram Channel https://t.me/dpayio.
Issues
When you find issues, please report them!
License
MIT