Skip to content

Taproot

This directory contains documentation for Taproot (BIP341/BIP86) implementation.

Contents

DocumentDescriptionAudience
user-guide.mdHow to use Taproot addresses in the wallet systemAll
testing.mdTaproot test procedures and verificationDevelopers

What is Taproot?

Taproot is Bitcoin's major upgrade (activated November 2021) introducing:

  • P2TR Addresses: bc1p... (mainnet), tb1p... (testnet)
  • Schnorr Signatures: BIP340 - more efficient than ECDSA
  • BIP86 Derivation: m/86'/0'/account'/0/index

Benefits

FeatureBenefit
Lower Fees30-50% smaller transaction sizes
Enhanced PrivacyAll spends look identical on-chain
Signature AggregationEnables MuSig2 for efficient multisig
Faster ValidationSchnorr signatures verify faster

When to Use Taproot

✅ New wallets and addresses ✅ When transaction fee savings matter ✅ When privacy is important ✅ For multisig setups (via MuSig2)

Quick Start

yaml
# config/wallet/btc/keygen.yaml
address_type: taproot  # Use Taproot (P2TR)

References