Skip to content

feat(skills): add Ethereum, Arbitrum, and Optimism blockchain skills#2923

Open
dieutx wants to merge 1 commit intoNousResearch:mainfrom
dieutx:feat/blockchain-ethereum-skill
Open

feat(skills): add Ethereum, Arbitrum, and Optimism blockchain skills#2923
dieutx wants to merge 1 commit intoNousResearch:mainfrom
dieutx:feat/blockchain-ethereum-skill

Conversation

@dieutx
Copy link
Contributor

@dieutx dieutx commented Mar 25, 2026

Summary

Extends the blockchain skill family (alongside existing Base and Solana) with three new EVM chains. Each follows the same pattern: SKILL.md + scripts/{chain}_client.py, stdlib-only, CoinGecko pricing, no API key required.

Chains added

Chain ID Tokens RPC CoinGecko Platform
Ethereum 1 USDC, USDT, DAI, WBTC, wstETH, UNI, LINK, AAVE... publicnode.com ethereum
Arbitrum One 42161 USDC, USDT, DAI, WBTC, ARB, GMX, wstETH... arb1.arbitrum.io arbitrum-one
Optimism 10 USDC, USDT, DAI, OP, SNX, VELO, wstETH... mainnet.optimism.io optimistic-ethereum

8 commands per chain

wallet, tx, token, gas, contract, whales, stats, price

Chain-specific gas handling

  • Ethereum: EIP-1559 base fee + priority fee (no L2 fees)
  • Arbitrum: Nitro model — L1 costs reflected in effective gas price
  • Optimism: OP Stack — L2 execution + L1 data posting fee (same as Base)

Tested against mainnet

$ ethereum_client.py stats → Chain: Ethereum, ID: 1, ETH: $2168
$ arbitrum_client.py stats → Chain: Arbitrum One, ID: 42161, ETH: $2165
$ optimism_client.py stats → Chain: Optimism, ID: 10, ETH: $2165
$ ethereum_client.py wallet 0xd8dA6BF... → portfolio: $145K
$ arbitrum_client.py price ARB → $0.098
$ optimism_client.py price OP → $0.113

15 well-known tokens per chain, 6 files, ~3600 lines.

@dieutx dieutx force-pushed the feat/blockchain-ethereum-skill branch 3 times, most recently from 2a4c7c8 to d8f093d Compare March 25, 2026 10:59
… DEX quotes

Extends the blockchain skill family with three new EVM chains, each with
9 commands including a new DEX swap quote feature via Odos aggregator.

Chain skills (read-only, stdlib-only, no API key):
- Ethereum mainnet (chain ID 1) — 15 tokens, EIP-1559 gas
- Arbitrum One (chain ID 42161) — 15 tokens, Nitro gas model
- Optimism (chain ID 10) — 15 tokens, OP Stack L2 fees

9 commands per chain:
- wallet, tx, token, gas, contract, whales, stats, price
- NEW: dex — read-only DEX swap quotes via Odos aggregator
  (price impact, gas estimate, best route across DEXs)

All tested against mainnet with live RPC and API calls.
@dieutx dieutx force-pushed the feat/blockchain-ethereum-skill branch from d8f093d to c74ce37 Compare March 25, 2026 11:12
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