08The programOne program on Solana carries out everything on these pages.
This chapter says what it does, what its admin can change, and what nobody can. The panel below is read from the chain by your own browser.
Reading from the chain
GdsnBZC5AYC71eBd4ELED86vo552NPRQqbGtQ6LWbUtN
- Network
- Solana devnet
- Coins registered
- Cut on share sales
- Can never be set above 10%.
- Code can be replaced
- By the key that deployed it, while that key exists.
- Meteora settings every coin uses
What the program does
It has thirteen instructions. Eleven are the ones people use:
- Launch
- Register a coin, in the same transaction that creates it on Meteora.
- Mint
- Mint the next share, on the curve or after graduation.
- Harvest
- Move a coin’s fees from Meteora into its vault. Three variants, for the curve, the graduated pool and the SOL left on the curve at graduation.
- Claim
- Pay a share’s fees to its holder, or the launcher’s part to the launcher.
- Market
- List a share, take it off the market, buy a listed share.
The other two set up and change the platform settings, and only the admin can call them.
What the admin can change
- Settings for new coins
- Which Meteora settings new launches must use. Coins that already exist keep theirs.
- The market cut
- Applies to every share sale from then on, for all coins. Never above 10%.
- Where the cut is paid
- The wallet that receives the platform’s part of share sales.
- The admin itself
- The admin can hand the role to another key.
Checked in the proof run
- Only the key that deployed the program could set the platform up.
- A stranger could not change the platform settings.
What nobody can change
The program has no instruction for any of these, for the admin or anyone else:
- Taking SOL out of a coin’s vault, other than paying a share’s holder or the launcher what they are owed.
- Changing a coin’s share price, its fee split or its number of shares.
- Handing a coin’s creator role to anyone.
- Moving, freezing or taking back a share that someone holds.
- Minting a share without the price being spent on buying and burning the coin.
Checked in the proof run
- After launch, Meteora refused the launcher’s own attempt to collect the creator fees.
- A stranger could not claim on someone else’s share, and could not take the launcher’s part.
- At the end of the run the vault held what was owed, plus under 100 lamports of rounding.
The honest caveat
The list above describes the program as it is now. Like most Solana programs, its code can be replaced by the key that deployed it, and new code could do things this code cannot. The panel at the top of this page shows whether that key still exists.
Not yet done
What it is built on
- Meteora DBC
- The bonding curve every coin starts on.
- Meteora DAMM v2
- The pool a coin graduates into.
- Metaplex Core
- The NFT standard the shares use.
The program calls these directly. It does not copy or replace any part of them, so a coin launched here is an ordinary Meteora coin and a share is an ordinary Core NFT.