Expand description
Bitcoin Adapter for CSV (Client-Side Validation)
This adapter implements the AnchorLayer trait for Bitcoin, using UTXOs as single-use seals and Tapret/Opret for commitment publication.
Re-exports§
pub use adapter::BitcoinAnchorLayer;pub use bip341::derive_output_key;pub use bip341::generate_test_keypair;pub use bip341::Bip341Error;pub use bip341::TaprootOutput;pub use config::BitcoinConfig;pub use config::Network;pub use rpc::BitcoinRpc;pub use spv::SpvVerifier;pub use tapret::mine_tapret_nonce;pub use tapret::OpretCommitment;pub use tapret::TapretCommitment;pub use tapret::TapretError;pub use tapret::TAPRET_SCRIPT_SIZE;pub use tx_builder::CommitmentData;pub use tx_builder::CommitmentTxBuilder;pub use tx_builder::TxBuilderError;pub use types::BitcoinAnchorRef;pub use types::BitcoinFinalityProof;pub use types::BitcoinInclusionProof;pub use types::BitcoinSealRef;pub use wallet::Bip86Path;pub use wallet::DerivedTaprootKey;pub use wallet::SealWallet;pub use wallet::WalletError;pub use wallet::WalletUtxo;pub use real_rpc::real_rpc::RealBitcoinRpc;pub use real_rpc::real_rpc::TxInfo;pub use mempool_rpc::MempoolSignetRpc;
Modules§
- adapter
- Bitcoin AnchorLayer implementation with HD wallet support
- bip341
- BIP-341 Taproot key derivation and output key tweaking
- config
- Bitcoin adapter configuration
- error
- Bitcoin adapter error types
- mempool_
rpc - Real Bitcoin Signet RPC via mempool.space public REST API
- proofs
- Bitcoin SPV inclusion proofs
- proofs_
new - Bitcoin SPV inclusion proofs using rust-bitcoin official implementations
- real_
rpc - Real Bitcoin RPC client implementation
- rpc
- Bitcoin RPC trait and mock implementation
- seal
- Bitcoin seal management
- signatures
- Bitcoin signature verification (ECDSA/secp256k1)
- spv
- SPV (Simplified Payment Verification) for Bitcoin
- tapret
- Bitcoin Tapret/Opret commitment scripts
- testnet_
deploy - Testnet deployment helpers for the Bitcoin adapter
- tx_
builder - Commitment transaction builder
- types
- Bitcoin-specific type definitions
- wallet
- Seal wallet for Bitcoin UTXO management with BIP-32/86 HD key derivation