L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Productivité · SKILL.md

bitcoin-libraries-btcd

bitcoin-libraries-btcd

btcd: full-node Bitcoin implementation in Go by btcsuite. Server, RPC, wallet (btcwallet), Lightning (LND-derived). USE WHEN: building Go-native Bitcoin services, alternative to bitcoind, integrating with btcsuite ecosystem.

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: bitcoin-libraries-btcd description: | btcd: full-node Bitcoin implementation in Go by btcsuite. Server, RPC, wallet (btcwallet), Lightning (LND-derived). USE WHEN: building Go-native Bitcoin services, alternative to bitcoind, integrating with btcsuite ecosystem. allowed-tools: Read, Grep, Glob

btcd

Full-node Bitcoin implementation in Go. Maintained by btcsuite team.

Repo: github.com/btcsuite/btcd.

Components

  • btcd — full node.
  • btcwallet — wallet daemon.
  • btcctl — CLI client.
  • btcec — secp256k1 binding.
  • btcutil — utilities.
  • txscript — Script engine.

Install

go install github.com/btcsuite/btcd@latest
go install github.com/btcsuite/btcd/cmd/btcctl@latest

Run

btcd --datadir=/var/lib/btcd
btcctl --rpcuser=... --rpcpass=... getblockchaininfo

Compared to bitcoind

Aspectbitcoindbtcd
LanguageC++Go
ConsensusReferenceCompatible
Mempool policyReferenceDiffers slightly
Adoption~95%<5%
LNVia separate implLND derived from btcd codebase
PerformanceBestAcceptable

Use cases

  • Go-native Bitcoin services.
  • LND historically uses btcd as backend (also supports bitcoind).
  • Educational — Go is more readable than C++.

Common pitfalls

  • Soft fork support sometimes lags Bitcoin Core.
  • Mempool standardness differences cause some txs to relay differently.
  • For production exchanges / services, bitcoind preferred.

See also

Skills enregistrées