https://github.com/multichain-bot-lab/jetton-dex-smart-contract-ton-main
this is jetton dex on smart contract of ton
https://github.com/multichain-bot-lab/jetton-dex-smart-contract-ton-main
dex jetton smart-contract
Last synced: 3 months ago
JSON representation
this is jetton dex on smart contract of ton
- Host: GitHub
- URL: https://github.com/multichain-bot-lab/jetton-dex-smart-contract-ton-main
- Owner: Multichain-Bot-Lab
- Created: 2024-09-10T06:55:52.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-09-11T20:38:04.000Z (9 months ago)
- Last Synced: 2025-01-02T17:23:54.701Z (5 months ago)
- Topics: dex, jetton, smart-contract
- Language: TypeScript
- Homepage:
- Size: 91.8 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# jetton-dex-smart-contract-ton
this is jetton dex on smart contract of tonThis template comes pre-configured to kickstart your new Tact project. It includes the Tact compiler, TypeScript, Jest integrated with [tact-emulator](https://github.com/tact-lang/tact-emulator), and a sample demonstrating how to run tests.
```shell
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`](./sources/contract.tact) file that will be used as entry point of your contract.
2. Customize the [`contract.deploy.ts`](./sources/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`](./tact.config.json) correspondingly. Refer to the [Tact Documentation](https://docs.tact-lang.org/language/guides/config) for detailed information.
## Testing
You can find some examples of contract tests in [`contract.spec.ts`](./sources/contract.spec.ts). For more information about testing, see the [Tact Documentation](https://docs.tact-lang.org/language/guides/debug).
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.