ShainShain/docs
Shain/Docs/Glossary
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

TermMeaning
SessionA 24-hour window opened by a $SHAIN holder. Written as a per-holder PDA on-chain.
Gate / gated_actionThe on-chain hook downstream dapps CPI into to prove the caller has an active session. Increments an action counter on success.
HolderA Solana wallet carrying at least min_holding of $SHAIN. The only wallets that can open a session.
TagAn opaque u64 passed to gated_action. Shain does not interpret it; integrating dapps use it to label call sites.
TreasuryA PDA-owned ATA that accrues session fees. No admin key can withdraw; dispositions are published in the changelog.
ExpiryThe expires_at field on a session PDA. After this unix second, the session is no longer active.

Solana terms

TermMeaning
PDAProgram-derived address. An account address deterministically derived from seeds plus a program id. Off-curve — controlled by the program, not by a private key.
CPICross-program invocation. One Solana program calling another within the same transaction.
ATAAssociated Token Account. The canonical per-(owner, mint) SPL token account.
SlotSolana'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.
RentSOL paid to keep an account alive on-chain. Shain's session PDA rent is refunded to the owner on close_session.
DiscriminatorFirst 8 bytes of an Anchor account. Identifies the account type. Strip before deserializing manually.
AnchorRust framework for Solana programs. Shain is a plain Anchor crate with no exotic macros.
IDLInterface Description Language. JSON spec of a program's instructions and accounts. Shain ships one at idl/shain.json.

Degen / trading terms

TermMeaning
SniperBot that reads the mempool, detects a token launch or large buy, and front-runs or copies within a slot.
Copy-trader / mirror botBot subscribed to confirmed transactions that mirrors profitable wallets automatically.
MEVMaximal Extractable Value. Profit extracted by observers who can reorder, insert, or censor transactions.
MempoolThe set of unconfirmed transactions visible to validators and observers. On Solana, the concept is looser but pre-confirmation visibility still exists.