Tokens

Tokens

Create and manage fungible tokens on Solana.

create-token.js
import { createAndMint, TokenStandard } from '@metaplex-foundation/mpl-token-metadata'
await createAndMint(umi, {
mint,
name: 'My Fungible Token',
symbol: 'MFT',
uri: 'https://arweave.net/...',
decimals: 9,
amount: 1000,
tokenStandard: TokenStandard.Fungible,
}).sendAndConfirm(umi)

Introduction

Fungible Tokens

Create and manage fungible tokens (SPL tokens) on Solana using Metaplex SDKs.

Overview

Fungible tokens are interchangeable digital assets where each unit is identical to another. Common examples include cryptocurrencies, loyalty points, and in-game currencies. On Solana, fungible tokens are created using the SPL Token program with metadata managed by the Token Metadata program.

What You Can Do

This section provides beginner-friendly guides for common token operations:

Prerequisites

Before getting started, make sure you have:

  • Node.js 16+ installed
  • A Solana wallet with some SOL for transaction fees
  • Basic JavaScript/TypeScript knowledge

Quick Start

Install the required packages:

npm install @metaplex-foundation/mpl-token-metadata @metaplex-foundation/mpl-toolbox @metaplex-foundation/umi @metaplex-foundation/umi-bundle-defaults

Then follow the Create a Token guide to create your first fungible token.

Learn More

For more advanced token functionality, check out: