docs: add ERC-8183 job lifecycle example for Arc Testnet - #123
docs: add ERC-8183 job lifecycle example for Arc Testnet#123consumeobeydie wants to merge 4 commits into
Conversation
Real-world ERC-8183 implementation report — Arc Stablecoin DAppWe built a full ERC-8183 Agentic Commerce implementation on Arc Testnet as part of the Arc Stablecoin DApp (live demo). Sharing our findings to complement this PR. Deployed contract
Gas limits — Arc requires higher than standard EVMThe most important gotcha. Arc's opcode costs are higher than standard EVM. Default
We hardcode these limits rather than relying on Custom error selectors to decode in the frontend
Decode pattern: take bytes [2..10] from the raw revert hex string (first 4 bytes after Double Transfer event on Arc — don't double-countWhen
Both represent the same single transfer. Filter by the ERC-20 address ( On-chain proof — complete lifecycleSuccessful
UI role-enforcement patternsPre-emptive UI guards prevent most reverts before they reach the chain:
|
Summary
This PR adds a practical ERC-8183 agentic commerce job lifecycle example to the Arc Testnet documentation.
What's included
Live Example
Tested and verified on Arc Testnet:
Related PRs
This PR completes the agentic stack trilogy:
Full repository: https://github.com/consumeobeydie/arc-agent-api