🅱️Workshop Recording: Smart Contract Development on TON — Key Features and Best Practices from Bidask Protocol!
During the TON Mini Apps Build Contest, a highly informative workshop took place .
In this session, we walked through the essentials of designing and writing smart contracts in the TON ecosystem. He covered key aspects including architecture, syntax, testing, and security considerations.
This is a must-watch for anyone working with TON smart contracts, building on-chain logic for Telegram Mini Apps, or aiming to avoid common pitfalls.
Timestamps:
00:27 — Introduction and goals of the workshop
03:02 — Understanding TON's asynchronous nature and its impact on contract logic
05:27 — Documentation and basic constructs in FunC
09:04 — Types of messages and TON blockchain structure
12:55 — Data types: CEL, slice, builder
15:07 — Handling messages within a contract
16:05 — Syntax and variable modifications
21:06 — Structure of internal vs external messages
24:40 — Validating user actions (claim, transfer)
26:26 — Address mechanics and validation
29:24 — Claim logic implementation
32:22 — Tracking gas consumption
39:09 — Using BluePrint and Sentry for testing
44:48 — Conclusion and sample test cases
49:39 — Advanced testing scenarios
54:05 — Optimizing logic and wallet integrations
59:31 — Limitations on data size
01:03:47 — Error handling and rollbacks
01:08:00 — Examples of architectural decisions
01:09:20 — Final tips and Q&A
💠 Watch the recording here
🔔 TON Mini Apps Build Contest is still ongoing!
If you're building a Mini App using the Bidask SDK, don’t miss your chance — submit your project before May 14th and compete for a $500 prize !
Post #112
623