Skip to content

Add NATIVE_TOKEN cross-chain gotcha#2

Open
mejango wants to merge 3 commits intomainfrom
docs/native-token-gotcha
Open

Add NATIVE_TOKEN cross-chain gotcha#2
mejango wants to merge 3 commits intomainfrom
docs/native-token-gotcha

Conversation

@mejango
Copy link
Contributor

@mejango mejango commented Mar 9, 2026

Summary

  • Adds gotcha #21: NATIVE_TOKEN (0x...EEEe) represents msg.value which is a different token on each chain (ETH on Ethereum/Base/OP/Arb, CELO on Celo, etc.)
  • Documents how JBMatchingPriceFeed (1:1) bridges baseCurrency=ETH to NATIVE_TOKEN currency on ETH-native chains
  • Notes that non-ETH-native chains need a different price feed

🤖 Generated with Claude Code

mejango and others added 3 commits March 9, 2026 01:43
CLI for people and AI agents — 31 Forge scripts, shell CLI,
MCP server, and Claude Code skill.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
NATIVE_TOKEN (0x...EEEe) represents the msg.value token which differs
per chain (ETH, CELO, etc). JBMatchingPriceFeed provides 1:1 resolution
for ETH:NATIVE_TOKEN on ETH-native chains.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Bots may misinterpret `0x...EEEe` as the full address being all E's.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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