Building a Prompt Library
As you develop multiple dApps, maintain a Prompt Library – a collection of reusable prompt templates. This improves consistency and saves time across projects.
Template Example:
Create a Solana Anchor program that initializes a new account storing a u64 counter. Include functions to increment and reset the counter. Only the original initializer should be allowed to reset it.
Organize by Category: Examples: SPL Token Creation, NFT Minting with Metadata, Validator-Only Instructions, DAO Voting Logic, etc.
Platform-Specific Shortcuts: Use any native tools Nyvo supports (e.g., snippets for Anchor, CPI calls, Solana RPCs).
Last updated