cookie

Ми використовуємо файли cookie для покращення вашого досвіду перегляду. Натиснувши «Прийняти все», ви погоджуєтеся на використання файлів cookie.

avatar

TON Dev News

Short announces with new services, tools, libraries and their features. Request a post: https://t.me/tondev_news/33

Більше
Рекламні дописи
81 923
Підписники
-21924 години
-1 8437 днів
-12 76030 днів

Триває завантаження даних...

Приріст підписників

Триває завантаження даних...

Фото недоступнеДивитись в Telegram
Beta version of the gasless backend API is available on https://tonapi.io/api-v2 If you are developing any wallet app and have feedback about these methods please share it ton @tonapitech chat.
Показати все...
👏 65👍 25
Beta version of the gasless backend is available on https://tonapi.io/api-v2
Показати все...
TON API

Try TON API today and start building your next generation blockchain application with ease!

👍 3🙏 1
🧑‍🍳 The Tact team invites you to peek behind the scenes and into the steaming pot of hot updates to the Tact compiler, tooling, documentation and ecosystem as a whole, join our Telegram channel: @tact_kitchen. ⚡️ You know what's cooking — Tact!
Показати все...
59👍 19 10
🚀 Tact v1.3 release notes The new Tact v1.3 release provides a massive improvement on the smart contract programming for TON blockchain. 🗺 Maps Traversing a map has never been easier! The foreach loop for the Map type:

let mapLength: Int = 0;
foreach (k, v in map) {
  mapLength += 1;
}
You don't have to use map.set(key, null) to remove a key from your maps, use the more intuitive del method instead: map.del(key). Want to check if the map is empty? Use map.isEmpty()! 🔤 Strings Strings finally support escape sequences, like \\, \", \n, \u0000 through \uFFFF, etc. There is a new non-modifying StringBuilder's concat method for chained string concatenations: b = b.concat("Hello,").concat(foo).concat("Tact!"). We added the toString method for the Address type that you asked for numerous times in the dev chats: address("EQBKgXCNLPexWhs2L79kiARR1phGH1LwXxRbNsCFF9doc2lN").toString(). 👌 Handling exceptions Want to process various TVM and user-defined exit codes before your contract fails at runtime? The try and try-catch statements: https://docs.tact-lang.org/book/statements#try-catch:

try {
    let foo: Int = 42 / 0;
} catch(e) {
    // your division by zero handler
}
☀️ New quality-of-life improving syntax Tact started supporting struct fields punning, i.e. {foo, bar} is syntactic sugar for { foo: foo, bar: bar }. There is support for trailing commas in all comma-separated lists in Tact, here is how you can use it with structs:

  foo(Struct {
    field1: 42,
    field2: "42",
  })
  
You can now chain method calls with the unboxing operator !!, e.g. map.asCell()!!.hash(). For those missing some bit-level hackery, there is the bitwise XOR operator ^ available now. ⚙️ Stdlib enhancements The Tact team has added log2 and log, pow2 and pow functions. Use reserve mode constants from @stdlib/reserve instead of their numeric values to make your code even easier to read: https://docs.tact-lang.org/ref/core-advanced#nativereserve-base-modes. 🧠 Debugging Debugging has become easier now as the dump() and dumpStack() functions now print the file path, line number, and column number in addition to the data specified by the programmer. Addresses can be arguments of the dump function. 💻 Tact CLI Tact's command line interface just became a lot more user-friendly: run npx tact --help from terminal and see what's available. Just a highlight: CLI now allows compiling a single Tact file directly, without specifying a config file: npx tact your-awesome-contract.tact. It's very useful for quick experiments or bug reports. 🛠 Third-party tools support For third-party tools implementors there is new improved APIs: AST traversals, access to the AST store of top-level items like functions, constants, traits, etc. Happy hacking! ❤️ Check out Tact's CHANGELOG for the comprehensive list of features, changes and bugfixes. Check out the Tact docs and read about the new Tact features. To upgrade your Blueprint-based Tact projects to use Tact v1.3.1, run npm upgrade inside the project folder. This release was brought to you by 0kenx, byakuren-hijiri, Max Korsunov, Novus Nota, Vitor Py, Daniil Sedov, and Anton Trunov.
Показати все...
Tact Language Documentation

Language reference and guides for Tact

36👍 29🔥 9
Preparing for the new v5 version of wallet smart contract As you know the Tonkeeper team is actively contributing to the development of the TON network. Its previous big contribution was the TON Connect protocol, which eventually became the unified protocol for applications and wallets in the TON network. In this year, the Tonkeeper team has proposed a new v5-beta version of the wallet smart contract. In beta mode, Tonkeeper Wallet has launched support for this new version. In addition to retaining the previous functionality (v4), the new contract allows you to send up to 255 messages at a time, as well as to make full-fledged gasless transactions (e.g. payment of network fees when transferring USDt in USDt itself) and other features. Having studied the contract, we believe it will enhance the usability and capabilities for TON users. The TON Core team is starting to audit and test this v5-beta smart contract. The smart contract code will change in the course of this work, but we will try to keep its interface intact. The TON Core team plan to complete this work by June 20. We ask all wallets in the TON ecosystem to support the final smart contract after the audit. UI: — Already now wallet teams can start UI preparations. You can use the v5-beta smart contract as a test smart contract, but keep in mind that it will change. — UI suggestion: wallets that have multi-accounts could support the new v5 smart contract as a separate account in the UI. Provide a “Transfer funds between your accounts” functionality. Beta: — If you build v5 functionality into public versions of your products - please mark it as “beta” and do not use v5 contract by default, but only when explicitly enabled in the settings. Please observe this rule to prevent too wide distribution of the non final beta version of the v5 smart contract. Release: — The final smart contract will be ready around June 20, after which wallets can enable v5 by default using the final smart contract.
Показати все...
👍 60 15🥰 5👏 1
Preparing for gasless transactions The v5 wallet smart contract allows the processing of internal messages signed by the owner. This also allows you to make gasless transactions, e.g. payment of network fees when transferring USDt in USDt itself. Flow: 1. When sending an USDt the user signs one message containing two outgoing USDt transfers: 1.1. USDt transfer to the recipient's address. 1.2. Transfer of a small amount of USDt in favor of the Service. 2. This signed message is sent offchain by HTTPS to the Service backend. The Service backend sends it to the TON blockchain paying Toncions for network fees. The Tonkeeper team announced the launch of the beta version of such public backend on June 14. Beckend will support the USDt and the NOT. Although each wallet could launch its own backend, we believe that a single backend would be more convenient if there are network-wide subsidy campaigns. However, the final choice is up to you. We invite TON wallets to support gasless transactions for USDt (and NOT) by June 20, by the time the v5 wallet smart contract is finalized.
Показати все...
👍 144 39 14🤯 8🎅 7🤮 5👎 4🔥 3
Repost from Tonkeeper News
00:06
Відео недоступнеДивитись в Telegram
🔋Tonkeeper Battery, ⚡️Gasless and 🔥W5 Main announcement 👉 t.me/tonkeeper_news/116 Learn how Battery, gasless transactions and wallet standard 🔥W5 help people onboard to the world of TON 👇 1️⃣ Have gas fees been removed from Tonkeeper? No. The TON network charges a fee for every transaction, paid in Toncoins. Battery and Gasless are optional features that simplify paying the same fees without using Toncoins. 2️⃣ How do gasless transactions work? When transferring USDT, Tonkeeper attaches a fee payment from the account’s USDT balance to the same transaction. Tonkeeper takes care of paying the TON fees behind the scenes. 3️⃣ Why do I need a new 🔥W5 wallet account? 🔥W5 enables efficient payment of fees that are 2x faster and cost less in fees compared to all other wallet apps that use the current standard version 4. 4️⃣ I already have charges in my Battery, can I use it? Yes, the Battery balance in an existing wallet can be used to pay fees on the 🔥W5 wallet that uses the same recovery phrase. 5️⃣ Should I move all my funds to 🔥W5? Do not move all funds. 🔥W5 is currently in beta and under development. The final version is coming in summer and may have a different address: users who tried 🔥W5 Beta may need to move funds again to the final version. 6️⃣ Why do I need the Battery if USDT can work without it? The Battery is designed to cover all transactions with many different kinds of assets, including NFTs. Gasless only works with USDT and Notcoin because it’s not possible to pay fees with a fraction of an NFT and less popular tokens are more volatile or illiquid. 7️⃣ Supported features Gasless: Transfers of USDT, jUSDT and Notcoin. Only available in 🔥W5 wallets. Battery: Transfers of all tokens, NFTs, swaps, both v4 and 🔥W5 wallets. Soon: Gasless swaps on 🔥W5, advanced NFT operations with Battery. Download Tonkeeper: tonkeeper.com Follow: en · ru · فارسی · twitter
Показати все...
FAQ EN.mp46.55 KB
🔥 28👍 17🐳 4😁 3
Repost from Tonkeeper News
Фото недоступнеДивитись в Telegram
⚡️ Gasless USDT and Notcoin transfers in Tonkeeper A month ago, Tonkeeper introduced a breakthrough 🔋Tonkeeper Battery feature that pays transactions fees when an account’s TON balance is zero. The Battery covers payments, staking, swaps and more with any tokens and NFTs. In just one month, Battery relayed almost 1,000,000 transactions covering over $100,000 in fees. Today we are making a big step forward: ⚡️fast gasless payments in USDT⚡️. Users do not have to charge the Battery: transaction fees are paid directly from the USDT balance. Gasless USDT transfers in Tonkeeper work 2x faster and 1.5x cheaper than in any other wallet. This is possible thanks to a new wallet architecture called 🔥W5 — an open wallet standard developed by Tonkeeper team to replace the existing standard version 4. 🔥W5 is available as beta release today in Tonkeeper on iOS and Android. To try Gasless Transactions: 1. Update Tonkeeper to version 4.6.1 2. Tap “USDT” and select “Try W5 Wallet” 3. Add the “W5” wallet alongside a current wallet and send some USDT to it 4. Pay with USDT and Notcoin without TON! To learn more about these new product features check out our next post: 👉 Tonkeeper Battery, Gasless and W5. Download Tonkeeper: tonkeeper.com Follow: en · ru · فارسی · twitter
Показати все...
👍 17🔥 17 3
‼️Please update the list of wallets in TonConnect if you want to allow authorization in your dApp via Ton Space.‼️
Показати все...
🤯 30👍 11💊 3 2🔥 1
Repost from TON Society
Фото недоступнеДивитись в Telegram
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
Показати все...
🔥 44👍 10 5
Оберіть інший тариф

На вашому тарифі доступна аналітика тільки для 5 каналів. Щоб отримати більше — оберіть інший тариф.