Skip to main content

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-SYNTH is 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, or upgrade() functions.
  • No delegateCall, proxy, or multisig.
  • No ownership or admin role.

πŸ”§ Technologies Used​

ComponentPurposeStack
SupabaseForm + address linkagePostgreSQL
Chainlink OracleVerifies balance off-chainNode + Oracle
ethers.jsContract interactionsHardhat
Merkle ProofBTC→ETH mappings on-chainSolidity

πŸ”Ž Verifiability​

  • Open source & verified on Etherscan.
  • Merkle root is public.
  • reportVerifiedBalance() callable only by trusted Oracle.

πŸ› οΈ Next:​

rBTC-SYNTH = Verifiable. Immutable. Non-custodial.