Add zero-custody Solana tool plugins (pay-request, token-risk-check, sns-resolve, unsigned-transfer)#139
Open
ertanyeni wants to merge 1 commit into
Open
Add zero-custody Solana tool plugins (pay-request, token-risk-check, sns-resolve, unsigned-transfer)#139ertanyeni wants to merge 1 commit into
ertanyeni wants to merge 1 commit into
Conversation
- solana-pay-request (T1): build Solana Pay transfer-request URLs + QR payloads - token-risk-check (T0): on-chain mint/freeze-authority + holder-concentration risk - sns-resolve (T0): resolve .sol names to owner addresses (SNS) - unsigned-transfer (T1): assemble an unsigned SOL/SPL transfer for the user's wallet to sign Each is a wasm32-wasip2 tool plugin matching the redact-text layout, with a per-tool README (custody tier + threat model + prompt-injection transcript), a shared hardened rpc.rs, and passing cargo fmt/clippy/tests. No registry.json edits (CI-generated). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Zero-custody Solana tool plugins
Four standalone
wasm32-wasip2tool plugins that let a ZeroClaw agent help move money on Solana without ever holding a key — the agent proposes; a human or a Squads multisig disposes. Each follows the upstreamredact-textlayout and is independently buildable, reviewable, and installable.sns_resolve.solname to its current on-chain ownertoken_risk_checksolana_pay_requestunsigned_transferTogether they form a safe payment path: resolve a human-readable recipient → vet the SPL mint → build a Solana Pay request or a ready-to-sign transaction whose signature still stays with the owner. The agent can research, validate, and propose — but cannot move funds by itself.
Deny by default
solana-pay-requestdeclarespermissions = []; the two T0 readers get only HTTP-client + config-read for RPC. No component imports signing or secret-management capabilities; everyexecutepath logs an event via the host logging interface.Quality / mergeability
tool-pluginworld; a shared hardenedrpc.rs.cargo fmt --checkclean, clippy clean,cargo testpassing; release builds expose exactly thetool+plugin-infointerfaces (networked components use hostwasi:http).registry.jsonedits (left to CI).Dev repo (full history, demo web UI, one-pager): https://github.com/ertanyeni/zeroclaw-solana-plugins