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...
one year ago
If I want to study by example, are there any smart contracts for implementing auction on TON open for everyone to learn from? --- > This question was importe...
one year ago
Currently TON blockchain consists of only one workchain and the masterchain. All the smart-contract code in masterchain and basic workchain is executed by TV...
one year ago
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 way that you can access the TON payments system via a Telegram bot? Is there an API that goes along with it? --- > This question was imported from...
one year ago
i want to know which address is optional because i have define main wallet address many time. this is working example. i want to short this method if possibl...
one year ago
I've came to TON ecosystem from Ethereum, and I have Ethereum testnet coins. I know there is Ethereum-TON bridge for mainnet coins. Is there something like t...
Since it's expensive to store data on-chain, NFT image files are usually stored off-chain. But some people still prefer to store NFT images (at least very sm...
one year 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...
one year ago
How do you update tlo files? I have found an update-tlo.sh file, but it can't find tl-parser utility. --- > This question was imported from Telegram Chat: ht...
Why source addres is so important when a contract address being created? In whitepaper: 2.1.2. Source and destination addresses of a message. ``` Any message...
one year ago
TON documentation provides all the necessary information for running TON Sites. But since there are not many of them for now, it would be good too see some a...
I have a balance on the Whales pool. Can you take it out?
one year ago
In many programming languages there are methods like Math.sin() in Java that return the sine of an angle. How can I calculate such value using Fift? --- > Th...
one year ago
I would like to see an example of how to compose the body of a transaction for transferring Jettons. Is there such an example somewhere? --- > This question ...
one year ago
Is there a conventional way to concatenate two strings using FunC? --- > This question was imported from Telegram Chat: https://t.me/tondev/130472
one year ago
I've been playing around with toncli and smart-contract development, but I've been stuck on the toncli deploy command. I'm using a macbook with M1 chip, so I...
Hi everyone I use API v4. In the docs there is example of getting block by unix time: https://mainnet-v4.tonhubapi.com/block/utime/1680031682. Here everythin...
one year ago
For many applications it's not reasonable to put all their data on the blockchain. So they need separate hosting for the things like a database, but they mig...
one year ago
Suppose we check for two conditions at the same time: if( (a == b) & (b == c) ). If a is not equal to b, that makes the first condition false. And that means...
one year ago
TON whitepapers are helpful for a developer, but they are hard to read, especially when English is not your native language. Maybe there are community transl...
one year ago
I see that there is a touch method in the wallet v4 contract: https://github.com/ton-blockchain/wallet-contract/blob/main/func/wallet-v4-code.fc#L90 What exa...
I'm trying to compile a lite client on a macbook with M1, which gives an error: march-native is not supported How can I compile on mac book M1 (ARM)? Is ther...
2 years ago
What determines the purity of a function? A) It must only read the function parameters. B) It can read values outside of the function parameters and return a...
one year ago
On TON blockchain the address of a smart contract depends on its code. The set_code() function can change the code of a contract. What happes to the address ...
one year ago
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 know that the seed phrases (mnemonic word sequences used for accessing crypto wallets) are generated using words from a specific "dictionary". In Bitcoin t...
In the TON blockchain each NFT makes use of its own smart contract. And storing things in TON requires paying storage fees deducted from any smart contract. ...
I'd like to get updates regarding transactions as soon as possible. Do I get it right that the validators are the first to know about the new transactions, a...
one year ago
TON Center (toncenter.com) is possibly the best-known service for making API requests, but lately it was not accessible when I needed it. What can be used in...