Skip to content
DEVFRIDGEHACKATHON / BUILD SEASON

GUIDE 03 / PREPARATION EDITION

Timelocks & community retention

Give a community token a use inside a game: a time-bound access commitment.

What a DevFridge timelock is

A player deposits a supported Solana Token-2022 token into a vault controlled by the DevFridge program (9RY54dNPYTzDyh3TfFqDdt2b2KMM56KW1tw9erRTGQo6) and chooses an unlock time. The vault records the depositor, mint, amount and expiry. The original depositor can redeem after expiry under the program’s rules; there is no early withdrawal.

Games using this stack read timelocks in the existing DevFridge Solana program. Each game defines its supported mint, minimum amount and duration rules. It does not need to deploy its own token vault. A wallet connection alone does not prove that a qualifying lock exists.

The problem it addresses

A meme can attract attention without giving holders an ongoing activity. A game turns shared identity into something to do together. A voluntary timelock ties access to a commitment period, while challenges, friends, progress and fresh content give players reasons to use that access.

Locked tokens cannot be sold from the vault before expiry. That does not prevent selling other holdings, guarantee retention or make a token’s price rise. The game must be worth returning to; the lock is an access mechanism, not a substitute for fun.

Tokenized games, Token-2022 identity and the open market

In this hackathon, a tokenized game connects a community’s existing fungible token to a playable identity or feature. The skill maps the verified mint to the character’s art, lore, mood or music, then builds game access around a qualifying DevFridge lock. The same mint remains the community token traded on its existing market, such as Pump.fun where listed. This does not mean token holders own the game, character IP or game revenue.

Why Token-2022? It is the token program accepted by the current Fridge program, and its metadata extensions provide a standard way to identify a mint. MetadataPointer identifies where metadata lives. TokenMetadata can hold name, symbol, URI and custom key-value fields. The URI can point to JSON with an image, description, game website and community/social links. Metadata helps wallets, explorers and game tools present the character identity; it does not contain the game code or enforce access. A mint may instead use Metaplex metadata, so verify the actual mint and client support. The Fridge program checks Token-2022 locks and does not read or write metadata. See the [Solana metadata extension guide](https://solana.com/docs/tokens/extensions/metadata).

For a Pump.fun community, a game gives its meme a playable use: holders can enter as the character, share the experience and return for challenges or new content. That may make the same token more relevant to people who want to play and may create additional demand. It is a potential market effect, not guaranteed adoption, retention or appreciation. Tokens inside an active vault cannot be sold or withdrawn before the depositor’s chosen unlock time. After expiry, the same wallet can redeem: 2% of the redeemed amount buys and burns PASTA, or is burned directly if the locked mint is PASTA; the remainder returns subject to route and network costs.

Later players do not pay earlier players. The program does not encode audience size into the token or set its market cap. Open-market price and liquidity can rise or fall; a lock gives no price floor or promised return, and the depositor cannot sell the locked balance early.

Design an honest access policy

  • Show the exact mint, human-readable minimum, lock duration, unlock timestamp and benefit before the user signs.
  • State whether multiple locks of the same mint are summed or one vault must qualify. Never add amounts across different tokens.
  • Define expiry behaviour: when eligibility ends, how progress is preserved and whether practice play remains available.
  • Choose an accessible threshold for your own community. World’s 500,000-token rule and ten-character roster are not hackathon defaults.
  • Never require a token purchase or mainnet deposit just to inspect a submission. Provide a labelled practice mode and a gate demonstration.

Redemption and the 2% service fee

The current documented redemption flow charges 2% of redeemed tokens, plus separate network costs. The fee applies on redemption whether the player later sells or keeps the tokens. It is not a tax on every token sale and it does not allow early exit.

The fee is used for PASTA buy-and-burn through Jupiter, or direct burning for PASTA. This is the ecosystem’s developer-support model; it is not a direct infrastructure treasury payment or a guarantee of developer income. Non-PASTA redemption needs an executable Jupiter route. A new or illiquid Pump.fun token may not have one: check route availability and explain this limitation before users lock.

The exit cost can make repeated entry and redemption less attractive, but it is modest and must be disclosed. Motivate players with a good experience rather than pressure, price promises or hidden fees.

What “verified” does and does not mean

A verified build lets people compare deployed bytecode with a reproducible source build. Embedded security.txt metadata describes security contacts and policies. Neither is an independent audit or a guarantee that funds are safe.

The program is upgradeable. Review its current authority, source, verification evidence and published security notes. Team checks and on-chain audit records must be described precisely; do not turn them into claims of an independent audit. Do not promise that a lock protects against token price losses.