It's Bitcoin, but not Bitcoin. It's new, but also old. And yes, you can actually mine it with your laptop.
I took the last version of Bitcoin that Satoshi worked on (0.3.19 from December 2010), updated it to compile on modern systems, and replaced SHA-256 mining with Yespower so GPUs don't have a massive advantage.
New genesis block. Separate network. Same rules otherwise.
In 2010, Satoshi wrote:
It's nice how anyone with just a CPU can compete fairly equally right now.
That stopped being true about a year later. Now it's true again, at least for this chain.
# Download and run (Linux)
./bitokd # start a node
./bitokd -gen # start mining
./bitokd getinfo # check status
Mining uses all CPU cores by default. Limit it with -genproclimit=4 or whatever.
In the GUI: Settings > Options > Generate Coins
| Parameter | Value |
|---|---|
| Algorithm | Yespower 1.0 (CPU-friendly, memory-hard) |
| Block time | 10 minutes |
| Block reward | 50 BITOK, halving every 210,000 blocks |
| Max supply | 21,000,000 |
| P2P port | 18333 |
| RPC port | 8332 |
Same economics as Bitcoin. Different mining algorithm. Different genesis.
Hash: 0x0290400ea28d3fe79d102ca6b7cd11cee5eba9f17f2046c303d92f65d6ed2617
Message: "The Times 03/Jan/2009 Chancellor on brink of second bailout for banks"
nBits: 0x1effffff
nNonce: 37137
The message is the same as Bitcoin's. Seemed appropriate.
Three things:
Build system updated for OpenSSL 3.x, Boost 1.74+, wxWidgets 3.2, etc. Modern Ubuntu compiles it now.
SHA-256 replaced with Yespower for proof-of-work. Your laptop can find blocks. A GPU won't help much.
New genesis block. Separate network.
Everything else is identical to v0.3.19:
No SegWit. No new opcodes. No BIPs. No layer 2. The protocol is frozen at December 2010.
sudo apt-get install build-essential libssl-dev libdb5.3-dev libboost-all-dev
# Daemon only
make -f makefile.unix
# With GUI
sudo apt-get install libwxgtk3.2-dev libgtk-3-dev
make -f makefile.unix gui
Daemon:
./bitokd # run node
./bitokd -gen # run node + mine
./bitokd -daemon # background mode
./bitokd stop # stop daemon
Configuration: Settings can be passed via command line or config file.
Config file location:
| OS | Path |
|----|------|
| Linux (daemon) | ~/.bitokd/bitok.conf |
| macOS | ~/Library/Application Support/Bitok/bitok.conf |
| Windows | %APPDATA%\Bitok\bitok.conf |
Example config file:
server=1
rpcuser=user
rpcpassword=pass
gen=1
addnode=1.2.3.4
Then run:
./bitokd -daemon
RPC:
./bitokd getinfo # node status
./bitokd getbalance # wallet balance
./bitokd getnewaddress # new receiving address
./bitokd sendtoaddress <addr> <amount>
./bitokd help # list all commands
See RPC_API.md for the full API.
GUI:
./bitok
Point and click. Mining checkbox in options.
./bitokd -gen # all cores
./bitokd -gen -genproclimit=4 # 4 cores
The algorithm uses ~128KB of memory per hash. This is intentional. It's what makes GPUs inefficient.
Your CPU will automatically use SSE2/AVX/AVX2 if available. No configuration needed.
See BITOKPOW.md for technical details on Yespower.
| OS | Path |
|---|---|
| Linux | ~/.bitokd/ |
| macOS | ~/Library/Application Support/Bitok/ |
| Windows | %APPDATA%\Bitok\ |
Back up wallet.dat. If you lose it, coins are gone. There's no recovery. That's not a bug, that's how Bitcoin works.
Uses IRC bootstrap, same as original Bitcoin. Connects to irc.libera.chat and finds other nodes in #bitok.
If IRC is down, you can manually add peers:
./bitokd -addnode=<ip>
This is software. It runs. Run it or don't.
This is 2010 code adapted for 2024. The cryptography is fine (ECDSA, SHA-256 for non-mining hashes). The networking and RPC are... from 2010.
Don't put your life savings in this. Don't run it on a machine you care about without understanding what you're doing. Don't blame me if something goes wrong.
All the security fixes from Satoshi's final release are included:
MIT, same as original Bitcoin. See license.txt.
Tom Elvis Jedusor
(It's an anagram. Don't worry about it.)
Writing a description for this thing is bloody hard. There's nothing to quite relate it to.
- Satoshi Nakamoto, January 2009
Still true.