b2x-core-lib
v0.2.0
Published
A pure and powerful JavaScript Segwit2x library.
Downloads
26
Maintainers
Readme
b2x-core-lib Library
A pure and powerful JavaScript Segwit2X library.
Principles
Segwit2X is a powerful new peer-to-peer platform for the next generation of financial technology. The decentralized nature of the Segwit2X network allows for highly resilient Segwit2X infrastructure, and the developer community needs reliable, open-source tools to implement Segwit2X apps and services.
Get Started
npm install b2x-core-lib
bower install b2x-core-lib
Documentation
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.
To get community assistance and ask for help with implementation questions, please use our community forums.
Examples
- Generate a random address
- Generate a address from a SHA256 hash
- Import an address via WIF
- Create a Transaction
- Sign a Segwit2X message
- Verify a Segwit2X message
- Create an OP RETURN transaction
- Create a 2-of-3 multisig P2SH address
- Spend from a 2-of-2 multisig P2SH address
Development & Tests
git clone https://github.com/SegwitB2X/b2x-core-lib
cd b2x-core-lib
npm install
Run all the tests:
gulp test