Giter Site home page Giter Site logo

bitcoin.js's Introduction

Disclaimer

This project was put on pause. The fact that Bitcoin doesn't have a clear protocol—and that Bitcoin Code is the de facto protocol—means this project would have to replicate all the features, and all the bugs, of Bitcoin Core. I'm not interested in that but I'll keep this repo here for historical purposes. Also, it's quite educational to read the tests (at least I think so).

Bitcoin.js

Highly experimental implementation of a Bitcoin Full Node on JavaScript.

Other projects are not bitcoin nodes but only clients, and only provide utilities like creating an address or getting information from a full node through RPC. This project however aims at implementing the full bitcoin protocol, including block verification and mining.

Milestones

v1 (current, WIP)

The first milestone is to implement Bitcoin from first principles. This includes:

  • Chain of blocks ("blockchain")
  • Mining / PoW
  • Difficulty adjustment
  • Network and peering

During the development of v1 this project will be open-source but closed to contributions (i.e. not accepting PRs at this moment).

v2 (future)

The end goal for this project is to be compatible with the mainnet bitcoin network.

Installing dependencies

npm install

Running tests

npm test

Author

This project is being built by Oliver Offing, you can follow him on Twitter for updates.

bitcoin.js's People

Contributors

oliveroffing avatar

Stargazers

Keyan avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.