https://github.com/throughnothing/bitcore-spv
Javascript SPV Wallet built on top of bitcore
https://github.com/throughnothing/bitcore-spv
Last synced: about 1 year ago
JSON representation
Javascript SPV Wallet built on top of bitcore
- Host: GitHub
- URL: https://github.com/throughnothing/bitcore-spv
- Owner: throughnothing
- Created: 2015-02-22T01:22:44.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2020-12-31T00:48:44.000Z (over 5 years ago)
- Last Synced: 2025-03-29T22:28:51.981Z (about 1 year ago)
- Language: JavaScript
- Size: 393 KB
- Stars: 11
- Watchers: 1
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bitcore-spv
[](https://travis-ci.org/throughnothing/bitcore-spv)
[](https://coveralls.io/r/throughnothing/bitcore-spv?branch=master)
Bitcore-spv aims to be bitcoin SPV client (currently with a Wallet)
written entirely in Javascript, and based on
[bitcore](https://github.com/bitpay/bitcore).
Currently this will not run in browsers as-is, but the
[chrome-net](https://github.com/feross/chrome-net) project can be used
to replace node's `net` module when building for the browser. My
[BitcoinSPVCrx](https://github.com/throughnothing/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](https://www.npmjs.org/).
* 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.