**feat: user-extensible chain management + 5 new built-in chains**#5
Open
AmpedFinance wants to merge 16 commits into
Open
**feat: user-extensible chain management + 5 new built-in chains**#5AmpedFinance wants to merge 16 commits into
AmpedFinance wants to merge 16 commits into
Conversation
Add LightLink L2 network configuration: - Chain ID: 1890 - Native token: ETH - Explorer: phoenix.lightlink.io - Primary RPC: replicator.phoenix.lightlink.io/rpc/v1 - Fallback RPCs: thirdweb, omniatech public endpoints Update README with LightLink in supported chains table.
Update help text and documentation to include LightLink and MegaETH: - transfer.js: add megaeth, lightlink to chain list in help - contract.js: add megaeth, lightlink to chain list in help - SKILL-clawdhub.md: update description and supported chains table
Add legacy gas pricing support for chains like LightLink, with --gas-price flag for custom overrides including 0 for gasless transactions. Auto-detects chain type and applies correct pricing model (EIP-1559 vs legacy).
Adds support for all SODAX-compatible EVM chains: - Sonic (chainId 146) - SODAX hub chain - Avalanche C-Chain (chainId 43114) - BNB Smart Chain (chainId 56) - HyperEVM (chainId 998) Total supported chains: 11 (was 7)
feat: add SODAX EVM chains (Sonic, Avalanche, BSC, HyperEVM)
- Add 5 new built-in chains: Sonic, LightLink, HyperEVM, Avalanche, BSC - Add add-chain.js: add custom chains via CLI - Add list-chains.js: list all available chains - Add remove-chain.js: remove user-defined chains - Update chains.js to load user chains from ~/.evm-wallet-chains.json - Support legacyGas flag for non EIP-1559 chains (e.g., LightLink) - Update README and SKILL-clawdhub.md with new commands Users can now add any EVM chain: node src/add-chain.js berachain 80094 https://rpc.berachain.com --native-token BERA AI agents can use this when users ask to add new blockchains.
- Change repo URLs to surfer77/evm-wallet-skill - Remove Amped Finance attribution (for upstream compatibility)
- Replace unreliable polygon.llamarpc.com - Use polygon-bor-rpc.publicnode.com, polygon.drpc.org, 1rpc.io/matic
This was referenced Feb 3, 2026
docs: add critical security warning about private key exposure
feat: add custom RPC configuration support
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds the ability for AI agents to add custom EVM chains through natural language, and includes 5 new built-in chains commonly used in DeFi.
What's New
🆕 New Commands (Agent-Friendly)
node src/add-chain.js <name> <chainId> <rpc>node src/list-chains.jsnode src/remove-chain.js <name>All commands support
--jsonfor machine-readable output, making them ideal for AI agent integration.🔗 5 New Built-in Chains
🛠️ User-Extensible Chains
Users can add any EVM chain without waiting for a new release:
Custom chains are stored in
~/.evm-wallet-chains.jsonand persist across sessions.🤖 AI Agent Integration
When a user tells their agent:
The agent can run:
This enables natural language chain management — users don't need to manually edit config files.
Technical Details
chains.jsnow loads user-defined chains from~/.evm-wallet-chains.jsonand merges them with built-in chainsisLegacyGasChain()helper for chains that don't support EIP-1559 (e.g., LightLink)legacyGas: trueflag in chain config triggers legacy gas pricingFiles Changed
Backward Compatibility
✅ Fully backward compatible — existing functionality unchanged
✅ All original chains preserved
✅ No breaking changes to existing commands
Testing
Related
This enhancement was developed to support Amped Finance's OpenClaw plugin, which uses evm-wallet-skill for DeFi operations across multiple chains.
Checklist
--jsonoutput~/.evm-wallet-chains.json