You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Ryan X. Charles f066d3e0ce Merge pull request #51 from maraoz/feature/browserify-Address 11 years ago
browser EncodedData working in the browser 11 years ago
src Rename compiled binding to KeyModule. 11 years ago
test Address working in the browser 11 years ago
util EncodedData working in the browser 11 years ago
.gitignore EncodedData working in the browser 11 years ago
.jshintrc tests work in browser and node 11 years ago
Address.js remove use-strict 11 years ago
Block.js replace tabs with 2 spaces using "expand" 11 years ago
Bloom.js replace tabs with 2 spaces using "expand" 11 years ago
Buffers.monkey.js add some needed monkey patches 11 years ago
Connection.js replace tabs with 2 spaces using "expand" 11 years ago
Deserialize.js replace tabs with 2 spaces using "expand" 11 years ago
Gruntfile.js EncodedData working in the browser 11 years ago
Key.js Add PrivateKey, Key classes. Update test to enc/dec private key test vectors. 11 years ago
LICENSE bunch of interim (broken) stuff 11 years ago
Number.monkey.js add some needed monkey patches 11 years ago
Opcode.js bunch of interim (broken) stuff 11 years ago
Peer.js bunch of interim (broken) stuff 11 years ago
PeerManager.js pass network param from PeerManager to Connection 11 years ago
PrivateKey.js fix validate math error 11 years ago
README.md added README for browser build 11 years ago
RpcClient.js Merge pull request #28 from matiu/feature/handle-403-HTTP 11 years ago
SIN.js replace tabs with 2 spaces using "expand" 11 years ago
SINKey.js replace tabs with 2 spaces using "expand" 11 years ago
Script.js replace tabs with 2 spaces using "expand" 11 years ago
ScriptInterpreter.js replace tabs with 2 spaces using "expand" 11 years ago
Sign.js replace tabs with 2 spaces using "expand" 11 years ago
Transaction.js remove "use strict" which is causing problems. 11 years ago
Wallet.js replace tabs with 2 spaces using "expand" 11 years ago
WalletKey.js replace tabs with 2 spaces using "expand" 11 years ago
binding.gyp Rename compiled binding to KeyModule. 11 years ago
bitcore.js Address working in the browser 11 years ago
config.js fix logger variable name 11 years ago
const.js replace tabs with 2 spaces using "expand" 11 years ago
networks.js Bitcoin address tests, from bitcoin/bitcoin.git 11 years ago
package.json added testing framework for the browser 11 years ago
sin-test.js Broken SIN stuff 11 years ago

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