bitcoin-libraries-btcd

v2026.09.24

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.

GitHub
安装命令
npx skhub add claude-dev-suite/bitcoin-libraries-btcd
Markdown
SKILL.md

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

发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

2026年9月24日

分类

未分类

许可证

MIT

源路径

skills/bitcoin/libraries/btcd

默认分支

main

最新提交

9496306

Tree SHA

fe4e2f1