Beginners Guide: Make your own FA 2.0 Token on Tezos + Add Liquidity to Quipuswap

Learn how to make your own token on Tezos

Adam Shinder
Tezos Israel

--

Interested in making your own token on Tezos, and you’re not a coder? Then you came to the right place. This tutorial is perfect for beginners, even those who are brand new to the Tezos ecosystem! Before we start, make sure you have a Tezos wallet with some tokens in it. I recommend downloading the Temple Wallet Chrome Extension. If you want to launch this token on the Tezos Testnet, you can receive Testnet tokens here. Additionally, you can check out a bunch of Tezos tokens currently being traded at teztools.io.

We’ll be using the FA2.0 Bakery to mint our own token, and we will even list your coin on Quipuswap to allow people to buy and sell it! Big shoutout to Anastasiia from MadFish Solutions for building this amazing tool!

UPDATE: Madfish Solutions has made a video walkthrough of the same token creation process. If you would rather watch that, check it out here. After creating the token with the video guide, you can continue with this tutorial the same as if you had read from the beginning.

Part 1: Making the Token

Open up the FA2.0 Bakery, and we’ll start by talking about what the first inputs mean. The first three spaces are going to be the input for the smart contract that we will be deploying. This smart contract will be used to mint the tokens and keep a record of which wallet owns how much of the token. First, make sure to connect your wallet on the top right-hand corner and then, input the data below.

  1. Admin: Input the address you want to have access to update and alter the smart contract information.
  2. Contract Name: Name the smart contract anything you want.
  3. Contract Description: Add any description of the smart contract so anyone who reads this contract knows what it is for.

Input this data and click, “Add Asset”.

When you click “Add Asset”, you are setting up the structure to deploy a token. A FA2.0 contract can mint and manage multiple assets but for this article, we will be only minting one token on the contract.

  1. Name: What do you want the name of the token to be? Example: Tezos
  2. Symbol: What do you want the symbol to be? Usually 3–4 letters. Example: XTZ
  3. Supply: How many tokens will be created? Input 100000000 for 100,000,000
  4. Decimals: Used to determine how denominations of the token can exist. Ex 1 decimal means there can only be 10ths of your token (10.5). 2 means denominations of hundreds so there can be 10.55, etc. I believe there can be up to 18 decimals.
  5. Icon: What image do you want to be the icon for the token?

For example: by inputting “https://www.biography.com/.image/ar_1:1%2Cc_fill%2Ccs_srgb%2Cg_face%2Cq_auto:good%2Cw_300/MTgwMzQyOTk2OTY3ODkyODQ0/gettyimages-490703338.jpg” you will get the token image to be a photo of Kobe. This is a sample token I made called EveryCoin.

To ensure that the link corresponds to the correct image, right-click on the image you want and right-click. Select “Open Link in New Tab” and then “Open Image in New Tab”. This final link is the one you use. For further decentralization, you can upload the image to IPFS and use a URI.

6. Description: What do you want the description to be? If it’s a token backed by an asset, write about it’s security! If it’s a meme token, make it funny! You can write anything you want.

As shown below, you will see the option to switch from Basic to Granular but you can leave that be. As explained at the bottom of the website, Basic can pause transactions off all tokens on a contract, but Granular can choose a specific token to pause and unpause. Because we’re only minting one token from this contract, it doesn’t make a difference.

After inputting the information, hit Deploy and confirm the transaction from your wallet! It should be about 1–3 XTZ for the minting and storage of your token.

Give it a few minutes and the tokens should appear in your Temple Wallet.

Part 2: Listing the Token on Quipuswap and Providing Liquidity

Now that you have your own token which is shown in your Temple wallet, let’s make this token tradable. We will be listing this token on Quipuswap, a leading Tezos AMM exchange.

NOTE: We will be using the old version of Quipuswap, but the tokens are still tradable on the Liquidity Pools of the new User Interface. The users will not know the difference.

Before we start, enter the old UI of Quipuswap by clicking on the button on the bottom left.

First, connect your wallet on the top right of the homepage.

Once connected, select Invest from the main menu. Click Add New Token on the right and make sure FA 2.0 is selected.

Right now, we are making a new liquidity pool. We must add both your new token and XTZ to allow users to swap in and out of the token with no problem. To swap into the token, there must be enough of your token available, and to swap out, there must be enough XTZ available they can receive in exchange for the token. So, we will be adding both XTZ and your new token to this pool.

Our token is not whitelisted (yet) so we will be adding in the smart contract address manually. To find the smart contract address, go to your Temple Wallet, click on your token and find the transaction that was the deployment of your token, it should be a recent transaction. Click the little arrow on the right of the transaction hash as shown below.

Once in the block explorer, looking at the originating smart contract, you’ll want to save the contract address. As shown below.

Take that copied address and paste it into the Token Address text field as shown below.

We will now add liquidity to the trading pair. I will deposit all of my tokens, but you can use any amount of tokens you want (if you want to keep some tokens).

You can leave the Token ID field empty.

You’ll notice that the amount of XTZ you deposit changes the value of your token. For example, if there are 1,000 XTZ paired with 1,000 SampleCoins, then 1 SampleCoin = 1 XTZ. But, I am adding in 3 XTZ to pair with my 1,000 SampleCoins, so each SampleCoin is .003 XTZ as shown in the bottom right.

You’re done! Click, Add New Token and complete the operation. This transaction is storage and transaction heavy, so it will cost about 7 XTZ to complete the transaction.

Now, if you go back to the new Quipuswap Swap tab on the new User Interface, and paste in the contract address with XTZ, the token pairing will appear, and you can buy and sell your new token!

You can see my token here: https://quipuswap.com/swap/tez-KT1GUw9a8ipuxcyEreuF4b6xKjUMr448tqKT_0

But, because this is such a small market cap, there will be a lot of slippage when buying and selling large quantities. That amount of price change is told to you in the following warning:

Thank you so much for learning how to make a token and list it on Quipuswap with us! Feel free to message me with any questions on Twitter at @adshinder. Follow Tezos Israel on Twitter @tezosisrael to keep up with what we’re building and how we are advancing the Tezos ecosystem!

--

--