Skip to content

feat(solana): clear-sign v0 transactions with reusable instruction schemas - #351

Closed
BitHighlander wants to merge 1 commit into
feature/715-09-tron-tonfrom
feature/715-10-solana-clearsign-x402
Closed

feat(solana): clear-sign v0 transactions with reusable instruction schemas#351
BitHighlander wants to merge 1 commit into
feature/715-09-tron-tonfrom
feature/715-10-solana-clearsign-x402

Conversation

@BitHighlander

Copy link
Copy Markdown
Owner

7.15 review stack position 10/17.

This PR is intentionally one coherent commit, based on feature/715-09-tron-ton, for individual auditing.
The full stack is linear from the clean fork develop at 1af2ffe.

Review scope: feat(solana): clear-sign v0 transactions with reusable instruction schemas.

The preserved pre-restage candidate remains available at preserve/alpha-2026-08-05.

…hemas

Solana signing moves from "confirm this blob" to describing the actual
instructions, using schemas that are signed once and reused:

- v0 (versioned) transactions and address-table lookups are parsed, and the
  instruction set is rendered per program: transfers, token transfers, memo
  bodies and offchain messages.
- A schema describes a program's instruction layout (discriminator, argument
  types and labels) and carries a signature with no transaction hash bound to
  it, so one blob covers every call of that shape instead of needing a fresh
  signature per transaction.
- x402 payment requests are clear-signed through the same path: the payment
  amount, asset and recipient are shown from schema-described fields rather
  than trusting host-supplied text.
- Anything without a verified schema still reaches the raw-data screen.
- unittests/firmware/solana.cpp covers v0 parsing, schema decode, argument
  rendering and the reject paths for malformed or unsigned schemas.
@BitHighlander

Copy link
Copy Markdown
Owner Author

Superseded by the smaller audit-ready 7.15 stack: #359 release foundation, #360 authenticated clear-signing, #361 recovery and entropy, #362 Zcash Orchard, #363 chain integrations, and #364 Bitcoin/release security. All release changes remain preserved in the replacement branches and preservation tags. The replacement aggregate was tree-verified against the prior release and passed the local CI-equivalent container suite (405 firmware, 2 board, 18 crypto, and 7 Pallas constant-time tests). GitHub-hosted checks have been explicitly dispatched and are currently queued.

@BitHighlander
BitHighlander deleted the feature/715-10-solana-clearsign-x402 branch August 9, 2026 04:26
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.

1 participant