TGViewer
Channel Public Channel
TON Dev News

TON Dev News

@tondev_news

Short announces with new services, tools, libraries and their features. Request a post: https://t.me/tondev_news/33
Subscribers
41.1K
Photos
66
Videos
9
Links
238

Showing posts older than #155 · Back to latest

Older Posts 20 shown
Post #154 9.45K

Forwarded from Toncenter API

Mintless jettons support

Toncenter supports mintless jettons, check on preview.toncenter.com!

Now for jettons that allow mintless claim v3/jetton/wallets API returns additional field:

"mintless_info": {
"amount": "<amount-as-string>",
"start_from": <unix-timestamp>,
"expire_at": <unix-timestamp>
}


How to support mintless jettons in your dapp?
— To show balance with mintless, use data["balance"] + data["mintless_info"]["amount"]
— To autoclaim on transaction, when your dapp asks user to send outgoing jetton transfer via TonConnect, check if data["mintless_info"] is present and retrieve from mintless jetton claim api custom_payload and init_data to fill them in to transfer.
— That's it. Now you support mintless jettons!


P.S. Note that now code_hash and data_hash fields can be null for not yet deployed jettons wallets.
  • 🔥 26
  • 👍 10
  • ❤ 7
  • 👏 3
  • ❤‍🔥 2
  • 🥰 1
Post #153 8.55K

Forwarded from TONAPI and TON Console

Mintless jettons support

TONAPI supports mintless jettons as a part of bigger standard for jettons with custom payload and init data.

When you are requesting jetton balances for an account and want to get mintless jettons transparently, you should use the custom_payload parameter in the supported_extension field in the request. For example, this link or direct jetton info this link:

    {
"balance": "1000000000",
"wallet_address": {
"address": "0:405171f583a9e39e22ae9d8394769bc6e37299c59332012a51693b4d606780f3"
},
"jetton": {
"address": "0:fa67d0c7739331fbc3c8f08e018c65f47763616a969100ad760a0b2dc1e36832",
"name": "Mintless Points",
"symbol": "Points",
"decimals": 9,
"image": "https://cache.tonapi.io/imgproxy/DmmPn6dWmsmBgSMVbvjbhIDCChLWI3RmqDJ71whxYBA/rs:fill:200:200:1/g:no/aHR0cHM6Ly9pLmliYi5jby9TS010TlRHL21pbnRsZXNzLnBuZw.webp",
"custom_payload_api_uri": "https://claim-api.tonapi.io/jettons/EQD6Z9DHc5Mx-8PI8I4BjGX0d2NhapaRAK12CgstweNoMint"
},
"extensions": [
"custom_payload"
]
}



How to Support Mintless Jettons in Your Dapp

1. Request balances with ?supported_extensions=custom_payload.
2. Check if data["extensions"] contains "custom_payload" for the jetton.
3. If it contains and you want to autoclaim on transaction, when your dapp asks the user to send an outgoing jetton transfer via TonConnect, request custom payload and state init via the API: https://tonapi.io/v2/jettons/0:fa67d0c7739331fbc3c8f08e018c65f47763616a969100ad760a0b2dc1e36832/transfer/UQBDaa8UGaMVKiT8TKXiaJqlyWLmx-MoHYvT_wzHEpdUnIss/payload.
4. Add the received data to the message in your TonConnect request.
5. That's it. Now you support mintless jettons!
Telegram TON Dev News TON Mintless Jettons Introducing the new TON Mintless Jetton technology. It is a jetton that can be instantly distributed to hundreds of millions of users on the TON blockchain, with network fees costing less than a dollar. The user's ownership of their…
  • 👍 28
  • ❤ 10
  • 😁 3
  • 💯 2
  • 🍌 2
  • 🔥 1
  • 🥰 1
Post #152 20.5K
TON Mintless Jettons

Introducing the new TON Mintless Jetton technology. It is a jetton that can be instantly distributed to hundreds of millions of users on the TON blockchain, with network fees costing less than a dollar. The user's ownership of their coins is guaranteed by cryptography and a smart contract.

As an example, we created a test jetton called Mintless Points (for testing purposes only, no other value) and distributed it to 18 million wallets in the TON mainnet.

This jetton is compatible with regular jetton in TON. The only difference is that the smart contact is not created in advance, but during the user's first action.

Popular TON ecosystem products such as Tonkeeper, MyTonWallet, Tonviewer, Tonscan.org, TON API, DTON, Toncenter have announced that they will soon support Mintless Jetton technology.

We encourage all products and services in the ecosystem to consider integration as well.

On September 26, the famous game project Hamster Kombat will apply this technology during its coin giveaway. Considering Hamster Kombat's gigantic audience, this event has all chances to become the largest airdrop in the history of cryptocurrencies.

Description »

Standard »

Smart Contract »
  • 🔥 39
  • 👍 29
  • ❤ 8
  • 💩 4
  • 👏 3
  • 😁 1
Post #151 11.5K
🎉 Tact v1.5.0 has just been released

The new Tact release v1.5.0 just landed on NPM! Here are the highlights of the most important features.

🛠 New Tact features

asm functions allow you to access the deep dark corners of TVM for more features or better performance:


asm fun keccak256(s: Slice): Int {
1 INT HASHEXT_KECCAK256
}


asm functions have some limitations at this point and the Tact team will make them even more powerful in the next releases.

- A wider range of serialization options for integers can now be used, not just 8, 16, 32, 64, 128 and 256-bit integers, but anything in between: uint1 through uint256 and int1 through int257. For instance, a 48-bit timestamp can be defined now if you'd like to build contracts that can work after the year 2038:


contract Contract {
timestamp: Int as uint48
}


- Constant definitions now support calls to user-defined functions and references to other constants:


const CONSTANT: Int =
myFunction(OTHER_CONSTANT)


👩‍💻 New builtin and stdlib functions and methods

- The exists method for the Map type: m.exists(key) which is equivalent to m.get(key) != null.

- The deepEquals method for the Map type: m1.deepEquals(m2) -- you can now easily compare two maps with the same key-value pairs and get true as the result, even if their internal representations are different, so the hash-based == comparison would return false.

- The toSlice method for structs and messages: struct.toSlice().

- The new slice, rawSlice, ascii and crc32 built-in compile-time functions to help you define constant integers and slices more conveniently.

- The new stdlib functions to help with fee calculations: gasConsumed, getComputeFee, getStorageFee, getForwardFee, getSimpleComputeFee, getSimpleForwardFee, getOriginalFwdFee, myStorageDue. This brings you access to the TVM instructions from 2023.07 and 2024.04 upgrades.

- The parseStdAddress and parseVarAddress stdlib functions allow you to parse slices into structured addresses.

🐞 The new release also includes a bunch of bugfixes. Thanks to all the Tacticians for all the issues you open!

📜 Full changelog for Tact v1.5.0: https://github.com/tact-lang/tact/blob/main/CHANGELOG.md#150---2024-09-15
  • 👍 34
  • 🔥 19
  • ⚡ 8
  • ❤ 5
  • 🤡 4
Post #149 14.3K

Forwarded from TON Status

URGENT - Mainnet validators

Please update your nodes and then restart.

In mytonctrl run:
upgrade stable_testnet

If you don't use mytonctrl manually switch node to stable_testnet branch.

If you have multiple validators you can update them all at once. Please stay tuned for a few hours, in case of subsequent instructions.
  • ❤ 36
  • 👍 25
  • 🙏 9
  • 🔥 4
  • 🤮 4
  • 👏 3
  • 💯 1
  • 🤣 1
Post #147 17.1K

Forwarded from Tact Kitchen

🎉 Misti 0.2 has just landed on NPM!

🔍 Five New Tact Detectors: Сonstant Address, Branch Duplicate, `dump` Is Used, Field Initialized Twice, Prefer Augmented Assignment.

🛠 Blueprint Support: Introducing the new Blueprint Plugin.

🔧 Fixes & Enhancements: More configuration options and various fixes. Check out the full changelog.

♨️ @tact_kitchen
nowarp.io Welcome to Misti | Misti The TON Static Analyzer
  • ❤ 31
  • 👍 14
  • 🔥 7
  • 😁 5
Post #146 14.9K

Forwarded from krigga is typing...

TVM Debugger

I have just released an early version of TVM Debugger, which will allow developers to debug their TON contracts as they would debug any regular program - line by line, with breakpoints and variable inspection.

You are welcome to try it out - just look at this example repo.

If you have any feedback, suggestions, bug reports, or anything else of that sort, do not hesitate to post it in the discussion of this post, or simply DM me.

The implementation of the debugger is definitely a little dirty in some places at the moment, so please don't judge the quality of code too harshly yet.

If you would like to learn about the inner workings of the debugger, or about the features that may be implemented in the future, please read this post.
GitHub GitHub - krigga/tvm-debugger-example Contribute to krigga/tvm-debugger-example development by creating an account on GitHub.
  • 🔥 33
  • ❤ 18
  • 👍 6
  • 💩 3
  • 👏 1
Post #145 12K

Forwarded from Tact Kitchen

🎉 Tact 1.4.4 has just landed on NPM!

Fixed a few bugs and added AST equality comparison API mostly for third-party tools, like the misti static smart-contract analyzer. The API also be used to compare contracts without taking into account whitespace, comments or even order of definitions and declarations.

More details as always can be found in the changelog.

— The Tact team

♨️ @tact_kitchen
  • ❤ 27
  • 🔥 12
  • 👍 11
Post #144 12.5K

Forwarded from TON Tech

🔨 TON Connect SDK Update

We're excited to announce a new release of the TON Connect SDK with improvements in design and functionality.

We kindly request all dapp developers to update to the latest version to ensure optimal performance and user experience.

👥 @tonconnect/{sdk,ui,ui-react}
• Added support for Telegram Browser
• Improved dapp-wallet transitions
• Adaptive letter spacing for wallet names
• Enhanced reconnection for laggy bridges
• Adjusted font weights in UI elements
• Various performance optimizations

📁 New package versions
@tonconnect/sdk 3.0.5
@tonconnect/ui 2.0.9
@tonconnect/ui-react 2.0.9

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

💡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!
  • 👍 36
  • 🔥 7
  • ❤ 1
  • 🤩 1
Post #142 10.3K

Forwarded from Tact Kitchen

🎉 Tact 1.4.2 has just landed on NPM!

🐞 We fixed a few type-checking and code generation bugs. One of the most important fixes is that getters again return flattened types for structs as it used to be. We broke it while trying to allow structs with more than 15 fields. Please give it a try and let us know if the issue is gone now — all your bug reports are really appreciated.

🛠 A bunch of the other changes include improved support for the misti static smart-contract analyzer — give it a try, it’s in early stage of development but already found some issues in soon-to-be released projects.

— The Tact team

♨️ @tact_kitchen
  • 👍 20
  • ❤ 11
  • 🔥 6
Post #141 9.76K
TON 2024.08

Main features:

Security: Introduction of dispatch queues that will better protect network against certain attack vectors;

Performance: Fast State Serializer and improved broadcasts;

Usability: emulator, tonlib, send modes and other improvements;

Full Changelog »

Validator and liteservers owners please update as described in the @tonstatus channel
  • 👍 21
  • 🔥 10
  • ❤ 6
  • 🤮 2
  • 🕊 1
Post #139 8.15K
MyTonCtrl 2.0

MyTonCtrl — the most popular tool for TON validators and liteservers has received a major update.

Full code refactoring, bug fixes, built-in support for single-nominator and liquid staking and many other new features and improvements.

To update, type in the MyTonCtrl console:


update master
upgrade


Full Changelog »
  • 👍 17
  • ❤ 7
  • 🔥 4
  • 🤮 4
  • 👎 1
Post #138 10.6K
Introducing Retracer 🤖

Ever wondering why transaction on your contract failed? What action caused fail of action phase? Replay it in browser, see the stack for each VM step, check the transaction emulator logs, c5 content and all other staff!

retracer.ton.org

Insert transaction hash and press "Emulate".

Another way to get result of transaction replay is dton.io: for any tx, go to Computation phase tab and press "Server run".
  • 👍 40
  • ❤ 16
  • 🔥 8
Post #137 9.78K

Forwarded from dTON Tech

🚀 Huge Update for the dTON Ecosystem! 🚀

We are glad to bring you some incredible updates for the dTON ecosystem that will make managing and optimizing your TON experience easier than ever:

1. 📱 Telegram Mini App: Manage your rates and keys effortlessly.
2. ⚡ Boost Feature for Liteservers: Supercharge your liteservers performance.
3. 📊 Analytics Feature for Liteservers and GraphQL: Coming soon!
4. 🔑 GraphQL API Keys: Your reliable source of data about TON. [📄 Docs link]
5. 🔔 WebhookAPI: Filter the events you need, select fields from transactions, accounts, or blocks, and get data sent directly to your endpoint. [📄 Docs link]
6. ⏰ Notification on Expiration: Never miss a renewal with timely notifications.

⭐️ Top Up Your Balance with Telegram Stars, USDT, or TON.

🎉 Get a free $5 right now with the promo code HYPERCUBE (first 100 unique users will get the reward).

Don’t miss out on these fantastic new features.
Enhance your dTON experience today! 💥

👉 Open APP 👈
⬆️
  • 👍 26
  • ❤ 11
  • 🔥 10
  • 🌭 2
Post #136 9.63K
🐞 Misti – TON Static Program Analyzer

The first release of Misti – a static program analyzer for the TON blockchain has landed!

🐛 Detect Vulnerabilities: Identify and fix potential security flaws early in the development cycle.

🛠 Create Custom Detectors: Solve specific problems in your code or provide a thorough security review if you are an auditor.

📄 Improve Code Quality: Maintain high standards by catching bugs and enforcing best practices automatically.

🚀 Streamline Development: Integrate Misti into your CI/CD pipeline to ensure continuous code quality checks.

💎 Language Support: Tact ⚡ is supported; FunC support is planned.


- GitHub: https://github.com/nowarp/misti, contributions are very welcome!
- Documentation: https://nowarp.github.io/tools/misti/docs
- Telegram Group: @misti_dev
GitHub GitHub - nowarp/misti: TON Static Analyzer TON Static Analyzer. Contribute to nowarp/misti development by creating an account on GitHub.
  • 👍 19
  • 🔥 15
  • ❤ 8
  • 🌚 1
Post #135 11.1K
New Localization Workflow for TON Documentation made by Townsquare Labs

Townsquare Labs is excited to announce that the new localization workflow for the official TON documentation is now live!

🎉 Check out the detailed guidelines to get started: https://docs.ton.org/contribute/localization-program/overview

📢This update is a significant step because by providing documentation in multiple languages, we are breaking down language barriers and making it easier for people worldwide to understand and contribute to the TON ecosystem.

Not only solving the language barrier, we have also included the following features in this new localization:

1. Automated processes: Streamlines development, integration, and deployment, enhancing efficiency and consistency.

2. Role separation: Decouples developer, translator, and verifier roles for high-quality translations and smooth collaboration.

3. Community incentives: Rewards members who contribute to the localization process, encouraging active participation.

4. Advanced AI integration: Enhances translation accuracy and efficiency with intelligent suggestions and automation.

Coming Soon:
We’re working closely with various local communities, including JP, KR, RU, PL, UA, and more, to make the TON blockchain more accessible to everyone. The support for TACT docs and Telegram Mini Apps are on the way.

Join us in our mission to make the TON blockchain accessible to all! 🌐
  • 👍 57
  • ❤ 15
  • 🔥 8
  • 👎 4
  • 🆒 1
Post #134 13.4K
Attention Developers!

We need your valuable insights to make the TON & Telegram Apps platform even better! 🚀

As a token of our appreciation, every developer who completes our questionnaire will receive an exclusive SBT from TON Society! 🎁

Your feedback is crucial in shaping the future of our ecosystem. Take a few minutes to share your thoughts and experiences with us.

👉 Start the Questionnaire Now

Thank you for being a vital part of our community and helping us build a stronger, more vibrant platform!
  • 👍 26
  • ❤ 8
  • ❤‍🔥 2
  • 💯 2
Older posts →
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →