> ## Documentation Index
> Fetch the complete documentation index at: https://docs.immutable.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Immutable Chain

> The gaming-optimised blockchain built on Ethereum

> [card] Lightning Fast
>
> Fast confirmations for real-time gaming and trading

> [card] Zero Gas for Players
>
> [Gas sponsorship](https://docs.immutable.com/docs/products/passport/gas-sponsorship.md) means players never pay fees

> [card] Battle-Tested Security
>
> Live, audited, and monitored [bridge contracts](https://docs.immutable.com/docs/products/immutable-chain/bridging.md)

> [card] EVM Compatible
>
> Use Solidity, [Foundry, Hardhat](https://docs.immutable.com/docs/products/asset-contracts/deploy-contracts-with-hardhat.md), [viem](https://docs.immutable.com/docs/sdks/typescript/overview.md) and more

> [card] [Source Code](https://github.com/immutable/immutable-geth)
>
> View the Immutable geth fork on GitHub

## Network Configuration

### Basic Configuration

| Property | Testnet | Mainnet |
| - | - | - |
| **Network Name** | Immutable zkEVM Testnet | Immutable zkEVM |
| **Chain ID** | 13473 | 13371 |
| **RPC URL** | `https://rpc.testnet.immutable.com` | `https://rpc.immutable.com` |
| **Currency Symbol** | tIMX | IMX |
| **Currency Decimals** | 18 | 18 |
| **Block Explorer** | [explorer.testnet.immutable.com](https://explorer.testnet.immutable.com) | [explorer.immutable.com](https://explorer.immutable.com) |

### Chain Details

| Property | Testnet | Mainnet |
| - | - | - |
| **Parent Chain** | Sepolia | Ethereum |
| **Block Time** | \~2 seconds | \~2 seconds |
| **Finality** | \~2 seconds | \~2 seconds |
| **EVM Version** | Cancun | Cancun |
| **Solidity Support** | Up to 0.8.28 | Up to 0.8.28 |

### Gas Configuration

| Property | Value |
| - | - |
| **Gas Model** | EIP-1559 |
| **Min Priority Fee** | 10 gwei |
| **Block Gas Limit** | 30,000,000 |
| **Gas Sponsorship** | Available for Passport users |

## Connect with Code

> [tab] viem
>
> ```typescript theme={null}
> import { createPublicClient, createWalletClient, http } from 'viem';
> import { immutableZkEvm, immutableZkEvmTestnet } from 'viem/chains';
>
> // Mainnet - using built-in chain definition
> const publicClient = createPublicClient({
>   chain: immutableZkEvm,
>   transport: http(),
> });
>
> // Testnet
> const testnetClient = createPublicClient({
>   chain: immutableZkEvmTestnet,
>   transport: http(),
> });
>
> // With custom RPC (e.g., QuickNode)
> const customClient = createPublicClient({
>   chain: immutableZkEvm,
>   transport: http('https://your-quicknode-endpoint.com'),
> });
> ```

> [tab] ethers.js
>
> ```typescript theme={null}
> import { ethers } from 'ethers';
>
> // Mainnet
> const mainnet = new ethers.JsonRpcProvider('https://rpc.immutable.com', {
>   chainId: 13371,
>   name: 'immutable-zkevm',
> });
>
> // Testnet
> const testnet = new ethers.JsonRpcProvider('https://rpc.testnet.immutable.com', {
>   chainId: 13473,
>   name: 'immutable-zkevm-testnet',
> });
> ```

> [tab] Foundry
>
> ```toml theme={null}
> # foundry.toml
> [rpc_endpoints]
> imtbl_testnet = "https://rpc.testnet.immutable.com"
> imtbl_mainnet = "https://rpc.immutable.com"
>
> # Deploy command
> # forge script script/Deploy.s.sol --rpc-url imtbl_testnet --broadcast
> ```

> [tab] Hardhat
>
> ```typescript theme={null}
> // hardhat.config.ts
> import { HardhatUserConfig } from 'hardhat/config';
>
> const config: HardhatUserConfig = {
>   networks: {
>     'imtbl-zkevm-testnet': {
>       url: 'https://rpc.testnet.immutable.com',
>       accounts: [process.env.PRIVATE_KEY!],
>       chainId: 13473,
>     },
>     'imtbl-zkevm-mainnet': {
>       url: 'https://rpc.immutable.com',
>       accounts: [process.env.PRIVATE_KEY!],
>       chainId: 13371,
>     },
>   },
> };
>
> export default config;
> ```

## RPC Rate Limits

| Tier | Requests/sec | Use Case |
| - | - | - |
| **Public** | 25 | Development, light usage |
| **QuickNode** | Custom | Production |
| **dRPC** | Custom | Production |

> [!NOTE]
>
> For production applications, use [QuickNode](https://www.quicknode.com/chains/imx) or [dRPC](https://drpc.org/chainlist/immutable-zkevm-mainnet-rpc) for dedicated endpoints with higher limits.

## Resources

> [card] [Toolkit](https://toolkit.immutable.com)
>
> Bridge, CEX and other chain utilities

> [card] [Running Nodes](https://docs.immutable.com/docs/products/immutable-chain/running-nodes.md)
>
> Run your own Immutable Chain node

> [card] [Ethereum Differences](https://docs.immutable.com/docs/products/immutable-chain/differences-from-ethereum.md)
>
> EVM compatibility details

> [card] [Bridging](https://docs.immutable.com/docs/products/immutable-chain/bridging.md)
>
> Transfer assets from Ethereum

> [card] [Ecosystem](https://docs.immutable.com/docs/products/immutable-chain/ecosystem-partners.md)
>
> Infrastructure and partners

> [card] [Faucet](https://docs.immutable.com/docs/products/immutable-chain/faucet.md)
>
> Get testnet tokens

> [card] [GitHub](https://github.com/immutable)
>
> Open source repositories

## Next Steps

> [card] [Deploy Contracts](https://docs.immutable.com/docs/products/asset-contracts/deploy-contracts-with-hardhat.md)
>
> Deploy your first contract

> [card] [Passport](https://docs.immutable.com/docs/products/passport/overview.md)
>
> Integrate wallet authentication

> [card] [Gas Sponsorship](https://docs.immutable.com/docs/products/passport/gas-sponsorship.md)
>
> Sponsor user transactions

> [card] [Bridging](https://docs.immutable.com/docs/products/immutable-chain/bridging.md)
>
> Bridge assets from Ethereum


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.