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

# Network Details

> The chain parameters for TAC networks

## Network Configuration

<Tabs>
  <Tab title="Mainnet">
    **TAC Mainnet** - Production network for live applications

    | Parameter           | Value                                                    |
    | ------------------- | -------------------------------------------------------- |
    | **Network Name**    | TAC Mainnet                                              |
    | **RPC Endpoint**    | `https://rpc.tac.build`                                  |
    | **Chain ID**        | `239`                                                    |
    | **Currency Symbol** | TAC                                                      |
    | **Block Explorer**  | [https://explorer.tac.build](https://explorer.tac.build) |
    | **Fee Schema**      | EIP-1559                                                 |
    | **Block Time**      | \< 2 seconds                                             |

    ### Quick Add to Wallet

    ```json theme={null}
    {
      "chainId": "0xEF",
      "chainName": "TAC Mainnet",
      "rpcUrls": ["https://rpc.tac.build"],
      "nativeCurrency": {
        "name": "TAC",
        "symbol": "TAC",
        "decimals": 18
      },
      "blockExplorerUrls": ["https://explorer.tac.build"]
    }
    ```
  </Tab>

  <Tab title="Testnet">
    **TAC Saint Petersburg Testnet** - Current recommended testnet for development

    | Parameter           | Value                                                            |
    | ------------------- | ---------------------------------------------------------------- |
    | **Network Name**    | TAC Saint Petersburg Testnet                                     |
    | **RPC Endpoint**    | `https://spb.rpc.tac.build`                                      |
    | **Chain ID**        | `2391`                                                           |
    | **Currency Symbol** | TAC                                                              |
    | **Block Explorer**  | [https://spb.explorer.tac.build](https://spb.explorer.tac.build) |
    | **Fee Schema**      | EIP-1559                                                         |
    | **Block Time**      | \< 2 seconds                                                     |
    | **Faucet**          | [https://spb.faucet.tac.build](https://spb.faucet.tac.build)     |

    ### Quick Add to Wallet

    ```json theme={null}
    {
      "chainId": "0x957",
      "chainName": "TAC Saint Petersburg Testnet",
      "rpcUrls": ["https://spb.rpc.tac.build"],
      "nativeCurrency": {
        "name": "TAC",
        "symbol": "TAC",
        "decimals": 18
      },
      "blockExplorerUrls": ["https://spb.explorer.tac.build"]
    }
    ```
  </Tab>
</Tabs>

## Getting Testnet Tokens

Refer to [Faucet page](/ecosystem/faucet)

## Common Integration Issues

<Tabs>
  <Tab title="MetaMask Setup">
    **Adding TAC Networks:**

    1. Open MetaMask settings
    2. Go to "Networks" → "Add Network"
    3. Use the network parameters above
    4. Save and switch to the new network

    **Common Issues:**

    * Ensure Chain ID is entered as a number (239, 2391)
    * Verify RPC URLs are correct
    * Check that you're using the latest MetaMask version
  </Tab>

  <Tab title="Contract Verification">
    **Verification Steps:**

    1. Deploy your contract to the network
    2. Wait for a few block confirmations
    3. Use Hardhat's verify plugin or manual verification
    4. Check the block explorer for verification status

    **Troubleshooting:**

    * Ensure exact constructor arguments
    * Verify Solidity version matches
    * Check that libraries are linked correctly
  </Tab>
</Tabs>
