All Projects
Hotbuns mascot

Hotbuns

Bitcoin full node in TypeScript on Bun

TypeScript

About

A complete Bitcoin full node in TypeScript running on the Bun runtime. Features parallel signature verification, HD wallet support, and Bitcoin Core-compatible RPC.

Completion 95%

Mainnet sync

At Chain Tip
100%
Block height
948,374
Sync rate
At tip
Test vectors
1222/1222

Tech stack

Language
TypeScript
Storage
LevelDB
Crypto
libsecp256k1 (C FFI)
Lines of code
56,200

Quick start

terminal
$ git clone https://github.com/hashhog/hotbuns.git
$ cd hotbuns
$ bun install
$ bun run src/index.ts --network=mainnet

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
Mainnet sync
BIP324 v2 transport
BIP-39 mnemonic
HD wallet (BIP-32/44)
Taproot signing (BIP-340/341)
Tapscript signing (BIP-342)