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 (implementingContract
from 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.ts
with the desired parameters, like name, symbol, supply, etc. - Run
npx blueprint run
and choosedeployJettonMinter.ts
from the list.
- Modify
JettonMinter\scripts\deployInfo.ts
with the address of deployed Jetton. - Run
npx blueprint run
and choosedeployInfo.ts
from the list.
- Modify
JettonMinter\scripts\deployMint.ts
with the address of deployed Jetton and the amount to mint. - Run
npx blueprint run
and choosedeployMint.ts
from the list.
- Modify
JettonMinter\scripts\deployAdminChange.ts
with the address of deployed Jetton and the new admin address. - Run
npx blueprint run
and choosedeployAdminChange.ts
from the list.
- Modify
JettonMinter\scripts\deployTransferJettons.ts
with the address of deployed Jetton, the sender address, and the amount to transfer. - Run
npx blueprint run
and choosedeployTransferJettons.ts
from the list.
- Modify
JettonMinter\scripts\deployBurnJettons.ts
with the address of deployed Jetton and the amount to burn. - Run
npx blueprint run
and choosedeployBurnJettons.ts
from the list.