Skip to content

docs: AGENTS.md v3.5 — measured gas rule, who signs, a CLI install that works - #20

Merged
anil-rome merged 1 commit into
mainfrom
docs-agents-v3-5
Oct 15, 2026
Merged

anil-rome merged 1 commit into
mainfrom
docs-agents-v3-5

Conversation

@anil-rome

Copy link
Copy Markdown
Contributor

Updates the shared AGENTS.md to v3.5, the same file in every public Rome repo.

  • Gas (rule 2): replaces the old "about 1.48M gas for a native transfer" with numbers measured on Hadrian: creating Solana accounts is what makes a write expensive (1,086,961 gas for a native transfer to a never-used address, 10,001 to an existing one); use eth_estimateGas, never a hardcoded 21,000; what submitRomeTx adds.
  • Who signs: a contract between the user and Solana signs as its own PDA and moves a user's tokens only through an SPL delegation; an EVM user's own PDA signs only when the user calls a precompile directly. Two sentences that said otherwise are corrected.
  • CLI install: a plain npm i -g github:… fails; the one-shot npx github:rome-protocol/rome-cli#v0.11.0 and the clone-and-install forms work (an unpinned npx can run an old cached copy).

@anil-rome
anil-rome merged commit f406596 into main Oct 15, 2026
8 checks passed
@anil-rome
anil-rome deleted the docs-agents-v3-5 branch October 15, 2026 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant