Juno Mint Tutorial: How to Create a CW20 Token

Subscribe to our Newsletter

What is Juno Mint?

Juno Mint is a decentralized app (dApp) on the Juno smart contract network which allows users to create CW20 tokens by choosing from different CW20 standards. Each of the token standards has its own parameters and can provide different features such as burning, minting, infinite supply and capped supply.

Juno Mint streamlines token creation within the Cosmos and Juno ecosystems by bypassing the need for coding skills entirely. In the future, other useful features will be added to Juno Mint such as a multi-sig. An important thing to bear in mind, is that once a CW20 token is created on Juno Mint, you can not change the token to a different CW20 variant, however you can still change its logo. 

What are CW20 tokens?

CW20 tokens are a set of standards in the Cosmos ecosystem for tokens which are created by the CosmWasm (Cosmos Web Assembly) smart contracting platform. These standards are for fungible tokens and are akin to Ethereum’s ERC20 token standards. 



How to create your own CW20 token on Juno Mint: a step by-step guide

Prerequisites:

  • Ensure you have the Cosmos ecosystem’s Keplr wallet downloaded and set up. If not,  a guide on how to set up a Keplr wallet can be found here in our ATOM staking guide. Kepler is not available on Firefox, so ensure you have downloaded it and are using Google Chrome. Please ensure that you have backed up your seed phrase as losing this renders your funds inaccessible and unrecoverable. 
  • Ensure you have enough $JUNO in your wallet to mint your new CW20 tokens 
  • If you’re using Juno’s Uni testnet, then make sure you have connected to the the “Juno beta net” in Keplr, then join Juno’s discord server and in the Faucet section, paste “$request” followed by your Juno betanet address in the following format:
  • $request juno17n9vqskjx5skjcypjms32xn3aygggqrzlyvtqe


Tutorial 

Go to the Juno Mint website: https://junomint.ezstaking.io 


Click the connect wallet button in the top right hand corner of the page and sign in. 


Once you’ve signed in, Juno Mint will send a connection request, click the approve button.


You should now be signed in to Juno Mint. In my case, I’m signed onto the Juno testnet. But you should just choose JUNO if you want to use the Juno Mainnet.



After connecting your wallet to Juno Mint, you need to go to the “Token Type or Network” section, then click on the box below “Token Type'' and change the token standard to CommonCW20 instead of the default. This will increase the functionality of your token and expand your ability to change the parameters. 

Next, choose the network you wish to mint your CW20 token on. For the purposes of this guide, I will be using the Juno - UNI Testnet. Although, if you want to make a real token, then you need to use the Juno Mainnet. 

Support for the Juno Mainnet is not currently available on Keplr, but will be integrated soon.


Currently, there are 7 different CW20 token types you can choose from each with different functionalities:

  • HelloCW20 
  • SimpleCW20
  • StandardCW20
  • BurnableCW20 
  • MintableCW20
  • CommonCW20
  • UnlimitedCW20 

The simpler CW20 token standards such as: HelloCW20 and SimpleCW20 have limited functionality with unalterable parameters on some key features, therefore we recommend you use CommonCW20 to follow this tutorial or use UnlimitedCW20 if you want an unlimited supply  of your token with burn and mint capabilities.

Input the name of your token in the “Token Name” section (this is distinct from your token ticker).



Input your token ticker. This must be a minimum of 3 characters and maximum of 5.

It’s also a good idea to ensure your token symbol is composed of letters that are in your token name or that your token symbol is thematically or conceptually related to your token name. I’d recommend checking that your token ticker is not already on CoinGecko or CoinMarketCap if your token is not just for testing purposes. 


Next, change your “Token decimals”. We recommend you keep the original default of 3 decimals as is displayed below. 

Please bear in mind, if you want an overall supply of 20,000 tokens as demonstrated below and you are using 3 token decimals, then you need to append an extra 3 zero’s on the end of your supply e.g. 20,000,000.  


Skip the “Initial Supply” section and go straight to the “Total Supply” section. Input the maximum supply of your token you want to be available. 

If you are making a token that is not for testing purposes, it would pay dividends or rewards (pardon the pun) to make sure your token has solid and well-thought out tokenomics. 


Next, go to the “Initial Supply” section and type in the amount of tokens you want to be available initially. 


Under the marketing section, add your token’s logo via URL link, but bear in mind you should not use copyrighted material. Currently, Juno Mint only supports SVG and PNG formats for logo uploads that are hosted via the https standard (https://).


In the agreement section, tick the box stating you agree to Juno Mint’s terms and conditions. 


Your Juno Mint page should look something like this: 


Check the commission fee and the gas fee to ensure you have enough JUNO to mint your CW20 token and that you’re okay with paying the amount of JUNO specified. If so, then click the  “Confirm” button to create your tokens. In my example, this is free as we are only using test net JUNO tokens. 



A window will open in your Keplr wallet to confirm the minting and the transaction, double check the fees and click confirm. Then, wait for the token to minted and appear in your wallet. 


Another window in Keplr will appear called “Add Token”. Click submit and your token should now be in your Keplr wallet after a few minutes. 



You can now manage your newly minted token from the assets tab on the top left hand side of the page which allows you to mint, burn and manage other functions of your token. 



That’s it! You have now successfully created your own CW20 token using Juno Mint!

Where can I learn more about Juno and Juno Mint? 

Juno Mint Twitter: https://twitter.com/_JunoMint

Stay in Touch

Subscribe to receive Figment and Web 3 ecosystem updates.
Get Updates
Light blue dots