XGR ↔ wXGR Bridge (MVP)

Two-way bridge UI for the relayer flow. Wallet: MetaMask.

Not connected
Sepolia
XGRChain

Wrap: XGR → wXGR (mint on Sepolia)

Locks native XGR in XgrVault on XGRChain and mints wXGR on Sepolia via relayer.
After sending, this UI computes depositId = keccak256(txHash, logIndex) and polls processedDeposit(depositId) on the gateway.

Redeem: wXGR → XGR (unlock on XGRChain)

Burns wXGR via Gateway.redeem on Sepolia and unlocks native XGR on XGRChain via relayer.
After sending, this UI computes redeemId = keccak256(txHash, logIndex) and polls processedRedeem(redeemId) on the vault.

RPC / Addresses

Loaded from ui/config.json. You can override RPC URLs locally (stored in your browser).

Log