Published Jun 14, 2026

A Curated Resource for the BTG Community
When it comes to crypto networks, good documentation isn't just a convenience—it's a necessity. For those building on or running infrastructure for Bitcoin Gold (BTG), the community-driven Bitcoin Gold Community Library (library.bitcoingold.services) has become an invaluable reference.
What Is Bitcoin Gold (BTG)?
Bitcoin Gold is a fork of Bitcoin that occurred on October 24, 2017, at block height 419,406. Its primary purpose is to democratize mining by changing Bitcoin's proof-of-work algorithm from SHA256 to Equihash, rendering specialized ASIC mining hardware obsolete and enabling mining on commonly available graphics cards (GPUs). This design choice aims to decentralize the mining process and make it more accessible to everyday users.Introducing the BTG Community Library
The BTG Community Library is a curated, opinionated set of guides and documentation specifically designed for the Bitcoin Gold community. It's not just a wiki fork—it's built from production configurations running at bitcoingold.services and canonical sources in the official BTCGPU GitHub repositories and wiki.The library is organized into distinct "tracks," each tailored to a specific role. This modular structure makes it easy for users to find exactly what they need, regardless of their experience level.
The Five Tracks of the Library
1. Transparency – This track focuses on the BTG Endowment, providing details about the 100,000 BTG premine, the wallet addresses, and instructions for on-chain verification. The endowment was mined in the first 8,000 blocks after the fork, and all 152 endowment addresses are 4-of-6 multisig wallets, meaning no single person can access the funds.2. Operators – For those looking to run infrastructure, this track offers step-by-step courses on setting up a full node (bgoldd), a DNS seeder, an Electrum server, a Blockbook indexer, and a mining pool using Miningcore. The full-node guide alone is a comprehensive walkthrough from a fresh Ubuntu install to a hardened, systemd-managed node.
3. Developers – This track is a goldmine for builders. It covers creating wallets, implementing atomic swaps, integrating with RPC, and building from source. A helpful table shows how to configure popular UTXO libraries (bitcoinjs-lib for JavaScript, rust-bitcoin for Rust, pycoin for Python, and bitcoin-s for Scala) for BTG's specific network parameters. The guide also confirms that BTG supports cross-chain atomic swaps with BTC and other UTXO coins via hashed timelock contracts (HTLC).
4. Users – This track walks through wallet setup for Bitcoin Gold Core (the full node), ElectrumG (the lightweight SPV wallet), and major hardware wallets like Trezor and Ledger. Crucially, it emphasizes verifying SHA-256 checksums for every download—a lesson learned from the 2018 supply-chain attack.
5. Security – This track provides server-hardening guides covering ufw, fail2ban, SSH keys, and systemd sandboxing. The goal is to lock down any host running BTG infrastructure, with clear firewall port tables and step-by-step OS hardening instructions.
A Focus on Security Transparency
One of the library's standout features is its candid documentation of past security incidents in the "Notable security incidents" reference page. These include:2024: The bitcoingold.org domain hijack—users are directed to use btgofficial.org instead.
2020: A 1,300+ block reorg attack that was neutralized by nodes running v0.17.2 or newer, with v0.17.3 adding rolling-checkpoint finalization to prevent deep reorgs at the protocol level.
2018: A Windows installer hijack where malicious installers weakened private-key generation, reducing the search space from 2^256 to a brute-forceable 2^40 keys. Over 70% of affected coins were eventually recovered.
The library also maintains a detailed Network specification reference, documenting magic bytes, default ports (mainnet P2P is 8338, not Bitcoin's 8333), DNS seeds (including which ones have been compromised), and protocol version details.
The Verdict
For anyone serious about running BTG infrastructure, building applications on the network, or simply securing their own funds, this library is an essential bookmark. It's thorough, practical, and refreshingly transparent about the project's challenges.The library doesn't aim to be a beginner's intro to Bitcoin—it assumes familiarity with the Linux command line and basic crypto concepts. But for its target audience, it delivers exactly what's needed: battle-tested guides, verifiable configuration, and a clear-eyed record of security lessons learned.
📌 Bookmark it: library.bitcoingold.services