TON Dev News
89.9K subscribers
17 photos
3 videos
66 links
Short announces with new services, tools, libraries and their features. Request a post: https://tttttt.me/tondev_news/33
Download Telegram
ton-http-api typescript v2.0.3

Glad to present you the ton-http-api library with type support, we have implemented all the functions you use when working with toncenter!

What is included in the library?
- toncenter API V2
- toncenter API V3
- client for toncenter API V2
- client for toncenter API V3
- block subscriber for toncenter API V2
- block subscriber for toncenter API V3

You can read the documentation here.

You can find examples of use here.

For any updates, please write to issue.
Forwarded from Toncenter API
Toncenter API v3 updates

- Method /api/v3/transactions now supports querying transactions for multiple account using parameter "include_account".
- Method /api/v3/nft/items can find NFT in collection by it's index.
Forwarded from TON Contests
Smart Contract Cracking Competition - Multisig 2.0

Prize fund: Up to 20 000 TON (more than $100,000 at the moment)
Deadline: 12:00 on April 10 (UTC)
Who can participate: Everyone

The Task is to identify potential vulnerabilities and issues in the new version of Multisig smart contract.

Evaluation Criteria and Prize Fund Distribution:

You will be rewarded the most if you can find critical vulnerabilities, such as unplanned loss or theft of assets or gaining admin rights or bypass restrictions.

Minor flaws that do not affect security may be rewarded with a small bonus or no reward at all.

Non-code issues (e.g. social engineering) are not considered.

Details:

Branch "main", commit 107ee13aa4cbabdc9ff0684b738dcd272c4211bc

Submissions:

Submit an issue on GitHub.

Please do not copy-paste reports from ChatGPT and like.
Forwarded from TON Status
ATTENTION FOR VALIDATORS β€” ACTION REQUIRED

We anticipate a significant increase in network activity starting in mid-April.

In order to keep the network running smoothly, please make sure your validator matches the configuration below.

If it does not match, please upgrade your hardware within the next week.

This is critical and necessary.

Minimal validators hardware:
* 16 x Cores CPU
* 128GB Memory
* 1TB NVME SSD OR Provisioned 64+k IOPS storage
* 1 Gbit/s network connectivity

We draw special attention of validators to IOPS disk requirements, it is crucially important for smooth network operation.

If you have several validators - upgrade one by one.
Highload v3 wallet released

This wallet is designed for fast and safe TON and jetton withdrawals suitable for CEXes and other services. To upgrade, use the example codes:

- TON withdrawals
- Jetton withdrawals
- Contract details
Forwarded from TON Status
Scheduled network update on April 16

We are asking validators to schedule a time on April 16 at 11:00 UTC for validator software update.

This update is mandatory and, among other things, contains DB and network usage optimization, LS improvement, transaction executor, tonlib and emulator updates.
🌏TON εΌ€ε‘θ€…ζ–‡ζ‘£ηŽ°ε·²ζŽ¨ε‡ΊδΈ­ζ–‡η‰ˆζœ¬οΌ

As TON expands around the world, we're excited to announce Mandarin localization.

You can now access the following dev resources in Mandarin:

β–ͺ️TON Documentation
β–ͺ️Blockchain Basics Course

δΊ«ε—δ½ ηš„ηΌ–η¨‹δΉ‹ζ—…οΌ
Smart contract libraries

TON smart contract developers, you can use smart contract libraries to optimize the network fees of your smart contract, in particular the storage and forward fees.

Libraries are applicable if you have multiple instances of a smart contract that have common data.

The common data (e.g. smart contract code) can be stored in the library, and the smart contract will only reference it.

You can find an example of how to use this functionality in the new Jetton-with-governance and Multisig 2.0 smart contracts.

Documentation Β»
Efficiency of TON blockchain state storage

We would like to draw attention to the beauty of the TON architecture.

Even without libraries, serialized data in the blockchain is automatically compressed, which means that the same data cells are deduplicated.

This fits well with the guidelines of writing distributed smart contracts on TON - not to make a single huge smart contract that is a bottleneck, but to make many small actors. Identical cells of instances of the same smart contracts will be stored once, so the final blockchain state is not bloated.
Introduction of precompiled smart contracts

New functionality will be introduced in the next node update.

The code of the most popular smart contracts can be written in C++ and embedded in node.

Since such precompiled smart contracts do not need to run TVM to execute, they consume less resources and therefore their network fees can be reduced.

It is planned to offer validators to apply this optimization to the new Jetton-with-governance smart contract.

Next step is introduction of refreshed Jetton smart contract code (fully compatible with the old Jetton of course) and propose to make it precompile as well.

In order for the precompile optimization to apply, validators need to vote for each smart contract type. Note, that precompiles can be activated step-wise: first by activating new cost rules and then by activating embedded code execution.

Documentation Β»
Introducing new TVM opcodes for easy calculation of fees

New TVM opcodes was intoduced in 2024.04 update that allow you not to hardcode fees in Toncoins, but to dynamically calculate it in code.

You can find an example of how to use this functionality in the new Jetton-with-governance and Multisig 2.0 smart contracts.

Documentation Β»
Reducing transaction costs β€” a guideline for developers β€” MUST READ

As you know the TON provides for the possibility of reducing the price of gas and message forwarding by a network-wide vote.

What developers need to know with this lowering transaction costs:

1) Current smart contracts where fees are hardcoded will not break, as there will be a decrease of gas/forward price, not an increase.

2) Please use new TVM opcodes in your smart contracts to dynamically calculate fees and do not hardcode fees in Toncoins in the smart contract code.

3) No one knows Toncoin future market dynamic. This means that after a decrease, after some time there may be a increase of transaction costs measured in TON.

Never hardcode fees in Toncoin at a reduced price in the smart contract code, otherwise your smart contract will break at a possible increase of gas price.

We can guarantee that the gas price will not be higher than the current price (as of April 16, 2024).
Forwarded from TonTech
πŸ”¨ TON Connect SDK Update

We are excited to announce the release of the TON Connect SDK.

πŸ‘₯ @tonconnect/{sdk,ui,ui-react}
β€’ Eliminated all race conditions.
β€’ Enhanced handling of unstable internet connections.
β€’ Improved transitions between browsers and wallets.
β€’ Added a loading indicator for transaction.
β€’ Removed connection restoration wait.
β€’ Mobile modals adapted for tablets.
β€’ Fixed hooks errors in ui-react.
β€’ Added an experimental method for connecting to specific wallet.

πŸ“ New package versions
β€’ @tonconnect/sdk 3.0.2
β€’ @tonconnect/ui 2.0.2
β€’ @tonconnect/ui-react 2.0.2

⬇️ To update, run npm install @tonconnect/ui-react or npm install @tonconnect/ui.

πŸ’‘To learn more, visit the GitHub page at https://github.com/ton-connect/sdk.

πŸ’¬ Encountered issues? Please report them on GitHub at https://github.com/ton-connect/sdk/issues.

🎁 Your feedback and usage examples are crucial. Share your experiences to help us evolve the SDK!
Please open Telegram to view this post
VIEW IN TELEGRAM
Attention TON Developers πŸ€‘

The TON Dev Community calls on your expertise to contribute to advancing the TON ecosystem. Your insights and experiences in development are invaluable in making TON more robust and user-friendly.

We encourage every community member to share their experiences with TON development by participating in our survey.

The survey encompasses four key topics and will take approximately 5-8 minutes of your time.

πŸ‘‰ https://nletwfvh.paperform.co
Please open Telegram to view this post
VIEW IN TELEGRAM
The re:doubt team played a pivotal role in crafting a sophisticated analytics platform for the Open League. Now, the talented team will join the TON Foundation, bringing their expertise to construct an analytics platform aimed at accelerating innovations for the TON ecosystem's growth. Pavel Shuvalov, the CTO of re:doubt, will transition to the role of Analytics Lead at TON Foundation, spearheading platform development with his extensive experience and vision.
Forwarded from re:doubt
We are announce that re:doubt, will join the TON Foundation team.

The talented team behind re:doubt will help to build an analytics platform for the TON Foundation needs.

We want to inform our valued community members that while we are excited to share our solutions and open-source a number of re:doubt's products in the near future, this decision necessitates the disabling of some of our current solutions, including GraphQL, REST API, Tonalytica, bots, and others.

Our priority is to ensure a smooth transition for our partners and minimize any disruptions to their businesses. We are committed to working closely with our partners to mitigate any potential impacts and ensure that they can continue to operate effectively during this period of change.

We apologize for any inconvenience this may cause and appreciate your patience and understanding as we make these necessary adjustments. We will keep you updated on our progress and encourage you to reach out to us with any questions or concerns you may have.

Thank you for your continued support as we strive to enhance the TON ecosystem through greater transparency and collaboration.
Forwarded from Tonkeeper News
πŸ† Tonkeeper Contest iOS & Android

Prize fund: $ 100 000
Deadline: May 29, 2024
Results: June 10, 2024
Subscribe for updates: @tonkeeper_news

Tonkeeper is a leading non-custodial TON wallet with innovations such as TON Connect for secure connection to thousands of dapps, next-generation wallet standard W5 and Tonkeeper Battery for gasless transactions. Our team builds the largest developer platform on TON β€” TonAPI, used every day by over 80% of projects in TON. Tonkeeper is the biggest non-custodial wallet in TON with over 2,300,000 active monthly users on 8 platforms.

Today we are excited to launch a contest for iOS and Android developers, with a prize fund of over 20 000 TON (β‰ˆ $100 000).

Fully-native Tonkeeper X will be faster and better in all dimensions. The goal of this contest is to add three missing features.

Rules

1. Top 10 developers receive prizes for each feature they implement. Features rated independently.
2. Top 3 developers receive extra-large prizes πŸ€‘.
3. ✨A special bonus✨ for developers who provide all three features in one submission.
4. The finalists of this contest will be invited to join Tonkeeper team ❀️.
5. Submission deadline is May 29.
6. Results will be announced by June 10.

Features

1. Stake: stake TONs and earn rewards through staking pools.

2. Swap: native interface for seamless asset swaps.

3. Buy & Sell: trade TON, USDT and fiat through partner platforms.

πŸ‘‰ Figma designs for all features

Requirements

1. Swift and Kotlin on respective platforms (iOS and Android).
2. Use TonAPI.io for access to the blockchain data.
3. We expect meticulous attention to detail, smooth animations, lack of glitches or bugs.
4. Submit your pull request: iOS, Android (include build instructions if needed)

Questions?

πŸ’¬ Join Tonkeeper Contest group to chat with our developers (English only pls). Reference code: react-native app, tonkeeper web.

We can’t wait to see how your talents unfold in this challenge. Good luck! πŸš€
πŸš€ tonutils-go v1.9.6 released!

* RLDP Tunning
* Fixed transaction Dump method panic (when no outs)
* Added FindLastTransactionByInMsgHash + FindLastTransactionByOutMsgHash to ton package
* Builtin Offline LiteClient impl for cold wallets
* Proof generation of key absence in dictionary
* Added methods ToRawUnsafe/FromRawUnsafe for manual low level cell construction
* Added Preload methods to cell slice (can be used instead of copy + load now, more efficient)
* Fixed WithRetry LS wrapper when using with timeout
TONδΈ­ζ–‡εΌ€ε‘θ―Ύη¨‹δΈŠηΊΏε•¦! πŸ§‘β€πŸŽ“

Are you a Mandarin speaker who wants to improve your TON development skills?

We now have Mandarin TON Blockchain courses on Bilibili:
🟒TON Blockchain Course
🟒Blockchain Basics with TON
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from TON Society
13 IRL Bootcamps. 13 Cities. $2,000,000 Hackathon 🌍

Ton Society is hosting 13 offline Open League Summer Bootcamps all around the globe πŸ”₯

Come to meet, learn, and build your Open League Hackathon project 🫑

πŸ“The Open League Summer Bootcamps will be hosted in 13 locations!

May 24-26th: Prague, Moscow, Hong Kong
May 31th-June 2nd: Berlin, Belgrade, St Petersburg, Taipei
June 4-6th: Seoul
June 5-7th: Tbilisi
June 7-9th: Warsaw, Kyiv, Gurugram, Minsk

πŸ’Έ Win up to $500,000 from the $2,000,000 Hackathon prize pool + $5,000 prize pool for each bootcamp.

πŸ‘‰ Choose your city and register: https://society.ton.org/activities/open-league