Sandbox UI for exercising common JSON-RPC methods against Flow EVM wallets. The app is built with Next.js, wagmi, and RainbowKit.
- Wallet connect/disconnect via RainbowKit.
- Quick actions for frequently used RPC methods such as
eth_chainId,eth_sendTransaction, and the EIP-712 signature family. - JSON editors that let you paste custom payloads and instantly re-run a method.
- Input normalisation for the EIP-712 signature methods so MetaMask accepts both default and custom payloads.
- Token presets for
wallet_watchAssetcovering popular Flow EVM ERC-20 contracts (USDF, WFLOW, BETA, Catseye, Bartholomeow, Pawderick) including logo URLs.
bun install
bun devOpen http://localhost:3000 and connect a Flow EVM compatible wallet (MetaMask, Flow Wallet with EVM support, etc).
eth_requestAccountseth_accountseth_coinbaseeth_chainIdnet_versionwallet_switchEthereumChainwallet_addEthereumChaineth_sendTransactioneth_estimateGaseth_getTransactionByHasheth_signpersonal_signpersonal_ecRecovereth_signTypedDataeth_signTypedData_v3eth_signTypedData_v4eth_calleth_getCodewallet_watchAsseteth_getBalance
Each method includes default params, quick-fill helpers, and relevant MetaMask documentation links within the UI.
wagmi: account state, signing helpers, balance queries, typed-data verification stubs.viem: utilities such asparseEtherfor transaction prep.RainbowKit: wallet onboarding and network switching UI.- Native
window.ethereum.request: raw JSON-RPC execution routed through the connected wallet.
The playground shows how to mix high-level wagmi hooks with low-level RPC calls—useful when you need to debug wallet behaviour or compare SDK abstractions with the underlying requests.
Feel free to tweak methods or add more presets. Most of the logic lives in pages/methods/[methodId].tsx.