///Cross-Chain Bridge
Move tokens between chains, safely
A working lock-and-mint bridge between two chains, with every step visible: from the lock on one chain to the mint on the other.
///How it works
Lock, confirm, relay, mint
Lock
You lock SBT in the bridge contract on Sepolia. It emits a Locked event with a unique message ID.
Confirm
The relayer waits for confirmations on the source chain before acting.
Relay
The relayer checks the message was never processed, then submits the mint on Amoy.
Mint
Amoy mints the same amount of wSBT to you. The reverse burns wSBT and unlocks SBT.
///Security
Built for the hard questions
Replay protection
Every message ID can be completed once. A second mint for the same transfer is rejected by the contract.
Limits on both sides
Per-transfer and daily limits apply when tokens leave a chain and again when they arrive, capping what a compromised relayer could mint.
Emergency pause
The operator can pause both chains in one click. Transfers in flight wait; none are dropped.
2-of-2 multisig
Unpausing, limit changes and role changes need both Safe owners: one approves, the other executes.
Separated keys
The relayer can only mint and unlock, the operator can only pause, and the deployer keeps no rights.
Checked books
The dashboard reads the contracts to prove locked SBT equals wSBT supply plus transfers in flight.
An honest note on the relayer
This demo uses one centralized relayer, which the contracts trust within their limits. A production bridge replaces it with a validator set or oracle network whose threshold signatures the contracts verify on-chain, with hardware-held keys and a timelock on admin changes.
///Try the demo
Two roles, one click
Runs on the Ethereum Sepolia and Polygon Amoy test networks with test tokens. No real funds.
Bridge User
Connect the pre-funded demo wallet (address and recovery phrase on screen) and bridge SBT to Amoy and back.
Admin / Relayer Operator
Watch volume, pending transfers and relayer health, pause the bridge, and run the multisig.
Prefer your own wallet (MetaMask, WalletConnect) or the email form? Use the sign-in page. One role at a time: switching signs you out of the other.