All Projects

Beamchain

Bitcoin full node in Erlang/OTP

Erlang

About

A fault-tolerant Bitcoin full node leveraging Erlang/OTP supervision trees, with RocksDB storage and C NIF bindings for secp256k1.

Completion 100%

Tech stack

Language
Erlang
Storage
RocksDB + NIF
Crypto
libsecp256k1 (C NIF)
Lines of code
36,407

Quick start

terminal
$ git clone https://github.com/hashhog/beamchain.git
$ cd beamchain
$ rebar3 compile
$ ./beamchain start --network=testnet4

Features

✓ Wire serialization
✓ Cryptographic primitives
✓ Script interpreter
✓ P2P networking
✓ Block validation
✓ UTXO set management
✓ Header sync
✓ Block sync (IBD)
✓ Mempool
✓ RPC server
✓ Wallet
✓ Mining/block templates
✓ Script test vectors (1222/1222)
✓ Testnet4 sync