docs(finance/order-book): add walkthrough-script style guide#71
Closed
mikemaccana wants to merge 1 commit into
Closed
docs(finance/order-book): add walkthrough-script style guide#71mikemaccana wants to merge 1 commit into
mikemaccana wants to merge 1 commit into
Conversation
Distilled from review feedback while editing the order-book tutorial script. Captures conventions for narrating a Solana program's full lifecycle: per-handler account snapshots (one block per account, full fields, old->new deltas), on/off-curve labelling verified against code, TOKEN MOVEMENT FROM/TO blocks, and fee-accounting rules. Holding spot for content destined for quicknode/solana-claude-skill. https://claude.ai/code/session_01G6iaAjzg8aoFwe8ZWWG9VR
Collaborator
Author
|
Wrong repo, bot. |
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.
Adds
finance/order-book/docs/walkthrough-script-style.md— a style guide for narrating a Solana program's full lifecycle in tutorial/video scripts and README walkthroughs.Why
Distilled from review feedback while editing the order-book tutorial script. Several conventions needed multiple rounds to land correctly; this captures them so the next walkthrough starts from the right defaults.
What it covers
ADDED/UPDATEDblock per account, full fields shown, changes markedold -> new(no consolidating multiple accounts under one heading, no deltas-only blocks).init+token::authoritywith noseedsare on-curve keypairs (only their authority is a PDA); large zero-copy accounts are client keypairs, not PDAs; ATAs are off-curve PDAs even though their owning wallet is on-curve.TOKEN MOVEMENTFROM/TO blocks wherever tokens move, annotated by kind (lock / fee sweep / payout / refund), andnoneon counter-only steps.Verification
Docs-only change; no code touched.
https://claude.ai/code/session_01G6iaAjzg8aoFwe8ZWWG9VR
Generated by Claude Code