Supported Chains
Trident uses Circle CCTP domains as chain identifiers. Query available deployments at runtime:
let client = TridentClientBuilder::new(endpoint).connect().await?;// Deployments are fetched automatically during connect()Mainnet Domains
Section titled “Mainnet Domains”Current mainnet domains include:
| Domain | Chain |
|---|---|
| 0 | Ethereum |
| 1 | Avalanche |
| 2 | Optimism |
| 3 | Arbitrum |
| 6 | Base |
| 7 | Polygon |
Use the querier’s ListEvmDeployments RPC to get the canonical list with contract addresses.
Querying Deployments
Section titled “Querying Deployments”use tonic::transport::Endpoint;use trident_proto_types::querier_v1;use trident_proto_types::querier_v1::querier_service_client::QuerierServiceClient;
let channel = Endpoint::from_static("http://your-attester-endpoint:9000") .connect() .await?;let mut querier = QuerierServiceClient::new(channel);
let deployments = querier .list_evm_deployments(querier_v1::ListEvmDeploymentsRequest {}) .await? .into_inner();Token Representations
Section titled “Token Representations”Use GetTokenRepresentations to discover cross-chain token mappings — which tokens on different domains represent the same underlying asset.