Skip to content

xloem/bitcore-spv

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bitcore-spv

Build Status Coverage Status

Bitcore-spv aims to be bitcoin SPV client (currently with a Wallet) written entirely in Javascript, and based on bitcore.

Currently this will not run in browsers as-is, but the chrome-net project can be used to replace node's net module when building for the browser. My BitcoinSPVCrx project currently does this to make bitcore-spv run in a Chrome App. A similar approach should definitely be possible to utilize WebRTC or whatever sockets implementation Firefox provides.

Development requirements

  • Node.js + npm.
  • For running tests: npm install -g mocha
  • npm install

Running Tests

npm run test

Running the sample script

  • node scripts/spvnode.js

This is an example script provided for testing. It will currently sync with the blockchain, and update the lib/data/index.js data file, which stores a compressed/shrunk version of verified block headers.

About

Javascript SPV Wallet built on top of bitcore

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%