Add solana-attestation skill — Solana Attestation Service (SAS)#149
Open
nizarsyahmi37 wants to merge 1 commit into
Open
Add solana-attestation skill — Solana Attestation Service (SAS)#149nizarsyahmi37 wants to merge 1 commit into
nizarsyahmi37 wants to merge 1 commit into
Conversation
…e issue/verify/revoke/gate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
solana-attestation
A production-grade agent skill for the Solana Attestation Service (SAS) — the Foundation's on-chain credential layer. It teaches an agent to issue, verify, revoke, and gate on attestations: the primitive behind KYC-once-verify-everywhere, sybil-resistant airdrops, RWA/accredited-investor gating, region gating, and DAO reputation.
Repo: https://github.com/nizarsyahmi37/solana-attestation-skill
Problem
SAS shipped as the canonical "prove a fact about a wallet, reuse it everywhere" primitive, but there's no opinionated, integration-grade guidance. Teams hand-roll issuer/verifier flows, leak PII on-chain, trust attestations without checking the issuer, and miss that SAS has no revoke instruction (you close), no data updates, and a schema-pause kill switch. This skill encodes the correct patterns and the footguns.
Why it's novel
Verified uncovered by the Solana AI Kit hub, the major ecosystem skill repos (sendai, jupiter, helius, trailofbits, foundation), and all ~128 open PRs in this repo — SAS had zero dedicated coverage. Nearest adjacents solve different problems (proof-of-human, legal guidance, provider-wrapping KYC).
Structure (mirrors solana-game-skill)
skill/SKILL.mdrouter → 8 progressive.mdfilesagents/attestation-engineercommands/{setup-issuer,verify-gate}rules/typescriptinstall.shQuality
Every fact source-verified before writing: program ID + account layouts via live RPC and program source,
sas-lib@1.0.10via npm, code patterned on the officialattestation-flow-guidesexamples. Honest caveat in the README:sas-libis pre-stable and the program is upgradeable — re-confirm before a mainnet deploy.MIT licensed, ready to submodule into the kit.