Step 1: Leo Installation
Step 2: Install snarkOS
Step 3: Create a leo project using leo new token_tut_ws2024jun. Then put the code for the new token to main.leo.
Step 4: Run the mint function using leo run mint 10032u. This create 100 new token
Step 5: Run the transfer function. This outputs 2 token records, 10 token with the owner = receiver, and 90 tokens with owner = creator who minted the 100 token in step 4.
Step 6: Go to my Leo wallet. Follow the steps to get the testing token.
Transaction: https://explorer.aleo.org/transaction/at1hexc2qk0wx6h5eg6760kc0w0l2wl35lflngfunznfws9nyqn7szqwphdnp?tab=overview
Step 7: Go to https://demo.leo.app/deploy. After connecting to my leo wallet, put my compiled work which is saved at build\main.aleo to Program. Input fees, program id, etc and Deploy.
My work is then deployed https://explorer.aleo.org/transaction/at1tuxyn4xd9x93z4cust4akm0k9fevf7e4vynt2n8y6xcc9qshxcqqgp4vd9
https://explorer.aleo.org/program/token_tut_ws2024jun09.aleo