rBTC-SYNTH Smart Contract Specification
ReserveBTC's smart contract enables on-chain issuance and automatic burn of non-transferable, BTC-backed synthetic tokens (rBTC-SYNTH).
π Core Principlesβ
- Minimalism: Strictly essential logic only.
- Autonomous: Fully automatic, no manual control.
- Immutable: No upgrades, no owner, no central keys.
- DAO-Ready: Future-proof for governance handover.
πͺ Minting Conditionsβ
- Minting occurs only after BTC reserve is cryptographically verified.
- User submits a form (BTC + ETH address) via ReserveBTC.
- System assigns a unique checksum amount to verify BTC ownership.
- Once received at a unique address, 1:1
rBTC-SYNTHis minted to the ETH address. - Example: 0.15 BTC β 0.15 rBTC-SYNTH.
π₯ Auto-Burn Logicβ
-
An off-chain oracle checks BTC balance every 20 seconds.
-
If BTC is moved or withdrawn:
- The corresponding rBTC-SYNTH is burned proportionally.
- 100% BTC withdrawn β 100% burn.
π Security Designβ
- Soulbound Token (non-transferable, non-approvable).
- No
mint,transfer,setX, orupgrade()functions. - No delegateCall, proxy, or multisig.
- No ownership or admin role.
π§ Technologies Usedβ
| Component | Purpose | Stack |
|---|---|---|
| Supabase | Form + address linkage | PostgreSQL |
| Chainlink Oracle | Verifies balance off-chain | Node + Oracle |
| ethers.js | Contract interactions | Hardhat |
| Merkle Proof | BTCβETH mappings on-chain | Solidity |
π Verifiabilityβ
- Open source & verified on Etherscan.
- Merkle root is public.
reportVerifiedBalance()callable only by trusted Oracle.
π οΈ Next:β
rBTC-SYNTH = Verifiable. Immutable. Non-custodial.