Visitar URL original
Stale docs update (part 1) by grod220 · Pull Request #38 · solana-program/solana-program.github.io · GitHub
Skip to content

Stale docs update (part 1) - #38

Open
grod220 wants to merge 3 commits into
mainfrom
update-docs-pt-1
Open

grod220 wants to merge 3 commits into
mainfrom
update-docs-pt-1

Conversation

@grod220

@grod220 grod220 commented Nov 9, 2026

Copy link
Copy Markdown
Member

Updates a variety of outdated things like v1 messaging, derivation, CLI flags, etc.

Part 1 of a few waves of updates with the docs.

@vercel

vercel Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
solana-program-docs Ready Ready Preview Nov 14, 2026 7:52am UTC

Request Review

@joncinque joncinque left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks great to me! @mcintyre94 can you double-check to make sure the CLI commands are correct and make sense?

|-------------------------|------------------------------------------------|
| Ed25519 Signer | `EdSigVfK1DkeMrjFNDMjwfQaJPhPTtX7jW8uPv3oKEgN` |
| Legacy Message Executor | `ExecxgyHYsAXB4c5dZodV1zJZ9hqfsDCYkRDRATrpkFR` |
| Message Executor | `ExecxgyHYsAXB4c5dZodV1zJZ9hqfsDCYkRDRATrpkFR` |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Doesn't really matter, but the table is off here

Suggested change
| Message Executor | `ExecxgyHYsAXB4c5dZodV1zJZ9hqfsDCYkRDRATrpkFR` |
| Message Executor | `ExecxgyHYsAXB4c5dZodV1zJZ9hqfsDCYkRDRATrpkFR` |

```sh
spl-programmatic-signer transaction simulate "$EXECUTION_MESSAGE" "$NONCE_ACCOUNT" \
--strip-transaction-config \
--change-for-authority "$AUTHORITY" \

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Might be good to document this parameter

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This param was renamed --signing-pubkey in solana-program/ed25519-programmatic-signer#122

It's also no longer necessary in most cases, we now automatically derive the programmatic signer of each account in the transaction to use for labelling. So this param is now additive, only needed if you want to label the programmatic signer of an account that isn't on the transaction.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Oh nice, will drop it then

This works because the authority signs a message that the program checks, so nothing expires with a blockhash. The program then acts through a PDA derived from the authority's key. That PDA holds the funds and serves as the authority for token, stake, and other accounts.

This offers an alternative to _Durable Nonces_, whose deprecation and removal are planned through SIMD-XXXX (forthcoming).
This offers an alternative to _Durable Nonces_, whose removal is proposed in [SIMD-0723](https://github.com/solana-foundation/solana-improvement-documents/pull/723).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🚀

```sh
spl-programmatic-signer transaction simulate "$EXECUTION_MESSAGE" "$NONCE_ACCOUNT" \
--strip-transaction-config \
--change-for-authority "$AUTHORITY" \

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This param was renamed --signing-pubkey in solana-program/ed25519-programmatic-signer#122

It's also no longer necessary in most cases, we now automatically derive the programmatic signer of each account in the transaction to use for labelling. So this param is now additive, only needed if you want to label the programmatic signer of an account that isn't on the transaction.

@mcintyre94

Copy link
Copy Markdown
Member

Other than the comment on simulate, these CLI commands LGTM!

Something not mentioned is the cold signing with --relay-signature for transaction submit. This is essential for migration, but relies on durable nonces and really shouldn't be used outside of that. But it may be worth mentioning with that context.

@grod220 grod220 left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Something not mentioned is the cold signing with --relay-signature for transaction submit. This is essential for migration

Will do, but migration page was untouched in this PR, so saving this for later.

```sh
spl-programmatic-signer transaction simulate "$EXECUTION_MESSAGE" "$NONCE_ACCOUNT" \
--strip-transaction-config \
--change-for-authority "$AUTHORITY" \

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Oh nice, will drop it then

This branch was successfully deployed

1 active deployment
Preview — 00d52173 Deployed Nov 14, 2026 by vercel[bot]
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.

3 participants