gl36

Installation
SKILL.md

GL-36

GL-36 stores an NFT collection in a single Solana account. A token is not an SPL token: it has no mint, token or metadata account. It is a 36-byte slot in its collection's account, holding who owns it and what they ask for it. Listing, buying and transferring are instructions of the same program that mints, so trading needs no marketplace program, no escrow and no indexer.

Keep this model in mind, because it changes how integrations should be written:

  • One read gives everything. getAccountInfo on the collection returns every owner and every listing. There is no indexer or DAS API to query, and none is needed.
  • A token is (collection address, id). Ids are 0 to minted − 1, in mint order, never reused.
  • Content is computed, not stored. A collection pins the sha256 of its generator; content is generated off-chain from a seed once the collection is settled. There is no URI or JSON metadata to fetch.
  • No royalties. A collection may set one market fee (0–10%) paid to its treasury on every sale.

Status: program GtUakBxu2UXwv68PkLYmkzyAUtLXwqhtbi7W8GUmPmTb (PROGRAM_ID.mainnet) on Solana mainnet. It has not been audited; say so before a user puts real funds into it.

Setup

npm install @gl-36/sdk @solana/kit
Installs
1
GitHub Stars
1
First Seen
7 days ago