Bitcore is a complete, native interface to the Bitcoin network, and provides the core functionality needed to develop apps for bitcoin.
Pull request Compare This branch is 2711 commits behind bitpay:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
browser
src
test
util
.gitignore
.jshintrc
Address.js
Block.js
Bloom.js
Buffers.monkey.js
Connection.js
Deserialize.js
Gruntfile.js
Key.js
LICENSE
Number.monkey.js
Opcode.js
Peer.js
PeerManager.js
PrivateKey.js
README.md
RpcClient.js
SIN.js
SINKey.js
Script.js
ScriptInterpreter.js
Sign.js
Transaction.js
Wallet.js
WalletKey.js
binding.gyp
bitcore.js
config.js
const.js
networks.js
package.json
sin-test.js

README.md

Bitcore

A pure, powerful core for your bitcoin project.

Bitcore is a complete, native interface to the Bitcoin network, and provides the core functionality needed to develop apps for bitcoin.

Principles

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.

Bitcore unchains developers from fallible, centralized APIs, and provides the tools to interact with the real Bitcoin network.

Get Started

Bitcore runs on node, and can be installed via npm:

npm install bitcore

It is a collection of objects useful to bitcoin applications; class-like idioms are enabled via Classtool. In most cases, a developer will require the object's class directly:

var Address = require('bitcore/Address').class();

Examples

Validating a Bitcoin address:

var Address = require('bitcore/Address').class();

var addr = new Address("1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa");

try {
  addr.validate();
  console.log("Address is valid.");
} catch(e) {
  console.log(addr.data + " is not a valid address. " + e);
}

Security

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.

Contributing

Bitcore needs some developer love. Please send pull requests for bug fixes, code optimization, and ideas for improvement.

Work to enable Bitcore for use in the browser is ongoing. To build bitcore for the browser:

npm install -g grunt-cli
grunt browserify

License

Code released under the MIT license.

Copyright 2013-2014 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc.

Bitdeli Badge