Appearance
EVM (Frontier)
Frontier is a compatibility layer. Native pallets are the protocol. Solidity is how Ethereum tooling arrives.
chainId is 2026 (0x7ea). Never configure 1337 (Hardhat/Ganache default), 9911 (old Empoorio sites), or 27777 (a docs error, corrected). A wallet on the wrong id produces signatures this chain rejects, and signatures valid on whatever chain actually uses that id. EIP-155 replay protection only works if the id is this chain’s id.
bash
curl -s https://rpc2.testnet.empooriochain.com \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}'
# {"result":"0x7ea"}eth_* methods respond on the same host as native RPC (45 methods in the last inventory). There is no separate EVM endpoint.
MetaMask / wallet custom network
| Field | Local | Public testnet |
|---|---|---|
| RPC | http://127.0.0.1:9944 | https://rpc2.testnet.empooriochain.com |
| Chain ID | 2026 | 2026 |
| Symbol | DRACMA | DRACMA |
| Explorer | optional | https://empooscan.com |
Local --dev uses the same runtime constant DefaultChainId = 2026. Do not switch local to 1337.
Native DRACMA on Frontier
Native DRACMA is not an ERC-20 on this chain. EVM balances of the native token are the Frontier mapping of the same account, not a contract. Wrappers on other chains are collateralised; they are not the native asset.
pallet_contracts is not in construct_runtime!. There is no WASM contract path. MoveVM does not exist.
Why EVM submit used to fail
Until 2026-09-06 the runtime used Substrate generic::UncheckedExtrinsic. Pallets Evm / Ethereum / BaseFee were instantiated and eth_chainId already returned 0x7ea, but MetaMask, Hardhat and Eoonia’s EVM path could not submit. The envelope is now Frontier’s unchecked extrinsic. If a client still wraps EVM txs as native Substrate extras, they die.
Storage vs RPC for chain ID
eth_chainId is 2026. Runtime constant DefaultChainId is what EIP-155 uses. pallet_evm_chain_id storage was once 0 at genesis (ValueQuery without OnEmpty). Migration FijarChainIdDelEvm shipped in runtime 208. If an indexer still reads 0, it is stale; ask eth_chainId and twox128("EvmChainId")||twox128("ChainId") (little-endian u64 0xea07000000000000). Pallet name is EvmChainId, not EVMChainId.
Gas
Use eth_estimateGas and eth_gasPrice. Native payment_queryInfo does not price an Ethereum transaction.
Accounts
An EVM H160 and a Substrate AccountId32 are different encodings of keys. Do not paste a vx… address into MetaMask. Do not paste a 0x EVM address into system_accountNextIndex expecting a Substrate nonce.
