UXLINK Governance Token, $UXLINK is to realize governance and capture benefits from UXLINK project and products. Certainly! Here is the translation:
yarn build # Build and compile the contract
yarn test # Run contract test cases
yarn deploy # Deploy the contract
yarn mint # Mint token
yarn transfer # Transfer
yarn burn # Burn
yarn updateOwner # Update Owner
- Store Jetton content in the
Cell
data type. - According to TEP-74, use lowercase names in
get_jetton_data()
. Otherwise, major browsers will not correctly read Jetton information. - The
max_supply
parameter is optional. You can choose to use it or not. In any case, browsers will only trackTotal Supply
in the Jetton root contract. - In Jettons, if you want to transfer Jetton tokens to someone, you need to send a message to your Jetton wallet, not the recipient's wallet.
forward_ton_amount
can be set as low as possible: similar to TelemintNFT. I don't know why, but it seems we can set (1e-9 TON) inforward_ton_amount
without any errors.
- How to Shard Your TON Smart Contract and Why Studying the Anatomy of TON's Jettons
- TEP-74 Jetton Standard
- TON Documentation - Asset Processing - Jettons
- Tact Documentation - Learn Jetton
To deploy the contract, you should:
- Specify
contract.tact
as the contract entry point. - Configure
contract.deploy.ts
based on yourcontract.tact
to generate the deployment link. Specifically, the Init() function in the contract needs to be called correctly.
If you rename contract.tact
to something else, you need to update tact.config.json
accordingly. For more information, see the Tact Documentation.
An example of contract testing is in contract.spec.ts
. For more information on testing, see the Tact Documentation.
To add new test files to the contract, you should create *.spec.ts
files similar to the template, which will be automatically included in the tests.