This project allows you to:
- Build basic jetton minter contract
- Aims to hopefully test any nftcollection contract for compliance with Jetton standerd
- Deploy minter contract via
toncli deploy
- Manually deploy jetton wallet via minting tokens
- Manually send to other jetton wallets
- Manyally burn coins on your wallet
toncli start jetton_minter
toncli build
Same here toncli run_test
If you encounter error 6 during run_tests
make shure that your binaries are built according to:this manual
This project consists of two sub-projects jetton_minter and jetton_wallet
You can see that in the project.yml
BOTH of those have to be built.
First type:toncli build
However it makes sense to deploy only jetton_minter.
Prior to deployment you need to check out fift/minter_data.fif
and change all mock configuration values to your own liking.
To deploy run:toncli deploy -n testnet jetton_minter
.
To mint coins to your wallet you will have to:
-
Configure fift/mint_jettons.fif script with your own values: Take a look
-
Make yourself familiar with process of sending internal messages
toncli send -n testnet -a 0.035 -c jetton_minter --body fift/mint_jettons.fif
To send coins to someone elses jetton wallet you will have to:
- Setup values in fift/send_jettons.fif
- Run:
toncli send -n testnet -a 0.1 --address < your jetton wallet addr> --body fift/send_jettons.fif
To burn jettons
- Setup values in fift/burn_jettons.fif
- Run
toncli send -n testnet -a 0.1 --address < your jetton wallet addr > --body fift/burn_jettons.fif