Sub topic 4
One address, many EVM networks
This chapter assumes you know how a private key produces a public key and an address. It also assumes you know that each blockchain network keeps its own ledger. You should be able to read hexadecimal strings and run a short script or curl command.
The same string, valid in many places
Copy an address from MetaMask, paste it into a block explorer for Ethereum, then paste it into the explorer for Polygon or Base. Each explorer accepts it and shows a page, usually with a different balance on each. The address is a valid identifier on all of these networks at once. What differs is the ledger behind each page.
This is the most common source of wrong-network losses on EVM chains. A format check cannot save you, because the address passes on every EVM network. Only the network you pick when you send decides where the funds land.
What "EVM" means here
The Ethereum Virtual Machine (EVM) is the execution environment that Ethereum uses to run smart contracts. Many other networks copy its rules and tooling, so they are called EVM-compatible. Examples are BNB Smart Chain, Polygon, Arbitrum, Optimism and Base.
These networks share the following:
- The same address format:
0xfollowed by 40 hexadecimal characters, which is 20 bytes. - The same key type: secp256k1, the elliptic curve Ethereum uses for its keys.
- The same address derivation: the address is the last 20 bytes of the Keccak-256 hash of the public key.
- The same transaction structure and JSON-RPC interface.
They do not share a ledger. Each network has its own validators, its own blocks and its own balances.
Why the address is identical
An EVM address is computed from the public key alone. The network does not appear in the calculation. The same private key therefore yields the same address everywhere.
Your wallet app displays one address and may show several networks under it. That is a user-interface convenience. Underneath, the app queries each network separately and presents the results together.
The chain ID
Each EVM network has a numeric chain ID. Wallets use it to know which network they are talking to, and the signed transaction includes it. Under EIP-155, the Ethereum standard for replay protection, the chain ID is part of what you sign. A transaction signed for Polygon therefore cannot be replayed on Ethereum.
| Network | Chain ID | Native coin |
|---|---|---|
| Ethereum mainnet | 1 | ETH |
| Optimism | 10 | ETH |
| BNB Smart Chain | 56 | BNB |
| Polygon | 137 | POL |
| Base | 8453 | ETH |
| Arbitrum One | 42161 | ETH |
Notice that several networks use ETH as their native coin. An "ETH" balance on Base is a different asset record from an "ETH" balance on Ethereum mainnet, even though both are called ETH. The next chapter covers this in detail.
You can ask any node which network it serves with the eth_chainId call:
curl -s -X POST https://YOUR-RPC-ENDPOINT \
-H 'Content-Type: application/json' \
--data '{"jsonrpc":"2.0","method":"eth_chainId","params":[],"id":1}'
# Ethereum mainnet answers: {"jsonrpc":"2.0","id":1,"result":"0x1"}
# Other chain IDs: Optimism 10, BNB Smart Chain 56, Polygon 137, Base 8453, Arbitrum One 42161The result is hexadecimal. Polygon's 137 comes back as 0x89, and Base's 8453 comes back as 0x2105. Replace YOUR-RPC-ENDPOINT with a real endpoint from your provider.
Seeing separate balances
The following script queries one address against two networks. It uses ethers v6 and top-level await, so save it as an .mjs file or set "type": "module" in package.json.
import { JsonRpcProvider, formatEther } from "ethers";
const address = "0x52908400098527886E0F7030069857D2E4169EE7";
const endpoints = {
ethereum: "https://YOUR-ETHEREUM-RPC",
polygon: "https://YOUR-POLYGON-RPC",
};
for (const [name, url] of Object.entries(endpoints)) {
const provider = new JsonRpcProvider(url);
const balance = await provider.getBalance(address);
console.log(name, formatEther(balance));
}The address string is identical in both calls. The two balances are independent numbers. If you sent 1 ETH on Ethereum mainnet, the Polygon query still returns 0. The funds exist only on the network that received them.
Checksums do not identify the network
Mixed-case EVM addresses carry a checksum defined by EIP-55. The capitalization of each letter encodes a few bits of a hash of the address. If you mistype a character, the capitalization usually no longer matches, and many wallets warn you.
The checksum protects against typos only. It contains no information about the network. A correctly checksummed address is just as valid on every EVM chain. The Python function from the address-formats chapter shows the same limit. It lists "EVM-compatible" as one group, because the format cannot narrow the choice further.
import re
def classify(address: str) -> list[str]:
"""Return the networks an address could plausibly belong to, judged by format only."""
candidates = []
if re.fullmatch(r"0x[0-9a-fA-F]{40}", address):
candidates.append("EVM-compatible (Ethereum, BNB Smart Chain, Polygon, Arbitrum, Base, ...)")
if address.startswith("bc1"):
candidates.append("Bitcoin mainnet (bech32)")
if re.fullmatch(r"[13][1-9A-HJ-NP-Za-km-z]{25,34}", address):
candidates.append("Bitcoin mainnet (legacy or P2SH)")
if re.fullmatch(r"[1-9A-HJ-NP-Za-km-z]{32,44}", address):
candidates.append("Solana (base58 public key)")
return candidates
print(classify("0x52908400098527886E0F7030069857D2E4169EE7"))The output is a single EVM entry. It does not say which EVM network.
The same key means the same control
For an ordinary wallet, called an externally owned account (EOA), one private key controls the address on every EVM network. This has two consequences.
First, if you send funds to your own address on the wrong EVM network, you usually still hold them. You can import the same seed phrase or key into a wallet, add the other network, and see the balance. You may need a small amount of that network's native coin to pay gas, which is the fee for sending a transaction. Without it you cannot move the funds, so you would have to acquire some first.
Second, a leaked private key is compromised on every EVM network at once. Attackers often sweep all networks for a leaked key.
Contract addresses are different
Smart contracts also have 0x addresses, and this is where "the same address everywhere" stops being safe to assume.
- A contract address is derived from the deployer's address and its transaction count, or from a salt and the contract code. Deploying the same contract on two networks may or may not produce the same address.
- No private key controls a contract. Its code decides who can move funds.
- A contract address on one network may be empty on another. Nothing is deployed there, or someone else deployed something different.
This matters for two cases:
- Smart contract wallets, such as multisignature wallets. The address you use on Ethereum may not exist as a working wallet on Base. Funds sent there may be stuck unless the same wallet can be deployed at that address. Some wallet systems can do this, and many cannot.
- Exchange and service deposit addresses. These are often contracts or addresses controlled by the service. The service may support one network and not another, even though the address looks valid on both.
An address that is valid and controlled by you on one EVM network is not guaranteed to be controlled by you on another.
Worked scenario
You want to send USDC to a friend on Base. The friend gives you 0x5290...9EE7. In your wallet, the network selector is set to Ethereum mainnet by default.
- The wallet accepts the address, because it passes the format and checksum checks.
- You send on Ethereum mainnet.
- The transaction confirms. The funds are now at that address on the Ethereum ledger.
- Your friend looks on Base and sees nothing.
If the friend controls the address with an ordinary wallet, they can add Ethereum mainnet and see the funds. They may need a little ETH for gas to move them onward. If the address belongs to a service that supports only Base, the funds on Ethereum may be unreachable or recoverable only through support. Later chapters on wrong-network outcomes and recovery cover those cases.
A habit that catches this
Before you send, confirm the network from two sources: your own wallet's selected network and the recipient's stated network. A script can also guard against this mistake by checking the chain ID before it sends anything. The following sketch does that with ethers v6:
import { JsonRpcProvider } from "ethers";
const EXPECTED_CHAIN_ID = 8453n; // Base
const provider = new JsonRpcProvider("https://YOUR-BASE-RPC");
const network = await provider.getNetwork();
if (network.chainId !== EXPECTED_CHAIN_ID) {
throw new Error(`Wrong network: expected ${EXPECTED_CHAIN_ID}, got ${network.chainId}`);
}
console.log("Chain ID matches. Safe to continue.");In a wallet app, the equivalent step is reading the network name at the top of the send screen before you confirm.
Summary of what stays the same and what differs
| Property | Same across EVM networks? |
|---|---|
| Address format (`0x` plus 40 hex characters) | Yes |
| Address for one private key | Yes |
| Private key control of an EOA | Yes |
| Balances | No, each network has its own ledger |
| Contract code at an address | Not guaranteed |
| Token availability and token contract address | Not guaranteed |
| Whether a service accepts deposits | Depends on the service |
Exercise
You hold a private key for 0xABC...123 and a friend sends you 50 USDT on Polygon, but you only look at your Ethereum mainnet balance and see 0. Did the funds disappear? What do you need to do to see them and then move them?
Show answer
No, the funds did not disappear. The address is the same on every EVM network, but each network has its own ledger, so the 50 USDT is recorded on Polygon only. To see it, switch your wallet to Polygon or query a Polygon endpoint or explorer for the same address. To move it, you also need a small amount of Polygon's native coin (POL) to pay gas, because gas on Polygon is paid in POL, not in ETH.
Exercise
Why can an address that works for you on Ethereum fail to work on another EVM network if it is a smart contract wallet, even though it works for an ordinary wallet?
Show answer
An ordinary wallet address is derived from a public key, so the same private key controls it on every EVM network. A smart contract wallet address belongs to deployed code. That code may not exist at the same address on the other network, and no private key controls it directly. Funds sent there may be stuck unless the same wallet can be deployed at that address.