feat(solana): add depin-attest — T1 DePIN attestation plugin (Track C ⭐)#103
Open
xinaids wants to merge 1 commit into
Open
feat(solana): add depin-attest — T1 DePIN attestation plugin (Track C ⭐)#103xinaids wants to merge 1 commit into
xinaids wants to merge 1 commit into
Conversation
- Pure Rust core (attest.rs, memo.rs, tx.rs): zero wasm deps, hand-rolled Memo instruction, v0 tx serialization, no solana-sdk - 10 host tests: nonce determinism, replay guard, prompt injection fail-closed - cargo build --target wasm32-wasip2 --release + clippy both clean - T1 custody: no signing path exists in the crate - deny_unknown_fields guard verified by test transcript in README
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.
The $40 Pi that writes to Solana
Track C DePIN —
depin-attestis the reference implementation for ZeroClaw's DePIN layer.Custody tier: T1 — never holds a key, never calls sendTransaction.
What's in it
plugins/depin-attestTest table
nonce_is_deterministicnonce_differs_by_slotnonce_differs_by_devicememo_format_includes_all_fieldstx_serializes_and_has_v0_prefixbase64_roundtripprompt_injection_unknown_field_rejectedprompt_injection_sign_and_submit_ignoredoutput_is_compactreplay_nonce_covers_slot_and_device10/10 PASS —
cargo test --quietBounty checklist
plugins/redact-textcargo build --target wasm32-wasip2 --releasecleancargo clippy --all-targets+--target wasm32-wasip2cleanlog-recordWork in progress — engaging in #solana-bounty on Discord.