This project is based on minter-contract + token-contract and acts as a re-implementation of said contracts using Blueprint and latest versions of TON SDK.
-
JettonMinter:
- Contracts migrated
- Wrapper re-implemented
- Deployer
- Minter
- Burner
- Functional deploy script
- Test cases
-
JettonWallet:
- Contracts migrated
- Wrapper re-implemented
- Scripts
-
Post deployment scripts
- Mint
- Info
- Transfer Admin
- Burn
- Transfer Coins
contracts- source code of all the smart contracts of the project and their dependencies.wrappers- wrapper classes (implementingContractfrom ton-core) for the contracts, including any [de]serialization primitives and compilation functions.tests- tests for the contracts.scripts- scripts used by the project, mainly the deployment scripts.
npx blueprint build or yarn blueprint build
npx blueprint test or yarn blueprint test
- Modify
JettonMinter\scripts\deployJettonMinter.tswith the desired parameters, like name, symbol, supply, etc. - Run
npx blueprint runand choosedeployJettonMinter.tsfrom the list.
- Modify
JettonMinter\scripts\deployInfo.tswith the address of deployed Jetton. - Run
npx blueprint runand choosedeployInfo.tsfrom the list.
- Modify
JettonMinter\scripts\deployMint.tswith the address of deployed Jetton and the amount to mint. - Run
npx blueprint runand choosedeployMint.tsfrom the list.
- Modify
JettonMinter\scripts\deployAdminChange.tswith the address of deployed Jetton and the new admin address. - Run
npx blueprint runand choosedeployAdminChange.tsfrom the list.
- Modify
JettonMinter\scripts\deployTransferJettons.tswith the address of deployed Jetton, the sender address, and the amount to transfer. - Run
npx blueprint runand choosedeployTransferJettons.tsfrom the list.
- Modify
JettonMinter\scripts\deployBurnJettons.tswith the address of deployed Jetton and the amount to burn. - Run
npx blueprint runand choosedeployBurnJettons.tsfrom the list.