A pure and powerful JavaScript Instacash protocol intergration library. This was made possible with the help of bitcore.
Instacash is a powerful new peer-to-peer platform for the next generation of financial technology. The decentralized nature of the Instacash network allows for highly resilient Instacash infrastructure.
npm install instacash-js
bower install instacash-js
The complete docs are hosted here: bitcore documentation. There's also a bitcore API reference available generated from the JSDocs of the project, where you'll find low-level details on each bitcore utility.
- Generate a random address
- Generate a address from a SHA256 hash
- Import an address via WIF
- Create a Transaction
- Sign a Dash message
- Verify a Dash message
- Create an OP RETURN transaction
- Create a 2-of-3 multisig P2SH address
- Spend from a 2-of-2 multisig P2SH address
To build a instacash-js full bundle for the browser:
gulp browserThis will generate files named instacash-js.js and instacash-js.min.js.
git clone https://github.com/insta-cash/instacash-js.git
cd bitcore-lib-dash
npm installRun all the tests:
gulp testYou can also run just the Node.js tests with gulp test:node, just the browser tests with gulp test:browser
or create a test coverage report (you can open coverage/lcov-report/index.html to visualize it) with gulp coverage.
Code released under the MIT license.
Copyright 2013-2015 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc. Copyright 2016 The Dash Foundation, Inc. Copyright 2018 InstaCash CORE Team.