Page cover

2️⃣Optional

Features available in "Optional" section in 20lab token generator for SPL tokens.

Mintable

This feature determines whether you want to retain the minting authority or revoke it immediately after token creation.

How It Works

With minting authority, you can mint new tokens to any address of your choice. This function does not have a maximum cap, which means minting can be done continuously as long as the authority is not revoked.

Revocation

Once you revoke mint authority, no new tokens can ever be created. This makes your token's supply permanently fixed.

Non-transferable

Non-transferable tokens are part of the Token-2022 extension program on Solana. This feature allows you to create tokens that cannot be transferred after being received through minting.

How It Works

  • Minting only: Tokens can only be received through minting

  • No transfers: Holders cannot send tokens to other addresses

  • Burning allowed: Each holder can burn their own tokens

  • Requires mintable: This feature requires the Mintable function to be enabled

Important Warnings

Freezable

The Freezable feature is similar to a blacklist function. With freeze authority, you can freeze selected addresses and prevent them from transferring tokens until they are "unfrozen."

How It Works

  • Individual control: Freeze specific wallet addresses

  • Transfer blocking: Frozen addresses cannot send or receive tokens

  • Reversible: Frozen addresses can be unfrozen by the freeze authority

  • Authority-based: Only the freeze authority can freeze/unfreeze addresses

Transfer tax

Transfer tax from Solana's Token-2022 program is a powerful feature that allows you to charge a specified fee on each transaction.

Basic Configuration

You need to configure two main settings: the tax rate (percentage of tokens charged for each transaction) and the maximum fee per transaction (which caps how much tax someone pays regardless of transaction size).

Example: With a 5% tax rate and 40,000 token max fee, a 1,000,000 token transfer would normally cost 50,000 tokens in tax, but gets capped at 40,000 tokens. This benefits larger transactions since they pay less than the standard percentage once they hit the cap. Setting the max fee to 0 turns off the tax completely.

Authority Management

Transfer tax introduces two important authorities. The Config Authority can modify tax rates and max fees, but changes take about 4 days to take effect, giving users time to react to changes. The Withdraw Authority can withdraw accumulated taxes from holder accounts, and our dashboard automatically finds and withdraws pending fees when needed.

Operating Modes

You can operate in Wallet Tax Mode where the withdraw authority collects accumulated taxes for project use, or Auto-Burn Mode where you revoke withdraw authority while keeping tax rates above 0%, effectively burning all collected fees and creating a deflationary mechanism.

Use Cases and Planning

Transfer tax is useful for revenue generation, deflationary mechanics, trading fees, or governance funding. When planning, consider how fees affect user experience and adoption, research tax rates used by similar projects, plan authority distribution carefully, decide between revenue collection and deflationary models, and clearly communicate tax mechanics to your community.

Last updated

Was this helpful?