Skip to content

Emergency portal

A static page with no backend that reads a payment from RefundProtocolV2 and lets the buyer or merchant act on it with their own wallet, even if Arbiro is offline.

The emergency portal is a single static page that talks only to the blockchain. It does not call Arbiro's servers, so buyers and merchants can always act on a payment, even if Arbiro were offline or gone. It is published as a static bundle that can be hosted anywhere, including IPFS.

What it does

  1. You pick the network and paste the payment id (it is in the receipt email and in the buyer portal).
  2. It reads the payment straight from the contract: status, amount, windows and addresses.
  3. You connect your wallet and it shows only the actions that wallet can take right now. Your wallet signs and sends the transaction; the contract checks every rule again.
Action Who When
Open a dispute Buyer Payment locked, protection window still open
Confirm delivery and pay the merchant Buyer Locked or in dispute
Release to the merchant Anyone Window ended without a dispute
Execute a signed verdict Anyone In dispute, with the verdict JSON from Arbiro
Refund the buyer (deadline passed) Anyone In dispute and the 30-day on-chain deadline passed
Refund the buyer in full Merchant owner Locked or in dispute
Claim a pending transfer The beneficiary A payout or refund could not be sent

Custom RPC

Public RPCs can be slow or down. Open the page with your own RPC endpoint:

https://<portal-host>/?chain=84532&rpc=https://your-rpc.example&contract=0xe7A274cC6c2565EA7A31902a94790bAC517ad863&payment=0x...

Verify what you run

The source is in packages/emergency-portal of the Arbiro repository. Build it yourself with pnpm install and pnpm build, then open dist/index.html from any static host. The page sets a strict Content Security Policy and sends no data anywhere except the RPC you choose.

Updated