Bitcoin-Backed
Bitcoin-backed stablecoin using Chainlink CRE attestations and on-chain CDP minting.
What it is
btcUSD is a Bitcoin-collateralized stablecoin protocol. Users deposit BTC to a monitored Bitcoin Testnet4 vault address, and a Chainlink CRE workflow fetches confirmed UTXOs from mempool.space, reaches DON consensus, reads BTC/USD from Chainlink Data Feeds, and submits signed reports to CDPCore on Base Sepolia. CDPCore records collateral, enforces collateralization constraints, and allows btcUSD minting against attested BTC collateral. The protocol targets a core DeFi problem: most BTC-backed stablecoin systems rely on custodial or trusted relayer assumptions. This project demonstrates a CRE-based on-chain attestation path for BTC collateral state and transparent CDP accounting.
How it Works
- Smart contracts: Solidity + Foundry
- contracts/src/CDPCore.sol (attestation receiver + CDP logic)
- contracts/src/btcUSD.sol (mint/burn token, CCIP-ready interfaces)
- Workflow: TypeScript + Chainlink CRE SDK
- btcusd-workflow/main.ts
- HTTP capability for Bitcoin UTXO data (mempool.space)
- EVM capability for reads/writes and report submission
- Oracle data:
- Chainlink BTC/USD Data Feed on Base Sepolia
- Config and simulation:
- project.yaml and btcusd-workflow/config.json
- CRE CLI simulation path validated
Links
Created by
- Franklin