A pure and powerful JavaScript Kobocoin Library based on the Bitcore Library.
Kobocoin is a powerful new peer-to-peer platform for the next generation of financial technology. The decentralized nature of the Kobocoin network allows for highly resilient Kobocoin infrastructure, and the developer community needs reliable, open-source tools to implement kobocoin apps and services.
This Kobocoin Library is based on The Bitpay Bitcore libraries https://github.com/bitpay/bitcore-lib
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 Kobocoin message
- Verify a Kobocoin message
- Create an OP RETURN transaction
- Create a 2-of-3 multisig P2SH address
- Spend from a 2-of-2 multisig P2SH address
We're using Kobocore in production, but please use common sense when doing anything related to finances! We take no responsibility for your implementation decisions.
To build a kobocore-lib full bundle for the browser:
gulp browser
This will generate files named kobocore-lib.js
and kobocore-lib.min.js
.
git clone https://github.com/kobocoin/bitcore-lib-kobo
cd bitcore-lib-kobo
npm install
Run all the tests:
gulp test
You 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 2015-2016 Kobocoin, The Kobocoin Developers.