1. Executive Summary
The SGA standard (SolanaGetAccountInfo), offers a unique solution to the challenges faced by NFT collections on blockchains with infinite account possibilities, like Solana. It contrasts with the methods used in Bitcoin's ordinals theory, which is suitable for a finite system like ordinal theory with Bitcoin's 21 million coins, and fixed number of sats. The SGA standard focuses on maintaining aesthetic consistency and ensuring that NFT data is easily recoverable and verifiable by users without reliance on external NFT infrastructure.Verify, don't trust.
2. Key Details
SGA Standard Overview:
- Designed for Solana's infinite Program Derived Accounts (PDAs).
- Utilizes base64 encoding, allowing human readable NFT data recovery and validation directly from the chain.
- Emphasizes user verification over trust in external providers.
Aesthetic Considerations:
- Deployed using a vanity keypair for visual appeal.
- Maintains consistent numbering and on-chain storage aesthetics.
Technical Implementation:
- PDAs are seeded with on-chain Metaplex data (Collection, Signer, Seed).
- Metaplex NFT metadata is updated to point to the SGA standard URI.
- Negative seeds are used for mapping back to the Metaplex standard.
Metaplex Compatibility:
- Full compatibility with existing Metaplex infrastructure.
- No migration needed for existing collections.
- Allows for on-chain image display from the NFT data.
Resilience and Accessibility:
- Even if the SGA service is discontinued, the URI schema allows for data recovery.
- Accessible to anyone with basic technical skills, such as using ChatGPT.
Unique Numbering System:
- Avoids the limitations of ordinal theory's global numbering.
- Allows collections to define their own numbering sequences.
Comparison with Bitcoin's Ordinals:
- Ordinals inscribe data on finite Bitcoin satoshis, leading to non-sequential numbering in collections.
- Solana's infinite PDAs require a different approach for aesthetic on-chain data storage.
Current Project Status:
- Contract updated for reduced state bloat and efficient data fetching.
- Collection renumbering planned to reflect final supply and maintain aesthetics.
Cost and Quality Considerations:
- Inscription cost per NFT is 0.3 SOL ($30), with a total collection cost of about 500 SOL ($35,000).
- Emphasis on high-quality on-chain implementation.
3. Footnotes
Program Derived Accounts (PDAs): Special accounts in Solana used for various purposes, including NFT data storage. They are not directly owned by users but are associated with specific programs (smart contracts).
Base64 Encoding: A method of converting binary data into a text string, making it easier to handle and transmit.
Metaplex Standard: A protocol on Solana for creating and managing NFTs.
Ordinals Theory: A concept in Bitcoin where individual satoshis (the smallest unit of Bitcoin) are uniquely numbered, allowing for the attachment of data to specific satoshis.
URI (Uniform Resource Identifier): A string of characters used to identify a resource, often used in NFT metadata to point to the location of the NFT's associated data.