Challenge #2
Create and Send Fun tokens (up to 1,500 pts)
New Feature: Fun tokens on Mina.
Users can now create their own (layer 2) tokens on Mina Protocol, for example for a future Snapp (SNARK-powered application) that will be built on top of Mina.
Reward for the mint 500 pts.
Additional reward of 1,000 pts for sending tokens to the following address: B62qoDWfBZUxKpaoQCoFqr12wkaY84FrhxXNXzgBkMUi2Tz4K8kBDiv
1. Let's create tokens
To access any Mina CLI commands:
First you need to unlock your account:
In the password entry field, do not write anything and press ENTER.
Now let's create tokens:
In response, we get the following:
2. Get the ID of the tokens
To carry out the following operations, we need to know the ID of the tokens. We get it with the following command:
In response, we get the following:
3. Check the tokens balance
The token balance is checked by the command below with your token ID:
We will see the balance of mina tokens.
4. Mint tokens
To mint new tokens, you need to run the command mint-tokens
. 1,000 tokens will be created in the account of the sender of the transaction under token ID 2.
Let's check the balance with the command (the balance will not appear immediately, you need to wait about 5 minutes):
After a while, we should see 1,000 mina tokens on our balance.
5. Sending tokens
On the instructions we need to send 50 tokens to the addressB62qoDWfBZUxKpaoQCoFqr12wkaY84FrhxXNXzgBkMUi2Tz4K8kBDiv
.
To do this, we first need to add a recipient with the command below:
Now let's send 50 tokens.
In the field -memo "My First TX",
instead of My First TX
, you can enter anything you want. Or leave it as it is.
After a while, the tokens will be sent to the address. To check your balance, enter the following command:
Now take a screenshot of the balance command output as shown below.
6. Filling out the form
To fill out the form for tasks Challenge #1 and Challenge #2 follow this link.
You need to enter your email.
Discord ID
Block production time, which we counted in Challenge #1
Upload a screenshot of the block production logs and a text file with logs from Challenge #1
Upload a screenshot of the token balance at
B62qoDWfBZUxKpaoQCoFqr12wkaY84FrhxXNXzgBkMUi2Tz4K8kBDiv
from Challenge #2
Last updated