1B+ transactions on IDX ecosystem
IDX community
Home
Create SPL Token
Solana Program Library

Create an SPL Token

A complete guide to understanding, configuring, and deploying fungible tokens on Solana using the SPL Token standard — from Mint Account structure to authority management and metadata setup.

SPL (Solana Program Library) tokens are the universal standard for fungible assets on Solana. Every token — stablecoins, governance tokens, utility tokens — uses the same on-chain program and account model described in this guide.

01

Token Programs

Solana has two generations of the Token Program. Both are in active use — Token-2022 is recommended for new projects as it supports optional extensions.

Original

Token Program

The foundational token program. Supports minting, transfers, freezing, and burning. Immutable and battle-tested across the entire ecosystem.

Recommended

Token Extensions (Token-2022)

All original capabilities plus optional extensions — built-in metadata, transfer fees, confidential transfers, interest-bearing tokens, and more.

All tokens on Solana are data accounts owned by one of these two Token Programs. Wallets, DEXes, and marketplaces interact with tokens exclusively through these programs.

02

Account Architecture

Three account types work together to represent token ownership on Solana. Understanding these is essential before creating any token.

Mint Account

The Token Itself

Defines the token globally. Stores total supply, decimal precision, mint authority, and freeze authority. Uniquely identified by its on-chain address.

Token Account

Individual Balance

Tracks how many tokens a specific wallet owns. Each wallet needs one Token Account per token type. Stores owner, balance, and optional delegate.

Associated Token Account

Default Wallet Account

A Token Account whose address is derived from the wallet and mint address (a Program Derived Address). Acts as the canonical, predictable token account for any wallet + token pair.

Wallet (owner)Associated Token AccountMint AccountToken Program

Mint Account — on-chain fields

FieldTypeDescription
mint_authorityOption<Pubkey>Address authorized to mint new tokens. If null, supply is permanently fixed.
supplyu64Current total token supply across all accounts.
decimalsu8Decimal precision. 9 is default; 6 for stablecoin-style; 0 for non-divisible tokens.
freeze_authorityOption<Pubkey>Address authorized to freeze token accounts, preventing transfers.
03

Authority Management

SPL tokens include configurable authorities that control minting, freezing, and metadata updates. Each authority can be transferred to a new address or permanently revoked to increase trust.

Mint Authority

revocable

Controls the ability to create new tokens. Revoking this permanently caps the total supply — no additional tokens can ever be minted.

Freeze Authority

revocable

Controls the ability to freeze any token account. A frozen account cannot send or receive tokens. Revoking removes this admin power entirely.

Update Authority

revocable

Controls the ability to edit on-chain metadata — name, symbol, image URI. Revoking makes all metadata permanently immutable.

Revocation is permanent

Once an authority is revoked, it cannot be restored under any circumstances. Verify all configuration is final before revoking — especially for production token launches.

04

Token Metadata

Metadata gives your token a name, symbol, and image. There are two approaches on Solana — your choice affects where data lives on-chain.

Widely supported

Metaplex Token Metadata

Creates a separate metadata account linked to your mint. Works with both Token Program versions. Standard format recognized by all wallets and marketplaces.

→ Separate on-chain account

Token-2022 only

Token Extensions Metadata

Stores metadata directly inside the Mint Account using the metadata extension. No separate account needed. Only available when using Token-2022.

→ Stored on Mint Account

Example metadata JSON structure

{
  "name": "My Token",
  "symbol": "MTK",
  "description": "A utility token on Solana",
  "image": "https://arweave.net/...",
  "external_url": "https://yourproject.com",
  "attributes": []
}
05

Advanced Options

Optional configuration parameters allow customization of metadata creators, mint address format, decimal precision, and initial token distribution.

Decimal Precision

Use 9 decimals (Solana default) for general tokens. Use 6 for stablecoin-style tokens. Use 0 for whitelist or non-divisible tokens where whole units are required.

Custom Mint Address (Vanity)

Generate a mint address with a specific prefix or suffix. Makes the address more recognizable on-chain but may increase generation time significantly.

Multi-Wallet Distribution

Split the initial token supply across multiple wallet addresses during creation rather than minting everything to a single account.

Modify Creator Information

Update the creator field stored in token metadata. This value is publicly visible on-chain and can be used by marketplaces to attribute tokens to a project.

06

Step-by-Step Guide

Follow the steps below to configure and deploy your SPL token using the Token Creator interface.

01

Connect Your Solana Wallet

  • Connect a Solana wallet ( IDX Wallet , Phantom, Backpack, Solflare, etc.)
  • Ensure you have SOL for transaction fees and rent — creating a Mint Account requires a small rent-exempt deposit (~0.002 SOL)
02

Define Token Parameters

  • Enter token name and symbol — these go into on-chain metadata
  • Set decimal precision: 9 is standard, 6 for stablecoin-style, 0 for non-divisible tokens
  • Set total supply — this is the number of base units minted at creation
  • Upload a token image (stored on IPFS or Arweave)
03

Add Metadata & Social Links

  • Add your project website URL, Twitter/X, Telegram, and Discord
  • Write a short token description
  • This data is encoded into the metadata JSON URI stored on-chain
04

Configure Advanced Options

  • Set a custom creator address if needed
  • Enable vanity mint address generation for a recognizable address
  • Configure multi-wallet initial supply distribution
05

Manage Authorities

  • Decide whether to revoke Mint Authority — prevents future supply increases
  • Decide whether to revoke Freeze Authority — removes ability to freeze accounts
  • Decide whether to revoke Update Authority — makes metadata permanently immutable
  • These can be done at creation or later via a separate transaction
06

Review and Deploy

  • Review all configuration in the summary panel
  • Approve the transaction in your wallet
  • Your Mint Account address is created and your token is live on Solana
07

Launch Considerations

Authority Decisions

Revoked authorities cannot be restored. Confirm all configuration is final before proceeding — especially mint and freeze authority decisions for public token launches.

Token Metadata

Review your token name, symbol, description, and image carefully. These details represent your token across wallets and explorers.

SOL Balance

Creating a Mint Account requires a rent-exempt SOL deposit (~0.002 SOL) plus transaction fees. Ensure your wallet has sufficient SOL before starting.

Token Configuration

Double-check your token supply, decimals, authorities, and metadata before creation. Incorrect settings may impact your token after launch.

08

FAQ

Do I need coding knowledge to create an SPL token?

No. The Token Creator interface handles all on-chain interactions. You only need to connect a wallet and approve the transaction — no CLI or programming required.

What decimals should I choose?

9 is the Solana default (matching SOL itself). Use 6 for stablecoin-style tokens. Use 0 for whitelist or non-divisible tokens where fractional amounts make no sense.

Should I revoke mint and freeze authority?

For public or community tokens, revoking both is strongly recommended — it prevents future supply inflation and account freezing, which greatly increases community trust. For tokens where supply management is needed, keep mint authority but document it transparently.

What happens if I revoke update authority?

Token metadata becomes permanently immutable and cannot be modified. Verify all metadata fields (name, symbol, image, links) are accurate before revoking.

Where is metadata stored?

On-chain, a URI is stored pointing to a JSON file hosted off-chain — typically on IPFS or Arweave for permanent, decentralized storage. Hosting on a centralized server risks metadata disappearing if the server goes down.

What is the difference between Token Program and Token-2022?

Token-2022 (Token Extensions) is the newer program. It includes all original features plus optional extensions like built-in metadata, transfer fees, non-transferable tokens, and interest-bearing tokens. Both programs are widely used.

Proceed to Token Creator

Open the interface to configure and deploy your SPL token on Solana.

Open Tool →