Skip to content

Add solana-confidential skill: auditor-side AML for Token-2022 Confidential Transfers#37

Open
Venkat5599 wants to merge 1 commit into
solanabr:mainfrom
Venkat5599:add-solana-confidential-skill
Open

Add solana-confidential skill: auditor-side AML for Token-2022 Confidential Transfers#37
Venkat5599 wants to merge 1 commit into
solanabr:mainfrom
Venkat5599:add-solana-confidential-skill

Conversation

@Venkat5599

Copy link
Copy Markdown

Adds the solana-confidential skill as a submodule under .claude/skills/ext/ plus one routing line in the skills hub.

What it is

The auditor/compliance side of Token-2022 Confidential Transfers — the half the kit's token-2022.md doesn't cover. Operate a mint's global auditor ElGamal key to decrypt only the amounts you're authorized to see, score them against an AML engine (structuring, velocity, sanctions, layering, concentration, dormancy), and emit SHA-256 hashed, tamper-evident compliance reports — privacy intact for everyone else.

Why it belongs in the kit

  • Real cryptography, verified against real Solana bytes. Twisted-ElGamal over Ristretto255 + BSGS discrete log. convention: "solana" decrypts the exact on-chain scheme (amount·G = C − s·D); a test decrypts ciphertext produced by the production @solana/zk-sdk (byte-identical to on-chain) using only this engine's crypto. Implements Solana's real 16-bit-low + 32-bit-high amount split.
  • Real chain wiring, live on devnet. RpcConfidentialObserver decodes Token-2022 CT instructions over real RPC; readConfidentialMintConfig parses a mint's on-chain auditor ElGamal key. bun run observe reads a real devnet confidential mint.
  • 44 deterministic tests, tsc --noEmit clean, CI on every push. Eight threat-modeled guardrails (CT01–CT08) + the CT09 ciphertext-layout seam.
  • Fit: mirrors the reference skill shape (progressive SKILL.md router → 9 modules, agents, commands, rules, installer, README, MIT). Compliance counterpart to token-2022.md.

Changes

Skill repo: https://github.com/Venkat5599/Solanaskills
Live demo: https://solana-confidential-skill.vercel.app
Bounty submission: solanabr/skill-bounty#26
License: MIT

Copilot AI review requested due to automatic review settings June 24, 2026 06:56
@vercel

vercel Bot commented Jun 24, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the STBR TRUE Team on Vercel.

A member of the Team first needs to authorize it.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new external “solana-confidential” skill to the Solana AI Kit by registering it as a git submodule and linking it from the main skill hub, so users can route to the auditor/compliance-side guidance for Token-2022 Confidential Transfers.

Changes:

  • Register .claude/skills/ext/solana-confidential as a git submodule pointing to https://github.com/Venkat5599/Solanaskills
  • Add a routing entry in .claude/skills/SKILL.md under Token Extensions to the new skill’s SKILL.md

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
.gitmodules Adds the solana-confidential submodule entry (path + URL) under .claude/skills/ext/.
.claude/skills/SKILL.md Adds a new Token Extensions routing link to ext/solana-confidential/skill/SKILL.md.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants