Product
Introducing Ruby Support in Socket
Socket is launching Ruby support for all users. Enhance your Rails projects with AI-powered security scans for vulnerabilities and supply chain threats. Now in Beta!
A pure and simple javascript bitcoin API.
Bitcoin is a powerful new peer-to-peer platform for the next generation of financial technology. The decentralized nature of the Bitcoin network allows for highly resilient bitcoin infrastructure, and the developer community needs reliable, open-source tools to implement bitcoin apps and services.
You can run bitcore on any javascript engine. It's distributed through npm, and you can also find compiled single files here: bitcore.js and bitcore.min.js.
npm install bitcore
Using it on node.js:
var bitcore = require('bitcore');
assert(bitcore.Address.isValid(address));
var simpleTx = new bitcore.Transaction();
var simpleTx.from(unspent).to(address, amount);
simpleTx.sign(privateKey);
The complete docs are hosted here: bitcore documentation. There's also a bitcore API reference available generated from the JSDocs of the project, but we're still working on the quality and design of this API reference.
Please use at your own risk.
Bitcore is still under heavy development and not quite ready for "drop-in" production use. If you find a security issue, please email security@bitcore.io.
Please send pull requests for bug fixes, code optimization, and ideas for improvement.
To build bitcore full bundle for the browser:
gulp browser
This will generate files named browser/bitcore.js
and browser/bitcore.min.js
.
Run all the tests:
gulp test
Run the tests with mocha:
gulp test:node
Run the tests with karma (uses firefox and chrome):
gulp test:browser
Create a coverage report (you can open coverage/lcov-report/index.html
to visualize it):
gulp coverage
Code released under the MIT license.
Copyright 2013-2014 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc.
FAQs
A platform to build bitcoin and blockchain-based applications.
The npm package bitcore receives a total of 123 weekly downloads. As such, bitcore popularity was classified as not popular.
We found that bitcore demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket is launching Ruby support for all users. Enhance your Rails projects with AI-powered security scans for vulnerabilities and supply chain threats. Now in Beta!
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.