1️⃣General
Features available in "General" section in 20lab token generator for Sui tokens.

Blockchain

The blockchain field shows you which Sui blockchain you are currently connected to in your Web3 wallet among supported networks on 20lab.app. For example, if you are connected to Sui Mainnet, it will be displayed in this field. This means that when you create your token, it will be deployed on that specific Sui network.
Switching Networks
To switch between Mainnet, Testnet, and Devnet, you will need to change networks directly in your Sui Wallet. The generator will automatically detect and display your current network connection.
Available Sui Networks:
Mainnet: The live Sui network for production tokens
Testnet: For testing purposes before mainnet deployment
Devnet: For development and experimentation
Token name & Token symbol

Token Name
The token name field allows you to specify the full name of your token, which will be publicly visible after creation. This is the complete, descriptive name of your project (e.g., "My Sui Project Token").
Token Symbol
The token symbol is a shorter version of the name that is usually used to identify the token on exchanges, wallets, and other platforms. It's typically 3-5 characters long (e.g., "MSPT").
Module name

The module name is automatically applied in your token's code and is visible at the end of your token address (Sui coin type). It serves as a unique identifier for your token's smart contract module.
Naming Requirements
The module name does not have to be the same as your token name. You can choose any name you want as long as it follows the correct syntax:
Must start with: A lowercase letter
Can include: Lowercase letters, numbers, and underscores (_)
Cannot include: Uppercase letters, spaces, or special characters

Auto-Generation Option
If you are not sure which module name to use, you can use the automatically generated value based on your token name. This ensures proper syntax while maintaining relevance to your project.
Important: Module name cannot be changed later!
Decimals

Decimals determine how many decimal places your token can be divided into. On Sui, this ranges from 0 to 9 decimal places.
Recommended Values
The most common values for Sui tokens are 6 or 9 decimals, and we recommend choosing one of these:
9 Decimals (Recommended for most tokens):
Similar to SUI's native decimals
Allows for very precise fractional amounts
Standard for most fungible tokens
Example: 1.000000001 tokens
6 Decimals (Recommended for stablecoins):
Similar to USDC and other stablecoins
Good balance between precision and simplicity
Example: 1.000001 tokens
0 Decimals (For NFT-like tokens):
Tokens can only exist as whole numbers
Useful for collectibles or voting tokens
Example: 1, 2, 3 tokens (no fractions)
Supply Limitation
The more decimal places you choose, the lower the maximum initial supply can be. This is due to Sui's technical limitations with large numbers.
Important: Decimals cannot be changed later!
Initial supply

Initial supply is the amount of tokens that will be minted at creation and sent to the selected address called the "supply recipient."
How It Works
When the treasury cap is removed from your token, the initial supply automatically becomes the total supply with no possibility to increase it later. This creates a fixed-supply token.
Supply Calculations
The maximum value of the initial supply is based on the number of decimals you choose. For every decimal point less, you can add one zero to your initial supply:
Examples:
9 decimals: Up to 18,400,000,000 tokens
6 decimals: Up to 18,400,000,000,000 tokens
3 decimals: Up to 18,400,000,000,000,000 tokens
0 decimals: Up to 18,400,000,000,000,000,000 tokens
Supply recipient & Treasury cap holder

Supply Recipient
The supply recipient is the wallet address that will receive the initial supply of tokens after the token is created.
Default Setting: By default, this is the same address as your currently connected wallet, meaning all initial tokens will be sent to the wallet you're using to create the token.
Different Supply Recipient Option: You can enable this option if you want the initial supply to be sent to a different address instead of your connected wallet.
Treasury Cap Holder
The treasury cap holder on Sui is the address that can control many of the restricted functions in your token. This includes abilities like minting new tokens, burning tokens, and managing other token authorities.
Default Setting: By default, this is the same address as your currently connected wallet.
Different Treasury Cap Holder Option: You can enable this option to indicate that the treasury cap should be transferred to a different address after token creation.
Last updated
Was this helpful?