
DeDust.io - Developer News
Discussion: @dedust_dev_chat
Documentation: docs.dedust.io
Documentation: docs.dedust.io
关联群组
"DeDust.io - Developer News" 群组最新帖子
11.05.202506:47
Today, we distributed all referral fees collected over the last 3 months of the referral program (October 1, 2024 – December 31, 2024) from this wallet:
https://tonscan.org/address/EQAx1McP8Fq1_gg2q2Le0l0GnnAgmMyeyZ6gzK7nmPHI_C02
https://tonscan.org/address/EQAx1McP8Fq1_gg2q2Le0l0GnnAgmMyeyZ6gzK7nmPHI_C02
转发自:TOLK lang
TL
21.01.202510:33
Two months of absence: what was going on?
Two months have passed since the announcement of Tolk. You might be wondered, what was going on and why there we no releases yet.
Throughout all November, I've been working on the vision of the future. My goal was to "visualize" what Tolk v1.0 should look like. What's the language we're all targeting to, so that it solves lots of practical problems, avoids manual cells/slices manipulation, provides sufficient mechanisms for ABI generation, but still being zero overhead. I have created a giant roadmap (40 PDF pages!) describing the vision, and how, step by step, we're going to reach it.
Throughout all December, I've been constantly working on the compiler's kernel. As you know, Tolk is a fork of FunC. FunC compiler internals are very challenging to be extended and modified. The way FunC looks like is just a mirror of its internal implementation. Heading towards the future, I had to partially "untangle" this "legacy FunC core", so that in the future, it will be able to "interbreed" with features it was not originally designed for.
Currently I am done with this preparation. Tolk v0.7 has just been released. It contains a fully rewritten semantic analysis kernel (though almost invisible to the end user, huh).
✅ Notable changes in Tolk v0.7:
1. Under the hood: refactor and revamp compiler internals. AST-level semantic analysis kernel
2. Under the hood: rewrite the type system from Hindley-Milner to static typing
3. Clear and readable error messages on type mismatch
4. Generic functions
5. The
6. Type casting via
PR on GitHub with detailed info. IDE plugins are updated accordingly.
BTW, a new version of blueprint was also released. You can now update compilers (Tolk / FunC / Tact) independently, they became peer dependencies.
P.S. I'll uncover the details about planned Tolk v1.0 quite soon.
Two months have passed since the announcement of Tolk. You might be wondered, what was going on and why there we no releases yet.
Throughout all November, I've been working on the vision of the future. My goal was to "visualize" what Tolk v1.0 should look like. What's the language we're all targeting to, so that it solves lots of practical problems, avoids manual cells/slices manipulation, provides sufficient mechanisms for ABI generation, but still being zero overhead. I have created a giant roadmap (40 PDF pages!) describing the vision, and how, step by step, we're going to reach it.
Throughout all December, I've been constantly working on the compiler's kernel. As you know, Tolk is a fork of FunC. FunC compiler internals are very challenging to be extended and modified. The way FunC looks like is just a mirror of its internal implementation. Heading towards the future, I had to partially "untangle" this "legacy FunC core", so that in the future, it will be able to "interbreed" with features it was not originally designed for.
Currently I am done with this preparation. Tolk v0.7 has just been released. It contains a fully rewritten semantic analysis kernel (though almost invisible to the end user, huh).
✅ Notable changes in Tolk v0.7:
1. Under the hood: refactor and revamp compiler internals. AST-level semantic analysis kernel
2. Under the hood: rewrite the type system from Hindley-Milner to static typing
3. Clear and readable error messages on type mismatch
4. Generic functions
fun f<t>(...)
and instantiations like f<int>(...)
5. The
bool
type6. Type casting via
value as T
PR on GitHub with detailed info. IDE plugins are updated accordingly.
BTW, a new version of blueprint was also released. You can now update compilers (Tolk / FunC / Tact) independently, they became peer dependencies.
P.S. I'll uncover the details about planned Tolk v1.0 quite soon.
28.12.202409:17
Important update: closure of built-in DeDust referral revenue sharing program
We want to inform you about the discontinuation of the DeDust referral revenue-sharing (fee-sharing) program.
As a reminder, swap fees on DeDust are structured as follows:
- 80% of the fee is allocated to liquidity providers (LPs), enhancing the value of LP tokens by reinvesting back into the pool.
- 20% is collected as protocol fees.
Currently, the referral mechanism allows partners to receive 50% of the protocol fees, without any additional cost to the user making the swap. This system will remain in effect until December 31, 2024.
Starting January 1, 2025, the DeDust protocol will no longer share protocol fees with integrators. To generate revenue, integrators and products will need to implement their own additional fees using an additional contract.
Here is a concept how it can be implemented:
https://github.com/dedust-io/fee-collector
You should pass a
We want to inform you about the discontinuation of the DeDust referral revenue-sharing (fee-sharing) program.
As a reminder, swap fees on DeDust are structured as follows:
- 80% of the fee is allocated to liquidity providers (LPs), enhancing the value of LP tokens by reinvesting back into the pool.
- 20% is collected as protocol fees.
Currently, the referral mechanism allows partners to receive 50% of the protocol fees, without any additional cost to the user making the swap. This system will remain in effect until December 31, 2024.
Starting January 1, 2025, the DeDust protocol will no longer share protocol fees with integrators. To generate revenue, integrators and products will need to implement their own additional fees using an additional contract.
Here is a concept how it can be implemented:
https://github.com/dedust-io/fee-collector
You should pass a
FeeCollector
address to recipient_addr
and a user address to fulfill_payload
.26.12.202417:12
Introducing Unit-Testing in Tolk with Jest
Tolk developers rejoice! Unit-testing for smart contracts just got easier. While sandbox offers E2E testing, it’s far from ideal for unit-testing.
Now, with the Jest-Tolk runner, unit-testing in Tolk is a reality. Seamlessly integrate with Jest and streamline your testing workflow today.
Explore the tool!
GitHub: tonkite/jest-tolk
NPM: @tonkite/jest-tolk
Upgrade your smart contract testing game now!
Tolk developers rejoice! Unit-testing for smart contracts just got easier. While sandbox offers E2E testing, it’s far from ideal for unit-testing.
Now, with the Jest-Tolk runner, unit-testing in Tolk is a reality. Seamlessly integrate with Jest and streamline your testing workflow today.
Explore the tool!
GitHub: tonkite/jest-tolk
NPM: @tonkite/jest-tolk
Upgrade your smart contract testing game now!
记录
12.02.202523:59
353订阅者18.03.202519:24
400引用指数31.05.202523:59
662每帖平均覆盖率17.05.202523:59
662广告帖子的平均覆盖率05.05.202507:15
3.78%ER05.05.202507:15
196.44%ERR登录以解锁更多功能。