Skip to content

Add Editing Quasar Programs section#9

Open
mikemaccana wants to merge 1 commit into
quicknode:mainfrom
mikemaccana-edwardbot:quasar-editing-additions
Open

Add Editing Quasar Programs section#9
mikemaccana wants to merge 1 commit into
quicknode:mainfrom
mikemaccana-edwardbot:quasar-editing-additions

Conversation

@mikemaccana
Copy link
Copy Markdown
Collaborator

@mikemaccana mikemaccana commented Apr 29, 2026

Capture the Quasar rules learned from porting asset-leasing. Quasar is the lower-level framework used for performance-sensitive ports of Anchor programs; most of the surface looks like Anchor but several conveniences are missing or different (no realloc, no close, no CpiContext, account state numeric fields are Pod-wrapped, log() takes static strings only, account structs need explicit lifetimes).

Use the same program ID across the Anchor and Quasar binaries so off-chain tooling that derives PDAs works against either build with no changes.


Note

Low Risk
Documentation-only changes; no runtime, build, or security-sensitive code is modified.

Overview
Updates the skill docs to explicitly cover Quasar alongside Anchor, including refreshed README.md/frontmatter wording so the skill is invoked for both frameworks and their configs (e.g., Quasar.toml).

Adds a new "Editing Quasar Programs" section to SKILL.md documenting Quasar-specific constraints and gotchas (shared program ID with Anchor for PDA derivations, Pod-wrapped numeric fields, log() static-string limitation, explicit lifetimes, and lack of realloc/close constraints and CpiContext).

Reviewed by Cursor Bugbot for commit 63635df. Bugbot is set up for automated code reviews on this repo. Configure here.

Capture the Quasar rules learned from porting asset-leasing. Quasar is
the lower-level framework used for performance-sensitive ports of
Anchor programs; most of the surface looks like Anchor but several
conveniences are missing or different (no realloc, no close, no
CpiContext, account state numeric fields are Pod-wrapped, log() takes
static strings only, account structs need explicit lifetimes).

Use the same program ID across the Anchor and Quasar binaries so
off-chain tooling that derives PDAs works against either build with
no changes.
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