FIG. 06LEARN

How Lattice works

The idea in one line: a mechanic your token can't break its own promise on. A fair launch, a buyback-and-burn, or holder rewards — welded to the coin and enforced by Solana inside every trade, not by a bot or a team you have to trust. Plain-English first, jargon optional. Ready to build? Open the launchpad.

What is a Lattice token?

Every Solana token can carry a — a tiny program that runs whenever the token moves and can allow or block the trade. Lattice turns that into a menu of behaviors you configure without code, then launches your token onto an exchange with the behavior welded on. The result is a coin that does something on every trade, provably, forever.

FIG. ATHE MOMENT OF A TRADE
Someone buys
tokens start moving
Your rule runs
the hook checks the trade
allowed — trade goes through
blocked — trade reverts
A transfer hook is a tiny program that runs the instant your token moves. It sees the trade and decides: let it through, or stop it. It's welded to the coin — it fires on every buy and sell, even on exchanges, and can't be skipped.

How a launch works

FIG. BLIFE OF A LAUNCH
1
Describe it
name, symbol, image
2
Create token + pool
one signature
3
Activate the node
your rule goes on-chain
4
It's live
tradeable, and running
Every step is signed by your wallet — Lattice never holds your keys or your token. If a step fails, you pick up where you left off.

You describe the token, pick a behavior, and sign a couple of transactions. Lattice assembles them; your wallet approves each one. A minute later it's tradeable and its rule is running.

Start here: the three mechanics

Most people want one of three things. Each is a preset in the launchpad — pick it and tune the numbers.

The full library

The presets are built from these. In total, 46 on-chain behaviors across six families — most are advanced or experimental, there for anyone who wants to build something stranger. Each is a real program; tune the details in the launchpad.

Caps
Breathing cap✓ meteora

The most anyone can buy at once rises and falls on a timer — automatically, forever.

Chapters✓ meteora

The buy limit doubles each time the token crosses a volume milestone.

The Vise✓ meteora

The buy limit shrinks over time toward a floor — a clock-driven squeeze.

Holder vesting◑ custom client

Each wallet unlocks its bag on its own clock — anti-dump by construction.

Growing holder cap◑ custom client

A cap on how many wallets may hold at once, widening on a fixed clock; a seat is taken when a balance goes zero to non-zero and freed when it returns to zero.

Presale + public launch◑ custom client

Presale-window buyers vest on a schedule; everyone after buys liquid. Your class is set by your first buy.

Conviction cap◑ custom client

Your own buy limit grows the longer you hold without selling, up to a ceiling; selling resets it.

Graduated sell caps◑ custom client

The bigger your bag, the less you can sell in one trade.

Max per wallet◑ custom client

A hard per-wallet cap — the hook tallies each wallet's buys and rejects the trade that would push it over. The slot is created on the wallet's first buy.

Anti-dump caps✓ meteora

A loose cap on buys and a tight cap on sells — enforced in the swap.

Dynamics
Momentum✓ meteora

Buying revs the buy limit up; a quiet market lets it wind back down.

Coupled resonator✓ meteora

Two oscillators inside the token trade energy back and forth — the limit beats.

Emission
Halving mining✓ meteora

Every trade mines a reward token into an auto-created vault on a halving schedule; holders stake the coin to claim their pro-rata share.

Dump-catcher✓ meteora

Every sell burns a slice of the reward token — automatic, on-chain.

Jackpot✓ meteora

A 1-in-N trade mints a payout to the vault — you set both the odds (1 in N) and the multiple; holders stake to claim pro-rata.

Rewards
Buyback & burn✓ meteora

Trading fills a reward vault; a permissionless burn keeps it scarce.

SOL dividends◑ custom client

Every buy pays a SOL dividend to the buyer — claimable, real yield.

Token dividends◑ custom client

Every buy pays the buyer your reward token — claimable, per holder.

Real-asset dividends◑ custom client

Every buy pays the buyer real USDC (or any token), straight to their wallet.

Milestone treasury◑ custom client

The hook counts distinct holders; each milestone crossed frees one tranche of a treasury locked at launch to a fixed address.

Abandonment refund◑ custom client

Every trade resets a clock. Go untraded for the configured window and the locked treasury opens for pro-rata claims by holders.

Referral rewards◑ custom client

Each buy's dividend is split between the buyer and whoever referred them; the link is bound on-chain and permanent.

Diamond-hand dividend◑ custom client

Hold longer, earn bigger SOL dividends — selling resets your streak.

Reactive
Reactive pair✓ meteora

Your buy limit loosens when a partner token is bought and tightens when it's dumped.

Entangled✓ meteora

Locked until a partner token trades enough volume, then unlocks forever.

Weighted index✓ meteora

Your limit tracks a weighted basket of other tokens — a sector index as a coin.

Inverse pair✓ meteora

Tightens as a rival runs hot, loosens as it cools — anti-correlated rotation.

Basket index✓ meteora

The cap tracks an equal-weight basket of reactive-family tokens — a sector index as a coin (a separate program from the weighted index).

Beacon✓ meteora

A freely-tradeable token whose trading volume is published on-chain as a trigger for entangled tokens.

Guards
Trade guard✓ meteora

No single trade can exceed a fixed share of supply. Simple, fair anti-whale.

Anti-sniper✓ meteora

Only N trades per block, so a bundle can't atomically sweep the launch.

Price floor✓ meteora

Trading halts below a set price — a hard on-chain price guard.

Tiered membership◑ custom client

The gate token is read as an amount, not a yes/no: more held means a bigger per-trade buy limit, and the top rung has none.

Membership dues◑ custom client

Hold a membership token AND pay dues to receive it.

Wallet cooldown◑ custom client

Each wallet must wait N blocks between receives — an independent, per-wallet anti-spam throttle created lazily on first buy.

DEX-only✓ meteora

Reads its CPI call depth to block plain wallet transfers, so the token only moves through a DEX.

P2P-only✓ meteora

The inverse — blocks DEX-routed transfers, so the token only moves wallet-to-wallet (non-tradeable / airdrop-locked).

Venue-locked✓ meteora

Trades only through the official pool — no off-book wallet moves.

Enforced royalty◑ custom client

Every trade pays you a royalty — on-chain, unavoidable.

Tithe token◑ custom client

Every trade donates to a cause you choose — by construction.

Allowlist token◑ custom client

Only wallets on your list can buy and hold it.

Rolling waitlist◑ custom client

An allowlist you widen in waves after launch, then freeze permanently when signups close.

Exit toll◑ custom client

Sells pay a fee scaled to the tokens sold; buys are free. Priced per token — a hook can't see value.

Gated launch◑ custom client

Allowlisted while it bonds; graduation lifts the hook and it opens to everyone automatically.

Market monitor✓ meteora

Tells buys from sells, throttles buys per block (anti-bundler), and keeps live buy/sell counts + volumes on-chain as a readable feed.

Holder-gated◑ custom client

To receive, a wallet must already hold a gate token you pick (membership token, NFT, another coin) — allowlist-by-holding, no address list.

Experimental: the physics inside

This is the deep end — not something most tokens need, but proof of how far the enforcement goes.

The experimental behaviors aren't metaphors — the hook runs a real oscillator. It can breathe on a clock, gain and lose energy from trades, resonate with rhythmic buying, and even couple two oscillators that trade energy in beats. All proven on live exchange swaps.

Is it safe? What are the limits?

FIG. CWHY IT CAN'T BE FAKED
Welded to the coin

The rule lives on the token itself, not on our servers or a bot.

Runs inside the swap

It executes as part of the exchange trade — there's no path around it.

Can be made permanent

Revoke the authority at launch and nobody — not even you — can change the rule.

Most token “mechanics” are promises enforced by a team. A Lattice rule is enforced by Solana itself, on every transfer. That's the difference between a claim and a guarantee.

A Lattice token is deliberately honest. It reacts on each trade — it doesn't run a background bot between trades. It can allow or block a trade and update its own state; it cannot secretly move your coins or rewrite a trade. On a permanent curve, the rule can never be changed by anyone.

For builders

Everything is readable over a keyless, CORS-open API. Fetch the directory, a node's decoded live state, or its history.

GET /api/v1/nodes
GET /api/v1/node/<mint>
GET /api/v1/node/<mint>/history
GET /api/v1/graph

Your token is an oracle.A node's hook maintains a live, trade-driven metric (volume, buy/sell pressure, its cap) in an on-chain account — so any Solana program can read a Lattice coin as a price/activity feed, no external oracle needed. The /api/v1/node/<mint>endpoint returns that same decoded state off-chain.

Ready to build one?

Open the launchpad →