diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..4572390 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,60 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +Original goal is followed [Tact Compiler Changelog](https://github.com/tact-lang/tact/tree/main), and keep this project in sync. Enjoy! ❤️❤️❤️ + +## [0.6.2] - 2023-10-30 + +- Add 2 PRs from [Breakfast](https://github.com/topics/hacktoberfest) + - https://github.com/tact-lang/tact-by-example/commit/19288b393e07cbf14fa6bffec995eebdad7b06be + - https://github.com/tact-lang/tact-by-example/commit/eb8b47123218b24b5ecf8938eafe9ab31c0482d2 +- Modify and add the new content and fix the grammer errors + +## [0.5.0] - 2023-10-05 + +### Added + +- Add the Jetton Token Standard example. + +## [0.4.0] - 2023-09-29 + +### Changed + +- Turn `src/routes/(examples)/00-hello-world` from 01 to 00. +- Optimzed `src/routes/(examples)/06-communicating-children/contract.tact` code in dump log. +- Optimzed `src/routes/(examples)/06-authenticating-children/contract.tact` code in dump log. +- Change the name of `06-communicating-children` to `06-communicating-subcontract`. + +### Added + +- Added `😃, 😑` in dump log in `src/routes/(examples)/06-authenticating-children` for better understanding. +- `require(sender() == parent, "not the parent");` in `src/routes/(examples)/06-authenticating-children/contract.tact` file. + +## [0.3.0] - 2023-09-27 + +### Added + +- Emoji support in terminal log. (📝, 🔍, 📤) + +### Changed + +- Optimized `src/routes/(examples)/06-unbounded-arrays/content.md` text and add the callout blocks. +- Fixed some type errors in the `src/routes/(examples)/06-unbounded-arrays/content.md` file. +- Fixed the text typo in the terminal log. + +## [0.2.0] - 2023-09-08 + +### Added + +- The first version of ChangeLog.md + +## [0.1.0] - 2023-09-01 + +### Fixed + +- Update the compiler version in the package.json +- Fix the `reply` syntax to the `self.reply`. diff --git a/README.md b/README.md index c6058f7..096e56d 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,21 @@ +- [🔍 Changelog](/CHANGELOG.md) +- [🫂 Telegram Group Chat](https://t.me/tactlang) + ## Developing +### About Tact Source Code + +1. Tact code is under the `src` directory. The `src` directory contains the following files: `src/routes/(examples)` - The source code for the examples. +2. The terminal output is located in `src/routes/(examples)/+layout.svelte` file. +3. Run `npm run tact-build` to compile the Tact code you just added. + +### About the Examples Order + +1. Check the order in the `src/routes/(examples)/examples.json` file. +2. The `id` determines the sequence of the examples in the app. + +### Running the project + Once you've run `npm install` start a development server: ```bash diff --git a/docs/01-hello-world.html b/docs/00-hello-world.html similarity index 68% rename from docs/01-hello-world.html rename to docs/00-hello-world.html index bc62641..3d449c0 100644 --- a/docs/01-hello-world.html +++ b/docs/00-hello-world.html @@ -34,20 +34,20 @@ - + - + - + - - - + + + - - + +
This is a simple counter contract that allows users to increment its value.
-This contract has a state variable val that persists between contract calls - the counter value. When persisted, this variable is encoded as uint32 - a 32-bit unsigned integer. Contracts pay rent in proportion to the amount of persistent space they consume, so compact representations are encouraged.
State variables should be initialized in init() that runs on deployment of the contract.
This contract can receive messages from users. Unlike getters that are just read-only, messages can do write operations and change the contract's persistent state. Incoming messages are processed in receive() methods as transactions and cost gas for the sender.
After deploying the contract, send the increment message by pressing the Send increment button in order to increase the counter value by one. Afterwards, call the getter value() to see that the value indeed changed.