Basic Setup
Complete provider setup with connection verification
Prerequisites
# Install Rust 1.82+
rustup update stable
# Set environment variables
export PRIVATE_KEY="0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80"
export RPC_URL="https://gcp-1.seismictest.net/rpc"[package]
name = "basic-setup"
version = "0.1.0"
edition = "2021"
rust-version = "1.82"
[dependencies]
seismic-alloy = { git = "https://github.com/SeismicSystems/seismic-alloy" }
alloy-signer-local = "1.1"
alloy-primitives = "1.1"
tokio = { version = "1", features = ["full"] }Signed Provider (Full Capabilities)
Unsigned Provider (Read-Only)
Using Convenience Constructors
Local Development with Sanvil
Error Handling
Expected Output
Next Steps
See Also
Last updated

