> ## 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

<CardGroup cols={2}>
  <Card title="Lightning Fast" icon="bolt">
    Fast confirmations for real-time gaming and trading
  </Card>

  <Card title="Zero Gas for Players" icon="gas-pump">
    [Gas sponsorship](/docs/products/passport/gas-sponsorship) means players never pay fees
  </Card>

  <Card title="Battle-Tested Security" icon="shield-check">
    Live, audited, and monitored [bridge contracts](/docs/products/immutable-chain/bridging)
  </Card>

  <Card title="EVM Compatible" icon="code">
    Use Solidity, [Foundry, Hardhat](/docs/products/asset-contracts/deploy-contracts-with-hardhat), [viem](/docs/sdks/typescript/overview) and more
  </Card>
</CardGroup>

<Card title="Source Code" icon="github" href="https://github.com/immutable/immutable-geth">
  View the Immutable geth fork on GitHub
</Card>

## 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

<Tabs>
  <Tab title="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>

  <Tab title="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>

  <Tab title="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>

  <Tab title="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;
    ```
  </Tab>
</Tabs>

## RPC Rate Limits

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

<Info>
  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.
</Info>

## Resources

<CardGroup cols={2}>
  <Card title="Toolkit" icon="wrench" href="https://toolkit.immutable.com">
    Bridge, CEX and other chain utilities
  </Card>

  <Card title="Running Nodes" icon="server" href="/docs/products/immutable-chain/running-nodes">
    Run your own Immutable Chain node
  </Card>

  <Card title="Ethereum Differences" icon="code-compare" href="/docs/products/immutable-chain/differences-from-ethereum">
    EVM compatibility details
  </Card>

  <Card title="Bridging" icon="bridge" href="/docs/products/immutable-chain/bridging">
    Transfer assets from Ethereum
  </Card>

  <Card title="Ecosystem" icon="globe" href="/docs/products/immutable-chain/ecosystem-partners">
    Infrastructure and partners
  </Card>

  <Card title="Faucet" icon="faucet" href="/docs/products/immutable-chain/faucet">
    Get testnet tokens
  </Card>

  <Card title="GitHub" icon="github" href="https://github.com/immutable">
    Open source repositories
  </Card>
</CardGroup>

## Next Steps

<CardGroup cols={2}>
  <Card title="Deploy Contracts" icon="file-contract" href="/docs/products/asset-contracts/deploy-contracts-with-hardhat">
    Deploy your first contract
  </Card>

  <Card title="Passport" icon="id-card" href="/docs/products/passport/overview">
    Integrate wallet authentication
  </Card>

  <Card title="Gas Sponsorship" icon="gas-pump" href="/docs/products/passport/gas-sponsorship">
    Sponsor user transactions
  </Card>

  <Card title="Bridging" icon="bridge" href="/docs/products/immutable-chain/bridging">
    Bridge assets from Ethereum
  </Card>
</CardGroup>
