Go to file
Ryan X. Charles 92f6d1e529 remove "use strict" which is causing problems.
"use strict" enforces good js. We should go through and carefully add "use
strict" throughout bitcore and fix all problems that are found along the way.
2014-02-05 15:16:24 -05:00
browser bignum in browser 2014-02-04 16:37:05 -03:00
src Rename compiled binding to KeyModule. 2013-07-10 15:32:38 -04:00
test remove mocha files 2014-02-04 16:37:34 -03:00
util replace tabs with 2 spaces using "expand" 2014-01-16 06:21:35 -03:00
.gitignore ignore bundle, fix package.json 2014-02-04 16:37:33 -03:00
.jshintrc tests work in browser and node 2014-02-04 16:37:34 -03:00
Address.js refactoring of Address 2013-07-10 13:03:05 -04:00
Block.js replace tabs with 2 spaces using "expand" 2014-01-16 06:21:35 -03:00
Bloom.js replace tabs with 2 spaces using "expand" 2014-01-16 06:21:35 -03:00
Buffers.monkey.js add some needed monkey patches 2013-07-18 12:01:12 -04:00
Connection.js replace tabs with 2 spaces using "expand" 2014-01-16 06:21:35 -03:00
Deserialize.js replace tabs with 2 spaces using "expand" 2014-01-16 06:21:35 -03:00
Gruntfile.js tests work in browser and node 2014-02-04 16:37:34 -03:00
Key.js Add PrivateKey, Key classes. Update test to enc/dec private key test vectors. 2013-07-10 20:07:14 -04:00
LICENSE bunch of interim (broken) stuff 2013-07-09 14:45:52 -04:00
Number.monkey.js add some needed monkey patches 2013-07-18 12:01:12 -04:00
Opcode.js bunch of interim (broken) stuff 2013-07-09 14:45:52 -04:00
Peer.js bunch of interim (broken) stuff 2013-07-09 14:45:52 -04:00
PeerManager.js rework logging, remove some unused code 2013-10-31 12:40:06 -04:00
PrivateKey.js fix validate math error 2014-01-01 15:47:36 -05:00
README.md added README for browser build 2014-02-04 16:37:33 -03:00
RpcClient.js Merge pull request #28 from matiu/feature/handle-403-HTTP 2014-01-28 15:41:14 -08:00
SIN.js replace tabs with 2 spaces using "expand" 2014-01-16 06:21:35 -03:00
SINKey.js replace tabs with 2 spaces using "expand" 2014-01-16 06:21:35 -03:00
Script.js replace tabs with 2 spaces using "expand" 2014-01-16 06:21:35 -03:00
ScriptInterpreter.js replace tabs with 2 spaces using "expand" 2014-01-16 06:21:35 -03:00
Sign.js replace tabs with 2 spaces using "expand" 2014-01-16 06:21:35 -03:00
Transaction.js remove "use strict" which is causing problems. 2014-02-05 15:16:24 -05:00
Wallet.js replace tabs with 2 spaces using "expand" 2014-01-16 06:21:35 -03:00
WalletKey.js replace tabs with 2 spaces using "expand" 2014-01-16 06:21:35 -03:00
binding.gyp Rename compiled binding to KeyModule. 2013-07-10 15:32:38 -04:00
bitcore.js tests work in browser and node 2014-02-04 16:37:34 -03:00
config.js fix logger variable name 2014-01-14 15:59:38 -03:00
const.js replace tabs with 2 spaces using "expand" 2014-01-16 06:21:35 -03:00
networks.js Bitcoin address tests, from bitcoin/bitcoin.git 2013-07-09 16:02:59 -04:00
package.json added testing framework for the browser 2014-02-04 16:37:34 -03:00
sin-test.js Broken SIN stuff 2013-08-16 22:22:50 -04:00

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.

install bitcore

cd bitcore/ npm install

build browser version

npm install -g grunt-cli grunt browserify

Bitdeli Badge