CBTC Testnet Guide
π₯ Audience: All developers. Start here to experiment with CBTC before going to production on mainnet.
β οΈ API Disclaimer: CBTC APIs are subject to change. Testnet behavior may differ from mainnet in some respects (see Parity section below).
Overview: CBTC Testnet for Developers
The CBTC testnet is a sandbox environment where developers can experiment with the full mint, burn, and transfer lifecycle using test BTC with no real funds at risk. We recommend all integrations start on testnet before deploying to mainnet.
How to Get Testnet CBTC: Three Options
Option 1: CBTC Testnet Faucet (Recommended)
The fastest way to get testnet tokens:
Simply enter your testnet wallet address and receive testnet CBTC and CC (for gas) instantly.
π‘ Quick and easy: No setup required. Just enter your address and go.
Option 2: Bron Wallet Testnet Environment
If the faucet is unavailable or you want a full testnet wallet environment:
Create a new workspace in Bron Wallet
Enable Developer settings β Testnet mode during workspace creation
Create a testnet account (toggle Testnet ON in account settings)
Select a Trusted third party (e.g., Qrypt) for key recovery
Use the faucet to fund your new testnet account
Option 3: Mint via Testnet Flow
You can also mint testnet CBTC through the same flow as mainnet, using testnet BTC. This is useful for testing the full minting integration:
Set up your participant pointing at the testnet Canton network
Install CBTC DAR files
Follow the standard minting flow (see Minting and Burning Guide)
Use testnet BTC from a Bitcoin testnet faucet
Testnet Environment Details
Instrument ID (admin)
cbtc-network::12201b17...508f
cbtc-network::12205af3...b262
BTC network
Bitcoin Testnet
Bitcoin Mainnet
Testnet Instrument ID (Full)
Testnet vs. Mainnet: What Is the Same and What Differs
π Understanding what is the same and what differs between testnet and mainnet is critical for a smooth production launch.
β
What Is Identical
DAR files: Same CBTC Daml packages
API surface: Same Canton Ledger API endpoints and Daml template interfaces
Mint and burn flows: Same step-by-step process
Governance model: Same Attestor threshold approval mechanism
Token standard: CIP-56 compliant on both networks
β οΈ What Differs
Attestor set: Testnet runs a smaller Attestor set than mainnet
Confirmation times: May be faster on testnet due to less Bitcoin network congestion
Instrument IDs: Different across networks β always fetch from the metadata URL, never hardcode
BTC: Testnet uses test BTC with no real value
Faucet availability: Testnet has a faucet; mainnet requires real BTC
π« What Is Mocked or Unavailable on Testnet
Real BTC settlement: No real Bitcoin is involved
Production Attestor SLAs: Testnet Attestors do not carry the same uptime guarantees
Mainnet fee structure: Fees on testnet may not reflect production costs
Important Operational Notes
β οΈ Testnet may be reset without notice. Do not rely on testnet state for production planning. Testnet CBTC balances and transaction history may not persist across resets.
Testnet is for development and testing only
Do not use testnet data for compliance, reporting, or production decisions
Testnet performance is not indicative of mainnet performance
Migrate from CBTC Testnet to Mainnet: Step-by-Step Checklist
When your testnet integration is working, the migration to mainnet involves:
Update your participant config to point at the mainnet Canton network
Update Instrument IDs to mainnet values (see API Reference)
Update Coordinator URL to
https://mainnet.dlc.link/attestor-1Use real BTC for minting β the flow is identical
Review authentication β ensure your production OIDC provider is configured
Test with a small amount first β mint a minimal amount of CBTC on mainnet before going live
Devnet
There is also a devnet environment for earlier-stage experimentation. Devnet is less stable than testnet and may be updated more frequently.
Coordinator URL: https://devnet.dlc.link/attestor-2
Troubleshooting
Faucet not working
Use Bron Wallet testnet setup (Option 2) or contact BitSafe dev team
Testnet CBTC balance disappeared
Testnet may have been reset β request new tokens from the faucet
Minting on testnet takes too long
Check Bitcoin testnet block times β they can be irregular
Cannot connect to testnet participant
Verify your participant config points to the correct testnet endpoints
Support: #cbtc-ecosystem (Slack) or [email protected]
π΄ βοΈ Engineering Review Required Testnet environment details (Attestor set size, reset policy, coordinator URLs) must be confirmed by Engineering (Jesse or Robert) before publication. Some details are drafted from internal docs and may not reflect the latest testnet configuration.
Last updated