Skip to content

Smart contract on Ton network with tact, Jetton Swap fun on Smart Contract of ton chain. Add, swap, blance check on smart contract with tact language

Notifications You must be signed in to change notification settings

hexnome/JettonSwap-on-dex

Repository files navigation

Tact template project

This template comes pre-configured to kickstart your new Tact project. It includes the Tact compiler, TypeScript, Jest integrated with tact-emulator, and a sample demonstrating how to run tests.

yarn test # To test contract
yarn build # To build contract
yarn deploy # To deploy contract

Deployment

To deploy a contract, follow these steps:

  1. Define the contract.tact file that will be used as entry point of your contract.
  2. Customize the contract.deploy.ts file based on your contract.tact to generate a deployment link. It is crucial to ensure the proper invocation of the init() function within the contract.

If you rename contract.tact, make sure to update tact.config.json correspondingly. Refer to the Tact Documentation for detailed information.

Testing

You can find some examples of contract tests in contract.spec.ts. For more information about testing, see the Tact Documentation.

To add new test files to your contracts, you should create *.spec.ts files similar to the template's one and they would be automatically included in testing.

License

MIT

About

Smart contract on Ton network with tact, Jetton Swap fun on Smart Contract of ton chain. Add, swap, blance check on smart contract with tact language

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published