docs: add EOA-only limitation note to transaction-memo-integration example#206
Conversation
…ration-example docs: add Arc Transaction Memo integration example with Multi-Agent O…
…t Economy contracts
…ample The Memo contract's callFrom precompile requires msg.sender == tx.origin, which means contract-based accounts (Developer Controlled Wallets, ERC-4337 SCAs) silently revert. Confirmed on Arc Testnet (Chain ID: 5042002). Adds: - Known Limitations section explaining the EOA-only constraint - Code examples showing what works (EOA via viem) vs what fails (SCA) - References to IMemo.sol and ICallFrom.sol NatSpec
|
Thanks for documenting the EOA-only constraint — this is a real footgun for builders on Arc and worth having in the official docs. I've been building the Arc Stablecoin DApp on Arc Testnet and can confirm the
|
Summary
Adds a "Known Limitations" section to the transaction memo integration example documenting the EOA-only constraint of the Memo contract.
What this adds
The
callFromprecompile requiresmsg.sender == tx.origin, which means any contract-based account (Circle Developer Controlled Wallets, ERC-4337 SCAs, Modular Wallets) will silently revert when callingmemo().This was confirmed on Arc Testnet (Chain ID: 5042002) — gas estimation also fails for the same reason when using
callFromsimulation with contract-based senders.Changes
Related
This was flagged in the Arc Discord by @timothy Baker after I reported the revert behavior while building on Arc Testnet.