Everscale Dev EN
492 subscribers
141 photos
2 videos
3 files
406 links
Everscale international community channel
Download Telegram
Release is coming!

Local Node
- Giver, compatible with new ABI version "1", has been pre-deployed. See Upgrade Guide below for more information
Compiler Kit
Added support for:
- New ABI version 1
- Generic replay attack protection (check the doc here)
- Contract selfdestruct feature
- Handler function for bounced messages
- Return of array of structures
- TickTock handler and emulation
- Function inlining
- Fetching public key from the contract code
- Partial assignment for tuples
- Return of named variables/parameters
- Calling base contract functions using super.f()
Limited support for:
- Function modifiers
- Fixed-size byte array type
Improvements:
- Numerous gas consumption optimizations
- User-friendly addresses in tvm_linker
- Secure contract construction
- Fixed serialization of inherited events
- Additional warnings when trying to compile abstract contracts
- New TVM dictionary primitives to speed up stdlib loading
- Optimized gas consumption for stdlib calls
- Added numerical parameter for require
- More detailed error reporting
Client Libraries
- ABI Version 1 was supported.

ton-client-js/types.js file was added. It contains all the types and interfaces defined in JS library for Flow. You can use it in your IDE (if it supports Flow), so it will highlight the code and enable hints.
Documentation
More new docs added. We have updated guides on:
- Testnet use.
- Node SE pre-deployed giver, also make sure to read how it works with contracts.
- Giver use with projects in JS and Rust.
- QraphQL usage particularities.

1. To be able to work with ABI version 1 you need to recompile your contracts and re-use them in your projects.
2. Note that the Node SE pre-deployed giver has been changed. See the updates here.
It’s Open Source time!

Already familiar to the community through a series of beta-releases, TON Labs LLVM compiler is now officially available in Open Source.
Today our senior compiler developers demonstrating the product and underlying technologies at the 2019 LLVM Developers Meeting.

Based on LLVM stack, the solution is designed to take source code in multiple general-purpose programming languages and to generate bytecode for TON Virtual Machine. Now the compiler supports C and some features of C++; Swift and Rust are to follow. The C implementation also has room for optimizations in order to reduce contract gas costs and to achieve better coding experience.

With the code in open source now, we highly welcome contributions from the community and want to thank all who already participate.

🗄
https://github.com/tonlabs/TON-Compiler

As always we will be glad to hear your opinions and feedback at @tondev_en (international) community chat!
TON_Labs_Unveils_Source_Code_of_.pdf
67.7 KB
If you are a journalist (by some occasion), here is the press release. Just in case ;)
Hi guys! We want to consult with you on how to distribute our compilers. Two polls follows - one for each of the compilers. Please choose the preferred delivery option for TON Labs Solidity and LLVM compilers. Which do you find most convenient?
Preffered Solidity compiler distribution options
Anonymous Poll
31%
source files
21%
container
25%
deb/rpm distribution packages
22%
npm-based distribution
Hi all!
Today we have two (technically, three) news at once, so get ready for a long post. As they like to write to the Medium, reading will take up to 5 minutes (if you skip all technical terms along the way).

✅ The first is the Cloud.
We released our public Cloud providing access to Telegram Testnet (check theplayground at testnet.ton.dev) and other TON based Networks.

This comprehensive development environment based on Kubernetes clusters includes several full TON Node instances, databases and messaging protocols, monitoring tools and bundled software. Taken together, these components ensure load balancing for stable performance.

TON Labs Cloud allows developing new smart contracts, migrating them from previous projects on other blockchain, testing, running and deploying contracts in a testnet environment that allows getting a full picture of how contracts operate in a blockchain.

✅ Secondly, we open our Solidity compiler in OpenSource.
We are glad to open access to source code of the Solidity Compiler that is already familiar to the community through a series of beta-releases.
The compiler itself takes source code in Solidity and generates TVM assembly that is then processed by the TVM_linker utility (also open-sourced) to generate bytecode. Most part of the standard language features are supported.

With the compiler in open source now, TON Labs welcomes community contributions to it and optimization suggestions.

🔥 Last but not the least, freshly baked updates for SDK, CLI and other products :)
I will not bother you with the whole list of changes, just check out our Release notes!
TON Labs welcomes second stage participants and all TON enthusiasts and developers into the second stage of Telegram TON Blockchain competition.

The published competition rules allow the use of not only the Fift / Func languages, so TON Labs would like to offer all participants, to create decentralized financial services (DeFi applications) with a use of TON Labs Compilers to write and debug smart contracts in Solidity, C or C++ Languages.

If you choose to do so, TON Labs will provide you with personal technical assistance from the TON Labs team.

In addition in your services, you will have a possibility to integrate with TON Labs Acquiring Smart Contract (Credit/Debit Card Purchases) and Exchange Smart Contract, both combined with KYC Smart Contract already integrated with a necessary financial backbone (subject to compliance approval — please contact us directly or via support chats (RU and EN) for more details).
While we all like low level programming languages, there is a reason why high level languages exist. In the past it was true that low level programming always exclusively led to more efficient code. With the development of modern compilers it is almost universally no longer the case. In this video we show how Sol2TVM Compiler by TON Labs produces a smart contract code which is as efficient as low level implementation while benefiting from all advantages of Solidity high-level language programming.

You can read more about it on our site or on GitHub.
Just added some live statistics of #TON to our https://gramscan.io explorer.
34,223 accounts in TON Testnet, 449,841 transactions since last Testnet restart.
https://www.youtube.com/watch?v=oMWIJHs0dEo
We know that many of you (like us) will continue to work on these holidays, even those who have them longer than usual ;)
So if you' try our Solidity compiler, here is the second part of tips and tricks for gas optimization.
Previous part is here.
Merry Christmas and Happy New Year for all TON community! See you next Year!
New Release from TON Labs!

SDK 0.18.0
Now you can:

- Pre-calculate fees before transaction execution;
- Send any message BOC ( for example, created by Linker or Fifth script);
- Calculate BOC hash.

The following guides were added to documentation:

- Fee pre-calculation functions
- Subscription for external inbound, external outbound and internal messages and their decoding

TON Labs SDK - libraries for decentralized TON applications development
Read the documentation here.
At the moment we are actively working on our documentation, if you have any questions - ask them in @tondev_en

Component Versions
- ton-client-js:0.18.0
- ton-client-node-js:0.18.0
- ton-client-web-js:0.18.0
- ton-client-react-native-js:0.18.0
- ton-client-rs:0.18.0
More updates for Solidity compiler!

0.18 (2020-01-30)
APIs for common TON-specific functionality:

✅ Address constructors and accessors
✅Extended address format that includes workchain ID
- Members for workchain ID and the actual address part
- isZero() and unpack() functions
✅ External addresses support
✅ New APIs to handle mappings:
- next(), exists(), min(), empty(), fetch(), delMin()
✅ Optimizations:
- Smarter parsing of inbound messages to build SmartContractInfo
- Reduced gas consumption when working with smart-contract persistent memory
✅ Enum support
Good morning, fellow community members! :)
Here are some important updates of our Gramscan.io explorer.
By the way, each blockchain should have at least several different explorers, since friendly competition will help us all defeat all the other blockchains.

So, what's new?

- Browse for the exhaustive list of transactions with TPS (transaction per second) displayed
- Drill down to shard data and execution phase info in transaction details
- Check the list of recent messages in a separate screen available from the main menu
- Get a clear picture of account stats with its messages and transactions listed in separate tabs
- Turn live updates off and on, as needed
- Get more value from block details with number of transactions and validator rewards now included
- Work faster with better response time on mobile devices

Check it on gramscan.io :)
🐈
Few months ago TON Labs started to reverse engineer a consensus protocol from Telegram public code as part of TON Labs own Node implementation.

Our hands-on experience with the implementation is covered in "Walk through the Catchain" document available here.

We decided to release this document now after the author of the protocol, Dr. Nikolai Durov, published the consensus outline and we highly recommend everybody read the original.

We hope that our document will provide a broader context as well as help to navigate around the code.
TON Labs SDK Updates

Featured

🔥 Opentracing in JS clients - now you can optionally use Jaeger to trace your communication with our infrastructure and node. See CHANGELOG in ton-client-js repository for detailed information how to do it.
🔥 Address validation implemented in all TONContractsModule module methods. Use convertAddress method to validate an address explicitly.

Optimizations

✅ Problem with "WebSocket is closed before the connection is established" error was solved. WS connection timeout was increased.
✅ Web clients get access to GraphQL data immediately, mobile web client loading time is much faster.

Upgrade Guide

Web applications that used ton-client-web-js library must publish tonclient.wasm to website. If tonclient.wasm is not published in root then module path must be specified in setWasmOptions. More info in CHANGELOG.

Documentation

The following guides were added to documentation

- Learn how to send BOC
- Check how to use runLocal
- Find some tips about aggregation functions in GraphQL

Latest Package Versions

- ton-client-js 0.20.0
- ton-client-node-js 0.20.0
- ton-client-web-js 0.20.0
- ton-client-react-native-js 0.20.0
- ton-client-rs 0.20.0

TON Labs SDK is as set of libraries for decentralized TON applications development with the following features:

- contract deployment and execution (also support sending message BOC generated by Fifth script)
- querying blockchain data via GraphQL endpoint
- subscription to events and data updates
- message decoding
- gas pre-calculation
- cryptographic functions
- etc.

Read the documentation.

At the moment we are actively working on our documentation, if you have any questions - ask them in @tondev_en
Everscale Dev EN pinned «TON Labs SDK Updates Featured 🔥 Opentracing in JS clients - now you can optionally use Jaeger to trace your communication with our infrastructure and node. See CHANGELOG in ton-client-js repository for detailed information how to do it. 🔥 Address validation…»
🔥 TON Labs further enhanced an API for smooth and easy use of TVM intrinsics in Solidity contracts.

— To learn more about it, check the video. Do not forget to like and share. Subscribe to our channel, we have more in stock.

— To start with the compiler, go to our open source repository.

— To play with sample contracts and learn the ropes of writing them for TON, check this repo

— To read more about the TON Solidity compiler, go to docs
[2020-03-12] Gramscan Release notes

<English version will be followed by a Russian one>

Gramscan.io standalone changelog:

🔥 Improved filter interface for more natural tags and values combinations

🔥 Added message body deсoding from base64 to plain text

✅ Changed the list GUI. Added arrows instead of "from-to" text commands

✅ Bug fixes.

Gramscan to TON.Dev integration changelog (with Surf authorization, invitations only Beta) — unavailable for Gramscan.io:

🔥 MyWallet screen added for users authorized with Surf
🔥 Watchlist screen added. You can save filtered subscriptions and be notified of changes.


Gramscan.io changelog [RU]:

🔥 Интерфейс фильтров стал более компактный и удобный в виде комбинации тегов с выбором значений;

🔥 Добавлено декодирование message body из формата base64 to plain text where available

✅ Интерфейс списков сообщений изменился с добавлением графических элементов (стрелок) вместо текстовых from, to и стал более наглядным.

✅ Bug fixes

Changelog Gramscan интегрированого в TON.Dev (авторизация через Surf в ограниченном доступе) — недоступна пользователям Gramscan.io:

🔥Добавили экран MyWallet с информацией о кошельке пользователя, который авторизовался через Surf;
🔥Добавили экран Watchlist, где после авторизации пользователь может сохранять подписки на messages, соответствующие определенной конфигурации фильтров и получать нотификации об изменениях.