For the complete documentation index, see llms.txt. This page is also available as Markdown.

Wallet

Seismic wallet for transaction signing

The SeismicWallet is the signing component of seismic-alloy. It manages one or more private key signers and provides the NetworkWallet implementation that the provider's filler pipeline uses to sign transactions.

Overview

In Alloy's architecture, a wallet is responsible for:

  1. Holding one or more signers (private keys, hardware wallets, etc.)

  2. Providing a default signer address for transactions that do not specify from

  3. Signing transactions when the WalletFiller requests it

SeismicWallet extends this pattern for Seismic networks. It is generic over N: SeismicNetwork, meaning the same wallet type works with both SeismicReth (production) and SeismicFoundry (local development).

Quick Start

use seismic_prelude::client::*;
use seismic_alloy_network::reth::SeismicReth;

// Create a wallet from a single private key
let signer: PrivateKeySigner = "0xYOUR_PRIVATE_KEY".parse()?;
let wallet = SeismicWallet::<SeismicReth>::from(signer);

// Use it to create a provider
let url = "https://testnet-1.seismictest.net/rpc".parse()?;
let provider = SeismicProviderBuilder::new()
    .wallet(wallet)
    .connect_http(url)
    .await?;

Multi-Signer Support

SeismicWallet supports multiple signers. This is useful when your application needs to send transactions from different accounts:

Pages

Page
Description

Full API reference with all methods, generics, and examples

See Also

Last updated