Wallet architecture
wagmiConfig exposes only Base Mainnet and the injected connector. RainbowKit renders the connection UI. The active address, chain, and wallet client flow through a browser-wallet provider; there is no active Privy wallet runtime.
Writes
- Read an onchain quote and balances.
- Derive a minimum output from configured slippage.
- Bind the quote to wallet, token, side, network, state, and deadline.
- Simulate the exact request.
- Append the ERC-8021 Builder Code suffix.
- Ask the connected wallet to send.
- Wait for and validate the receipt.
- Refresh onchain and indexed queries.
8453), active wallet, reviewed amounts, hash, and current phase. BaseScan links use the confirmed or submitted transaction hash.