Prerequisites
You’ll need:
- Rust + Cargo installed.
- A private key (hex) for signing transactions.
- RPC endpoints for each chain you plan to interact with.
- Access to a Trident attester endpoint.
Cargo.toml Dependencies
Section titled “Cargo.toml Dependencies”[dependencies]trident-sdk = "0.1.0"trident-types = "0.1.0"
# Alloy (Ethereum toolkit)alloy-primitives = "1.3"alloy-provider = "1.0"alloy-signer = "1.0"alloy-signer-local = "1.0"
tokio = { version = "1", features = ["full"] }tonic = "0.14"