Solana attestation skill

From x402agent/solana-clawd · View interactive version

Solana attestation skill is an AI agent skill from the GitHub repository x402agent/solana-clawd. Operate the Solana Attestation Service verification layer vendored under /attestation — create credentials, generate schemas, issue attestations for skills/agents/plugins, verify proof hashes, and bridge OpenClawd formal-verification outputs into on-chain attestations.

How to use this skill

Skill file

Solana Attestation Skill

Use this skill when the task involves the vendored CODE0 verification layer.

Canonical Program Addresses

What This Skill Covers

OpenClawd Schemas

Skill Attestation

Layout: [12, 32, 12, 8, 1]

{
  "skill_id": "string",
  "verifier_pubkey": "Pubkey",
  "proof_hash": "string",
  "verification_timestamp": "u64",
  "is_formally_verified": "bool"
}

Agent Identity

Layout: [12, 32, 12, 32, 1]

{
  "agent_id": "string",
  "wallet_pubkey": "Pubkey",
  "skill_attestation": "string",
  "vault_address": "Pubkey",
  "is_vault_initialized": "bool"
}

Plugin Attestation

Layout: [12, 32, 12, 34, 8, 1]

{
  "plugin_id": "string",
  "author_pubkey": "Pubkey",
  "attestation_ref": "string",
  "audit_proof_hash": "ProofHash",
  "timestamp": "u64",
  "is_audited": "bool"
}

Local Source of Truth

Standard Commands

cd attestation
cargo-build-sbf && SBF_OUT_DIR=$(pwd)/target/sbpf-solana-solana/release cargo test
cd attestation
pnpm install
pnpm run generate-idl
pnpm run generate-clients

QEDGen Bridge

Use this flow when promoting a locally verified capability into a trustless OpenClawd attestation:

  1. Run the formal verification flow to produce a proof artifact.
  2. Hash the proof output with SHA-256.
  3. Create or confirm the relevant SAS schema.
  4. Issue the attestation with the resulting proof_hash.
  5. Record the attestation address in the skill/agent/plugin registry.

Safety Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.