Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added README.md #6

Merged
merged 10 commits into from
Dec 10, 2024
10 changes: 10 additions & 0 deletions README.md
Shvandre marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,16 @@ Also, additional utils from `sources/utils/` are used in tests and deployment sc

`tact.config.json` contains the configuration for the Tact compiler. In most cases, you don't need to modify this file.

## Smart-Contracts Structure

Main smart contract is `jetton_minter.tact`. It imports `messages.tact` and `jetton_wallet.tact`, so they will be compiled automatically, when setting `jetton_minter.tact` as target in `tact.config.json`.
Shvandre marked this conversation as resolved.
Show resolved Hide resolved
### Traits
Jetton minter is using *OwnableTransferable* and *Deployable* trait. Actually, you can remove *Deployable* trait. It is used only for more convenient deployment in tests.
Shvandre marked this conversation as resolved.
Show resolved Hide resolved

Jetton wallet is using only *Ownable* trait.

You can learn more about traits in the [Tact standard library](https://docs.tact-lang.org/ref/standard-libraries/).

## Best Practices

- For guidance on interacting with Jettons using Tact, check the [Jetton Cookbook](https://docs.tact-lang.org/cookbook/jettons/).
Expand Down
Loading