← All guides

How to mint your own token on Solana (no code)

By @solknifexyz · Reviewed

Minting your own token on Solana takes one transaction, costs about a hundredth of a SOL in rent and fees combined, and requires no code. The whole flow is a single signed instruction set: define what kind of token you want, who can mint more, who can freeze holders, and which Token-2022 extensions you want baked in from the start.

The two token programs

Solana has two SPL token programs that ship in genesis. The classic SPL Token program is the simpler, older one that the vast majority of memecoins and DeFi tokens use. Token-2022 is the newer one that adds optional extensions: transfer fees, interest-bearing balances, close authorities, and confidential transfers among them. Wallets and explorers handle both transparently.

Pick classic SPL Token when you want maximum compatibility and zero surprises: every wallet, every aggregator, every chart treats it as an ordinary token. Pick Token-2022 when you specifically need one of the extensions. The mint address you get is permanent either way, so the choice is final.

Decimals

Decimals is the number of fractional digits the token displays. USDC uses 6 (so 1 USDC = 1_000_000 base units on-chain), most memecoins use 6 or 9, NFTs typically use 0. Decimals is permanent. Picking 9 doesn't change your supply ceiling; it just shifts where the decimal point sits in every UI that shows your token. Six is the safe default for an asset; zero is right for a non-fungible token.

Authorities

A fresh mint has two authorities both pointing at your wallet:

  • Mint authority— the only key allowed to mint more supply. Keep it active while you're still distributing; revoke it once supply is fixed.
  • Freeze authority— the only key allowed to freeze any holder's token account, preventing them from transferring. For an ordinary fungible token this should almost always be revoked before public distribution. What a freeze authority is, in more detail.

SolKnife creates the mint with both authorities active and lets you revoke either one in a single follow-up transaction at any time. How to revoke them, when you're ready.

Token-2022 extensions (optional)

Pick these only if you genuinely need them. Every extension you add is a permanent property of the mint; you can't remove them later, and some interact with each other in non-obvious ways.

  • Transfer fee — a percentage skimmed off every transfer and routed to a fee-collection account. Useful for revenue models; will visibly cost holders on every move.
  • Interest-bearing — UIs show a continuously compounding amount instead of the raw on-chain balance. The on-chain number does not change; this is purely display logic and requires wallet support.
  • Close authority— lets a designated key close any holder's account. Niche; almost no token needs this.
  • Confidential transfer — hides transfer amounts via ElGamal encryption and ZK proofs while keeping sender and recipient public. How confidential transfer works covers what it does and what it doesn't.

What it costs

Two costs hit the wallet that signs the create-mint transaction:

  • Network fees + rent — about 0.0015 SOL total. The mint account itself is rent-funded (≈ 0.0014 SOL); the Solana network fee for the transaction itself is a few thousand lamports. The rent is permanent until the mint is closed, which fungible tokens almost never are.
  • SolKnife fee — a small flat lamport amount per mint created. Operator-set; the current value is on the pricing page.

The fees are baked into the transaction the server builds, pinned by the in-browser verifier before your wallet ever sees it. They can't be stripped or redirected without the verifier rejecting the whole transaction.

The flow, end to end

  1. Open the Create-mint tool and connect your wallet.
  2. Pick the token program (SPL or Token-2022), decimals, whether you want a freeze authority, and any extensions.
  3. SolKnife generates a fresh keypair for the mint address. You sign the create-mint transaction; the mint keypair signs as a co-signer (it's a single-use throwaway, server-held only long enough to assemble the transaction, then discarded). Server self-submits.
  4. You receive the mint address. Save it — every future operation on this token (mint supply, set metadata, revoke authority) uses this address.

What to do next

A bare mint exists on-chain but is anonymous: it has no name, no symbol, no image. Wallets and explorers will just show its address.