How do we save an ordinary string in FunC? For example, how do you store the text "A" without making it a slice? --- > This question was imported from Telegr...
What's the best way to debug unexpected test failures? Does FunC have a print function? My test failed on first check: throw_if(100, exit_code != 0); but how...
What are compute_gas_fees and other_fee? They consume much more coins than gas fee. Is there a way to lower them? --- > Question imported from Telegram Chat:...
2 years ago
Are there any tips how to install/configure the smart contract development environment on an Apple M1 device? I'm having an issue with CMake here: CMake Erro...
2 years ago
What error code should a smart contract use when dealing with an unsupported opcode? Is it up to the smart contract developer, or there is a conventional one...
2 years ago
It is known that TON is designed for scalability and can potentially withstand mass adoption in the future. But since it has not reached its full potential y...
2 years ago
Is it possible to check what balance a specific wallet had in a specific moment in the past, given in unixtime? Is it possible to do that via Toncenter? --- ...
2 years ago
I'd like to put an address and a hash table into the c4 register. Can I put there both of them there separately or do I have to put the address into the hash...
2 years ago
I'd like to know more about emission on TON blockchain. Where can I read about it? Or maybe instead of reading I should use an explorer to check some special...
2 years ago
Functions are called "words" in Fift, and there is a special word word. The whitepaper (https://ton.org/docs/fiftbase.pdf) explains it this way: «word (x – S...
2 years ago
Usually new blocks on TON blockchain are formed every new seconds so there's no reason to worry about waiting too long. But I've heard that under some circum...
2 years ago
Technically speaking, masterchain and basechain are similar in many ways. Why does using the masterchain cost much more gas? --- > This question was imported...
2 years ago
As far as I understand, code in FunC language compiles to Fift, and then from Fift code the resulting bag of cells is generated. Could I make my code more co...
What's the easiest way to get the number of the latest block on the TON blockchain? --- > This question was imported from Telegram Chat: https://t.me/tondev/...
2 years ago
There are numerous libraries for working with TON, but they are mostly for JavaScript / TypeScript. Is it possible to interact with TON using Go language? --...
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...
2 years ago
Are there functions for working with dates in FunC? Is it possible to get the current date or something like that? --- > This question was imported from Tele...
Highload wallets use queryId instead of seqno. It is better suited for large amounts of transactions, but does it come with a cost in terms of gas? How much ...
The main source of knowledge about Fift language is the whitepaper, available at https://ton.org/fiftbase.pdf. It is useful, but are there other articles, vi...
https://toncenter.com/api/v2/getTransactions?address=UQCzwxqIw1pt41DND9pgGfAOhJKtQQEgjVcpn0rHxv-4b8Ob&limit=1<=23481826000001&hash=OBInamdujxrUx%2Fqebnhix%2F...
2 years ago
How can I actually register a ton domain? And how to participate in a public auction? > This question was imported from Telegram Chat: > https://t.me/tondev_...
People who own NFTs can keep them in their wallets such as Tonkeeper. But can non-wallet smart contracts be listed as the NFT owners too? Are there any limit...
I come from the Ethereum ecosystem, where time is measured in epochs. Is there a thing like epochs in the TON ecosystem? --- > This question was imported fro...
Is there a built-in square root function in the language? And if not, maybe there is a popular library with the optimal implementation? --- > This question w...
I probably need to use an off-chain backend for my project, but then my app would not be as decentralized as I want it to be. In the EVM ecosystem there is a...
2 years ago
Suppose I need to store 50 000 objects and have the ability to sort them (e.g., find an object with the minimal value of some parameter). Is it possible and ...
2 years ago
What is the purpose of the Election contract on the TON blockchain, and why does it have a balance greater than the total stake of all validators combined? >...
2 years ago
Does anyone know what the following error message of Fift means? I think I have configured fiftlib correctly. [fift-main.cpp:204] Error interpreting file cou...
Is there a way that I can use .ton as a domain name? --- > This question was imported from Telegram Chat: https://t.me/tondev_eng/9399
What is the minimum stake for a validator? On GitHub (https://github.com/ton-blockchain/mytonctrl/blob/master/docs/en/nominator-pool.md) I found that the min...