evm_generate_address
Derive EVM addresses from a BIP39 mnemonic using customizable BIP44 path, account, and index parameters to create deterministic wallet addresses for any supported EVM chain.
Instructions
Generate specific address from mnemonic using custom BIP44 derivation parameters.
Derives addresses from a mnemonic seed phrase using customizable BIP44 path components. Perfect for generating multiple addresses from a single seed or matching hardware wallet addresses.
CRITICAL RULES:
Generates deterministic addresses (same inputs = same output)
Default path m/44'/60'/0'/0/0 generates first address
Index parameter most commonly changed (generates address sequence)
Account parameter for separate "accounts" from same seed
All generated addresses work on all EVM chains
PARAMETERS:
chain: EVM chain context (required)
Doesn't affect generation (addresses work everywhere)
Used for optional balance checking
mnemonic: BIP39 seed phrase (required)
12 or 24 words separated by spaces
Must be valid BIP39 phrase
Example: "test test test test test test test test test test test junk"
index: Address index (optional, default: 0)
Most commonly modified parameter
Generates sequence: index 0, 1, 2, 3...
MetaMask/wallets use sequential indices
Example: index=5 gives 6th address
account: Account number (optional, default: 0)
For separate "accounts" from same seed
Less commonly changed than index
Path: m/44'/60'/account'/0/index
change: Change index (optional, default: 0)
0 = external addresses (receiving)
1 = internal addresses (change)
Rarely changed in practice
EXAMPLES: ✅ Generate first address: {chain: "polygon", mnemonic: "test test..."}
✅ Generate 6th address: {chain: "ethereum", mnemonic: "word1 word2...", index: 5}
✅ Generate from second account: {chain: "bsc", mnemonic: "seed words...", account: 1, index: 0}
❌ Invalid - wrong mnemonic format: {chain: "polygon", mnemonic: "not-valid-words"}
❌ Invalid - negative index: {chain: "ethereum", mnemonic: "...", index: -1}
SUPPORTED EVM CHAINS (7 networks): • ethereum (Sepolia) - EIP-1559 enabled, ~12s blocks, moderate gas costs • polygon (Amoy) - Low fees, fast finality (~2s), layer 2 • avalanche (Fuji C-Chain) - Sub-second finality, dynamic fees • bsc (BNB Testnet) - 3s blocks, low gas costs, Binance ecosystem • arbitrum (Sepolia) - Optimistic rollup, low fees, Ethereum security • base (Sepolia) - Coinbase layer 2, EIP-1559, low fees • worldchain (World Sepolia) - World Network testnet, EIP-1559
CRITICAL GAS CONSIDERATIONS:
Ethereum: High gas costs, use gas oracle for timing
Polygon/BSC: Very low gas, safe for frequent transactions
Arbitrum/Base: L2 optimizations, ~10-50x cheaper than Ethereum
Avalanche: Dynamic fees, can spike during congestion
Always check gas price before executing transactions
TESTNET TOKENS: All chains use testnet tokens with NO REAL VALUE. Faucets available for all supported networks.
OUTPUT STRUCTURE: • success: Boolean indicating operation success • address: Generated address (0x...) • derivationPath: Full BIP44 path used • index: Address index used • account: Account number used • mnemonic: Original mnemonic (NOT recommended to return in production) • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Confusing index with account (index changes more frequently)
Not matching hardware wallet derivation paths
Generating too many addresses without tracking usage
Not documenting which indices are in use
USE CASES:
Generate address sequences for user wallets
Match hardware wallet addresses (Ledger/Trezor)
Create multiple addresses from single backup
Implement HD wallet derivation
Generate fresh addresses for privacy
ADDRESS GENERATION PATTERNS:
Sequential: index 0, 1, 2, 3... (most common)
Multiple Accounts: account 0, 1, 2 with index 0 each
Hardware Wallet Match: Use same account/index as device
Change Addresses: Use change=1 for internal transfers
Running on Linux.
LINUX-SPECIFIC NOTES:
Package manager: apt (Ubuntu/Debian), yum (RHEL/CentOS), or pacman (Arch)
Python 3 is typically 'python3' command
GNU tools are standard
Use 'xdg-open' command to open files/applications
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chain": "<chain>",
"mnemonic": "<mnemonic>"
},
"name": "evm_generate_address"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | EVM chain context | |
| index | No | Address index (default: 0) | |
| change | No | Change index (0 for external, 1 for internal, default: 0) | |
| account | No | Account number (default: 0) | |
| mnemonic | Yes | Mnemonic phrase (12 or 24 words) |