Tessera documentation

Tessera is a protocol for issuing community membership badges on Avalanche that cannot be transferred or sold, and that can be redeemed for the money that was locked to mint them.

Overview

A Tessera badge is an ERC-721 token with two properties that ordinary NFTs do not have. It is permanently bound to the wallet that minted it, and the price paid to mint it is held in escrow by the collection contract rather than being forwarded to the creator.

Together those two properties remove the secondary market entirely. There is no listing, so there is no floor price. There is no floor price, so there is no reason to acquire a badge other than wanting to be a member. And because the escrowed amount can be reclaimed at any moment by burning, being bound never means being trapped.

Badge lifecycle

Every badge moves through exactly three states, and there are no other transitions.

StateHow it is enteredWhat the holder can do
UnmintedCollection deployed with a supply capMint, if a phase is open and the wallet is eligible
HeldmintPublic() or mintAllowlist(), paying the phase priceUse the badge for access. Burn it. Nothing else.
Burnedburn(tokenId) by the holderReceives the escrowed amount. The token is gone permanently.

Notably absent: sold, listed, transferred, gifted, wrapped, fractionalised, lent, or used as collateral. None of those transitions exist in the contract.

Escrow accounting

The escrow is tracked per token, not per collection. When a badge is minted, the contract records exactly how much was locked against that specific token id. The refund on burn reads that stored number.

This matters because a creator can change the mint price between phases. An allowlist member who paid less must get back exactly what they put in, and a public minter who paid more must get back exactly what they put in. Per-token accounting makes that automatic, and it makes the contract's liability the exact sum of what it is holding. It can never promise more than it has.

mint()
  msg.value            = price for the active phase
  fee                  = price * 1000 / 10000        // 10%, sent to the protocol
  escrowOf[tokenId]    = price - fee                 // stays in this contract
  totalEscrowed       += escrowOf[tokenId]

burn(tokenId)
  require(ownerOf(tokenId) == msg.sender)
  amount               = escrowOf[tokenId]
  escrowOf[tokenId]    = 0                           // effects before interaction
  totalEscrowed       -= amount
  _burn(tokenId)
  transfer amount to msg.sender                      // no fee on exit
Invariant

The contract's balance is always greater than or equal to totalEscrowed. Every badge in existence is fully backed by the funds needed to redeem it, at all times, with no dependency on future mints.

Why bound, and not merely discouraged

There are softer ways to fight flipping, and all of them have been tried. Transfer taxes, cooldown periods, holding-duration scores that reset on transfer, snapshot windows, marketplace blocklists. They share one assumption: that the badge should still be sellable, and that selling should simply be made expensive.

That assumption is what fails. As long as a sale is possible, a price exists. As long as a price exists, the badge is an asset, and the community's roster becomes a function of who is willing to pay rather than who chose to show up. A penalty changes the number. It does not change the nature of the thing.

Tessera takes the other branch. Transfers revert. The badge follows EIP-5192, the minimal soulbound token standard, so locked(tokenId) returns true and a Locked event is emitted at mint. Marketplaces and wallets that implement the standard will not offer to list it.

Contracts

TesseraFactory

One deployment per network. It creates collections, keeps the registry of everything created through it, and holds the protocol fee configuration. Creators never touch the factory's funds and the factory never touches a collection's escrow.

TesseraCollection

One per community. An ERC-721 with escrow, phases and lock semantics. The creator owns it and controls the phases and metadata, but has no path to the escrowed funds.

What the creator cannot do

There is no withdraw function, no owner-only sweep, no upgrade proxy, and no path that moves escrowed funds anywhere except back to the holder who burned. The creator's control ends at metadata and phases.

Fees

ActionFeeWho receives it
Deploying a collectionNoneGas only
Minting a badge10% of the mint priceProtocol
Burning a badgeNoneHolder receives the full escrow
Secondary saleNot applicableThere is no secondary market

The fee is charged once, on the way in, and never again. A member who joins and later leaves has paid 10% of the mint price for the entire period of membership. If a community sets its price at one dollar, that is ten cents.

Design decisions

The creator receives nothing from mints

This is deliberate. The moment mint revenue flows to the creator, the incentive shifts from building a roster to maximising mints, and the product turns back into a sales funnel. Tessera is a membership tool, not a fundraising tool. Communities that want to raise money have many good options and this is not meant to be one of them.

The price can be tiny

The escrow is not there to filter people by wealth or to prove commitment through cost. Its job is to make burning meaningful and to give the badge a defined redemption value instead of a market-discovered one. A one dollar mint achieves that as well as a hundred dollar mint.

Exit is a first-class action

Most soulbound designs treat leaving as a failure case, if they handle it at all. Tessera treats it as normal. People drift out of communities and that is healthy. Making exit clean and free, with the money returned, is what makes binding the badge fair in the first place.

Honest limitations

Three things this design does not solve, stated plainly.

Someone can sell the wallet itself

No on-chain mechanism can prevent a person from handing over the private key of a wallet that holds a badge. This is inherent to every soulbound design. In practice it is a weak channel: the buyer must take on everything else in that wallet and must trust that no copy of the key was kept. It raises the cost of a transfer from one click to a risky private negotiation, which is the realistic goal rather than perfect prevention.

The locked capital sits idle

Escrowed funds earn nothing in the current design. That is a real cost to members, paid in opportunity rather than fees. Routing the pool into a conservative yield source, with the redemption guarantee preserved, is on the roadmap but is deliberately not in the first version. Adding a yield dependency to a contract whose main promise is your money is always there is not something to do before the base layer has been audited.

Sybil is reduced, not eliminated

One person can still hold badges in many communities through many wallets. Tessera does not claim to solve identity. What it removes is the profit motive: with no resale value and no appreciation, collecting badges across forty communities costs money and returns nothing.

FAQ

What stops a community from just using a normal NFT?

Nothing, and many should. Tessera is for the case where the community explicitly does not want its badges traded, and has watched a normal collection get flipped.

Can a badge be revoked by the creator?

No. Only the holder can burn. A creator who could confiscate memberships would be a worse counterparty than the market.

What happens if everyone burns at once?

Every burn is paid from that token's own escrow, so a full exit is always solvent. There is no shared pool to drain and no ordering advantage in leaving early.

Does it work with Discord token gating?

Yes, a Tessera badge is a standard ERC-721 for read purposes, so existing gating tools can verify it today. Deeper integrations are Phase 4.

Why Avalanche?

Low and predictable fees matter when the mint price itself might be one dollar, and Avalanche's community layer is unusually organised around real local chapters, which is exactly the shape of user this protocol serves.