AgentTrust
AgentTrust
Reference

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.

TypeScript 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

ProgramSourceDevnet ID
policy_vaultprograms/policy-vault/src/lib.rs8Y6fGeNEHgmWmbt8JsRcF72jxbeBfJhomMjG6SuoJQTR
trustgateprograms/trustgate/src/lib.rsHF8zHfoyA7b5mhLViopTnRMprc6ZT5KActHTdkFrih2N
validation_registryprograms/validation-registry/src/lib.rsCx4RFa6ysw3qXYhugPkF8pFSWBkmKq59h2dWgF2tKhtv

Verify executable status

for p in 8Y6fGeNEHgmWmbt8JsRcF72jxbeBfJhomMjG6SuoJQTR \
         HF8zHfoyA7b5mhLViopTnRMprc6ZT5KActHTdkFrih2N \
         Cx4RFa6ysw3qXYhugPkF8pFSWBkmKq59h2dWgF2tKhtv; do
  solana program show "$p" --url devnet | grep Executable
done

Fetch 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_registry

The 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.

On this page

⌘I