The Token Factory module on Stargaze enables the creation of native fungible tokens. The feature allows projects to use the functions provided by the Cosmos SDK Bank Module for token distribution. The tokens are denominated as factory/{creator_address}/{subdenom} and a single account can create multiple tokens, by providing a unique subdenom for each created token. Once a token is created, the original creator is given "admin" privileges over the asset. The creator can mint and burn tokens or transfer the admin privileges to another address.
Token Factory Denom Restrictions
Token Factory denoms are of form factory/{creator_address}/{subdenom}
The maximum subdenom length is 44 characters
The maximum creator_address length is 75 characters
You may create a new wallet account with the following command
starsdkeysaddlocal-wallet
or import an existing one with
Configuring RPC Endpoint and Chain ID
Testnet Configuration
Mainnet Configuration
Checking your account balance
You may check your wallet balance with the following command:
Creating a new token denom costs 10000 STARS + fees. The following transactions may fail if the wallet balance is not sufficient to cover the required cost and fees.
You may join our Discord server and request testnet STARS on the #faucet channel.
Creating a New Token
Executing the following command will create a token with the following denom: factory/<local_wallet_address>/<token_subdenom>
The result of the transaction can be queried using the transaction hash received as follows:
The following blockchain explorers can also be utilized to follow transaction results: