Shielded Write
Encrypted transactions -- lifecycle, security parameters, and the filler pipeline
How it works
Step-by-step
1. Set up a signed provider
use seismic_prelude::foundry::*;
use alloy_signer_local::PrivateKeySigner;
let signer: PrivateKeySigner = "0xYOUR_PRIVATE_KEY".parse()?;
let wallet = SeismicWallet::from(signer);
let url: reqwest::Url = "https://gcp-1.seismictest.net/rpc".parse()?;
let provider = SeismicSignedProvider::<SeismicReth>::new(wallet, url).await?;2. Define the contract interface
3. Encode calldata
4. Build the transaction with .seismic()
.seismic()5. Send and await receipt
6. Verify success
Security parameters
Parameter
Default
Description
What happens under the hood
Create transactions cannot be seismic
Error handling
Complete example
See Also
Last updated

