Some programming languages let assign a variable the result of a logical expression. In FunC that could look like this: int enough? = (s.slice_bits() >= flag...
one year ago
In the TON DNS smart contract, there is code that makes it so that if the owner doesn't make a transfer within a year, the DNS will be released. Is there a w...
TON Storage isn't meant to be a hosting for all kinds of websites, but it can host static content. Are there any real-life examples of static TON Sites that ...
one year ago
Is there a dedicated chat group for validators? I'm looking because I want to discuss updates to MyTonCtrl. --- > This question was imported from Telegram Ch...
Case 1: () recv_internal(int my_balance, int msg_value, cell in_msg_full, slice in_msg_body) impure { slice cs = in_msg_full.begin_parse(); int flags = cs~lo...
one year ago
I wrote a program in Fift, which included the following code: asm 1 PUSHINT I receive the following error: "PUSHINT: stack underflow" This doesn't make sense...
FunC standard library includes Lisp-style lists. TON documentation describes them and their basic functionality like adding an element to the beginning of a ...
one year ago
Many TON tutorials and whitepapers mention Linux/macOS-specific things like /usr/lib/fift path, terminal commands and so on. Can I develop smart contract on ...
As far as I understand, in TON NFT it is possible to associate a wallet with a specific NFT so each of NFTs may have its own "balance". So does it mean it is...
one year ago
A good way to learn in development is to study code written by other people. There are open source smart contracts written in FunC that people can use for le...
one year ago
можно ли и как сформировать ссылку, которую я могу отправить кому-либо, получатель ссылки, перейдя по ней, получает установленную сумму монет с моего кошельк...
9 months ago
8 months ago
For some reason I can't parse commentary that I receive in a transaction. This commentary is specified when sending ton coins from a wallet to a smart contra...
TON wallets are smart contracts that need to be deployed on-chain. But if someone does not deploy their wallet contract, their wallet is unininitialized. Wha...
There are different approaches to division: * using floating-point numbers (so 23 / 4 = 5.75) * mathematical rounding (23 / 4 = 6 since it's the closest inte...
one year ago
According to TIP-64, the NFT metadata attributes are as follows: 1. uri 2. name 3. description 4. image 5. image_data But what if I wanted to add additional ...
Using the TON documentation, one can stumble upon tables that have a column with some "x - y" notation, like this one: What exactly does "b - x" mean here? -...
one year ago
When I try to install toncli using Windows I see: (venv) PS C:\Users\Maxim\Desktop\ton\ton-win64-binarie> toncli INFO: 🥰 First time run - i'll create config...
one year ago
I have a question about the burning mechanism. It seems that the Elector smart contract does not send half of network fees to black hole address. Indeed, the...
one year ago
Can anyone can create a jetton? Even an ETH token? How do we know which one is the official bridge of ETH? --- > This question was imported from Telegram Cha...
Is the code of smart contracts visible to the explorers? Can I use some explorer to see the code of any specific smart contract I'm interested in? --- > This...
one year ago
It is probably a silly question, but it is confusing for a newcomer. What is the difference between msg and msg_body, aside from the type difference? --- > T...
one year ago
Back in 2020-2021, I mined TON alongside ETH. This was through TonWhales. The system utilized a Telegram channel to check balance, deposit, withdraw, etc. Ob...
7 months ago
When "throwing" inside a function, is the transaction cancelled? For example, if I send 10 TON from a main account but in a smart contract there an error is ...
one year ago
Is there a way to check how many transactions per second are there currently on the TON blockchain? The tonmon.xyz website is supposed to show this, but for ...
one year ago
I am looking for an easy walkthrough for setting up a TON Site. I have setup the usual webserver using Nginx, with /var/www/site website directory. What shou...
Is there a possibility that TON will be added to Metamask later? Or there are some technical / non-technical reasons preventing that from happening? --- > Th...
I have a wallet that has a jetton in it but no TON coins, so I can't send the jetton from it. I want to send a bit of TON to the wallet and after that send t...
one year ago