Reference
Glossary
Vocabulary used across the Shain docs and the wider Solana ecosystem. Two columns: the term, and what we mean when we say it.
Shain terms
| Term | Meaning |
|---|---|
| Session | A 24-hour window opened by a $SHAIN holder. Written as a per-holder PDA on-chain. |
| Gate / gated_action | The on-chain hook downstream dapps CPI into to prove the caller has an active session. Increments an action counter on success. |
| Holder | A Solana wallet carrying at least min_holding of $SHAIN. The only wallets that can open a session. |
| Tag | An opaque u64 passed to gated_action. Shain does not interpret it; integrating dapps use it to label call sites. |
| Treasury | A PDA-owned ATA that accrues session fees. No admin key can withdraw; dispositions are published in the changelog. |
| Expiry | The expires_at field on a session PDA. After this unix second, the session is no longer active. |
Solana terms
| Term | Meaning |
|---|---|
| PDA | Program-derived address. An account address deterministically derived from seeds plus a program id. Off-curve — controlled by the program, not by a private key. |
| CPI | Cross-program invocation. One Solana program calling another within the same transaction. |
| ATA | Associated Token Account. The canonical per-(owner, mint) SPL token account. |
| Slot | Solana's block equivalent. ~400ms wall time. Used by the runtime clock that Shain reads for expiry checks. |
| Compute units (CU) | Measure of transaction execution cost. Shain's instructions are all under 5k CU each. |
| Rent | SOL paid to keep an account alive on-chain. Shain's session PDA rent is refunded to the owner on close_session. |
| Discriminator | First 8 bytes of an Anchor account. Identifies the account type. Strip before deserializing manually. |
| Anchor | Rust framework for Solana programs. Shain is a plain Anchor crate with no exotic macros. |
| IDL | Interface Description Language. JSON spec of a program's instructions and accounts. Shain ships one at idl/shain.json. |
Degen / trading terms
| Term | Meaning |
|---|---|
| Sniper | Bot that reads the mempool, detects a token launch or large buy, and front-runs or copies within a slot. |
| Copy-trader / mirror bot | Bot subscribed to confirmed transactions that mirrors profitable wallets automatically. |
| MEV | Maximal Extractable Value. Profit extracted by observers who can reorder, insert, or censor transactions. |
| Mempool | The set of unconfirmed transactions visible to validators and observers. On Solana, the concept is looser but pre-confirmation visibility still exists. |