Devnet program IDs
Deployed AgentTrust program addresses on Solana devnet, with Explorer links and Anchor IDL fetch instructions.
The pinned devnet deployment of the three AgentTrust programs. The SDK ships these as DEFAULT_DEVNET_PROGRAM_IDS.
8Y6fGeNEHgmWmbt8JsRcF72jxbeBfJhomMjG6SuoJQTRCx4RFa6ysw3qXYhugPkF8pFSWBkmKq59h2dWgF2tKhtvTypeScript constants
import { DEFAULT_DEVNET_PROGRAM_IDS } from "@agenttrust-sdk/trustgate";
DEFAULT_DEVNET_PROGRAM_IDS.policyVault; // PublicKey
DEFAULT_DEVNET_PROGRAM_IDS.trustGate; // PublicKey (camelCase as of 0.2.0)
DEFAULT_DEVNET_PROGRAM_IDS.validationRegistry; // PublicKey (new in 0.2.0)Note: as of SDK 0.2.0, ProgramIds.trustgate (lowercase) was renamed to ProgramIds.trustGate (camelCase) to match policyVault. The new validationRegistry field is populated by default. Migration: search-and-replace .trustgate → .trustGate. See Reference → Changelog.
Anchor declarations
| Program | Source | Devnet ID |
|---|---|---|
policy_vault | programs/policy-vault/src/lib.rs | 8Y6fGeNEHgmWmbt8JsRcF72jxbeBfJhomMjG6SuoJQTR |
trustgate | programs/trustgate/src/lib.rs | HF8zHfoyA7b5mhLViopTnRMprc6ZT5KActHTdkFrih2N |
validation_registry | programs/validation-registry/src/lib.rs | Cx4RFa6ysw3qXYhugPkF8pFSWBkmKq59h2dWgF2tKhtv |
Verify executable status
for p in 8Y6fGeNEHgmWmbt8JsRcF72jxbeBfJhomMjG6SuoJQTR \
HF8zHfoyA7b5mhLViopTnRMprc6ZT5KActHTdkFrih2N \
Cx4RFa6ysw3qXYhugPkF8pFSWBkmKq59h2dWgF2tKhtv; do
solana program show "$p" --url devnet | grep Executable
doneFetch IDLs
All three Anchor IDLs are published on devnet:
anchor idl fetch 8Y6fGeNEHgmWmbt8JsRcF72jxbeBfJhomMjG6SuoJQTR --provider.cluster devnet # policy_vault
anchor idl fetch HF8zHfoyA7b5mhLViopTnRMprc6ZT5KActHTdkFrih2N --provider.cluster devnet # trustgate
anchor idl fetch Cx4RFa6ysw3qXYhugPkF8pFSWBkmKq59h2dWgF2tKhtv --provider.cluster devnet # validation_registryThe SDK's loadPolicyVault / loadTrustGate / loadValidationRegistry fetch the IDL from chain by default. Pass an explicit idl argument to use a bundled snapshot — useful for latency-sensitive paths or freshly-redeployed programs.
Latest evidence snapshot (SHA-256 hashes + instruction counts): docs/proofs/idl-on-chain.json.