Local-only interactive prototype

Payment Intent Playground

Create a reviewable USDC payment intent from agent-provided context, inspect the JSON, and move it through explicit human approval states. This demo runs only in the browser. It does not connect to a wallet, broadcast transactions, talk to any backend, or request private keys.

No wallet connection No backend calls Human keeps approval control Reviewable JSON first
Intent form

Agent request

Review before wallet action

Intent JSON

Status: draft


      
Read-only RPC probe

Arc Testnet status

This panel keeps the playground grounded in the expected Arc Testnet configuration while staying browser-local. It does not connect to a wallet, call a backend, or broadcast transactions.

Expected chain ID 5042002 (0x4cef52)
RPC URL https://rpc.testnet.arc.network
Network mode Read-only / no broadcast

    
Amount units before signing

USDC unit preview

Arc uses USDC as native gas, but ERC-20 USDC transfers still use 6-decimal token units. This local preview keeps those unit systems visible before any future wallet PR.

ERC-20 base units 0
ERC-20 decimals 6
Native gas decimals 18
Wallet guardrails

Wallet action unavailable

Signing stays disabled until a separate testnet-only wallet PR proves every guard. The current playground only explains why a real wallet action is blocked.

Provider Not detected
Connected address Not requested
Chain gate Blocked
Local readiness checks

Validation summary

These checks summarize whether the local intent is ready for human review. They are advisory browser-only checks and never connect to a wallet or network.

Review-safe state machine

Status states

The playground uses explicit local-only states so reviewers can tell what is real today and what still needs a separate Arc Testnet wallet PR.

  1. draft — intent exists but is not approved.
  2. ready_for_review — fields are valid enough for human review.
  3. approved_local — human approved the local exercise only.
  4. final_review_confirmed — final local confirmation recorded without a wallet request.
  5. blocked_wallet_unavailable — signing remains disabled by guardrails.
Manual copy for wallet PR review

Signing preflight report

This generated report summarizes the local intent, guard failures, and readiness checks that a future testnet-only wallet PR must satisfy before any signing path is enabled.

Copies the local JSON report to your clipboard only. No wallet, network, or backend call is made.


    
Unsigned transaction draft

ERC-20 transfer payload preview

This local preview shows the deterministic Arc Testnet USDC transaction fields a future wallet PR would ask the user to review. It is unsigned JSON only: no wallet request, gas estimate, simulation, RPC write, signing, or broadcast.


    
Payload consistency check

Unsigned draft decodes back to intent

This local verifier decodes the ERC-20 calldata and compares token target, native value, chain ID, recipient, and base units against the current reviewed intent before any future wallet handoff.

Wallet handoff readiness

Send PR blocker manifest

This local manifest lists every guard a separate wallet/send PR must satisfy before it can enable any wallet request. It remains a no-transaction checklist: no provider call, chain switch, signing, gas estimate, simulation, or broadcast.


    
Final review gate

Final confirmation, still no transaction

This is the last human confirmation step a future testnet send PR should reuse before opening any wallet prompt. Today it only records local review intent and keeps transaction requests disabled.

Local status timeline

What happened

Trust boundaries

Still not a wallet app

  • The agent can prepare and explain an intent, not spend funds.
  • Every approval and final-confirmation state in this playground is local UI state.
  • Real Arc Testnet integration must re-check chain, wallet, and contract details through current Arc docs/MCP.
  • Use the builder readiness checklist before adding any transaction path.