Developer Cookbooks
Welcome to the Limit Break developer cookbooks — curated collections of modular design patterns and implementation examples.
Each cookbook focuses on a specific aspect of the Limit Break protocol stack and is intended to help you build faster, smarter, and more creatively using programmable primitives.
📘 Apptokens Cookbook
Unlock programmable token behavior tailored to your app. The Apptokens Cookbook covers how to design tokens with custom logic, enforcement rules, and ecosystem-specific constraints. Learn how to:
- Require client-side app interaction or task completion to unlock token utility
- Restrict trades to specific pairs, price ranges, or allowlisting rules
- Encode compliance, vesting, expiries, or seasonal windows directly in the token
- Design spend-only tokens for utility, rewards, or promotional campaigns
- Launch backed tokens with guaranteed redemption logic and monetizable spends
Perfect for: game devs, token engineers, consumer apps, RWA platforms, and compliance-focused teams
🔁 AMM Cookbook
Build custom markets with programmable liquidity. The AMM Cookbook explores how to use LBAMM’s hook-based architecture to create tailored trading logic, enforce swap rules, and monetize liquidity flows. Learn how to:
- Design dynamic fee systems that reward loyalty or penalize bots
- Restrict trades based on NFT ownership, KYC status, or game progression
- Implement oracle-driven pricing, custom AMM curves, or fixed-rate swaps
- Gate access to liquidity or pool creation based on user roles or reputation
- Reward swappers and LPs with custom tokens, assets, or in-game perks
Perfect for: market designers, game studios, compliant DeFi protocols, hook developers, and token teams building advanced liquidity mechanics
