Given a frontend that lets users upload files to a server, is there a way to manage uploaded files with a TON smart contract? For example, make the uploaded ...
2 years ago
Is it possible to call a function in a recursive way in FunC? If so, how exactly should I do it? I haven't found it in the FunC documentation, is it covered ...
Suppose there is a web3 blog platform where people follow specific writers. Each follower has its own smart contract. Usually data such as "X follows Y" woul...
2 years ago
On TON blockchain there are special highload wallets that can send out multiple transactions at once. But they also have a limit — 255 transactions at once. ...
2 years ago
There are numerous libraries for interacting with the TON blockchain, so it might be hard for a new developer to choose. Of course, what is the "best" is a h...
2 years ago
I would like to know stats on the validators and staking: number of wallets participating in it, amount of coins and so on. There is some info by TON Whales,...
Hey all - does anyone know why ther are different addresses between the PoW giver contracts listed here: https://ton.org/docs/#/howto/pow-givers and the ones...
2 years ago
As far as I understand, on TON blockchain there is a globally set gas limit, and its value usually stays the same, but hypothetically it could be changed. If...
Suppose there is a mutex that locks some operations in the smart contract waiting for some other execution chains outside of the smart contract to finish. Is...
2 years 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 ...
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 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...
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
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 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...
I'm trying to create a human-readable transaction graph, but haven't succeed yet. Maybe someone has seen successful examples on other blockchains? --- > This...
2 years ago
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...
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
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...
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 ...
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
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
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
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
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'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...
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...
I've been trying to create a simple wallet smart contract by myself to learn FunC, but my transactions keep failing with exit code 34. What am I doing wrong?...
2 years ago