Chains
Chain configurations for Seismic networks
The seismic-alloy SDK supports multiple Seismic networks. Each chain has a specific chain ID, RPC endpoint, and recommended network type. This section documents the available chains and how to connect to them.
Overview
seismic-alloy does not use pre-configured chain objects. Pass the RPC URL directly to SeismicProviderBuilder and select the appropriate network type (SeismicReth or SeismicFoundry); the chain ID is fetched automatically from the node.
use seismic_prelude::client::*;
let signer: PrivateKeySigner = "0xYOUR_PRIVATE_KEY".parse()?;
let wallet = SeismicWallet::<SeismicReth>::from(signer.clone());
// Testnet
let url = "https://testnet-1.seismictest.net/rpc".parse()?;
let provider = SeismicProviderBuilder::new()
.wallet(wallet)
.connect_http(url)
.await?;
// Local (Sanvil)
let signer2: PrivateKeySigner = "0xYOUR_PRIVATE_KEY".parse()?;
let wallet2 = SeismicWallet::<SeismicFoundry>::from(signer2);
let url = "http://127.0.0.1:8545".parse()?;
let provider = SeismicProviderBuilder::new()
.foundry()
.wallet(wallet2)
.connect_http(url)
.await?;Supported Chains
5124
https://testnet-1.seismictest.net/rpc
SeismicReth
Public testnet for development and testing
Choosing a Chain
Chain ID Handling
The Alloy provider automatically fetches the chain ID from the connected node via the ChainIdFiller. You do not need to specify it manually in most cases. The chain ID is used for:
EIP-155 replay protection in transaction signing
EIP-712 typed data signing
Transaction validation
Pages
Public testnet configuration and usage
Local development with Sanvil
See Also
Network Overview - Network types for each chain
SeismicReth - Production network type
SeismicFoundry - Development network type
Installation - Cargo setup and prerequisites
Last updated

