I want to make sure that transfer was success using this method response tonConnectUI.sendTransaction() I am using : React js @tonconnect/ui-react @ton/ton E...
one year ago
Hey, i am getting this error while trasnfer NFT. I can't find this error anywhere. i have used as ton metion in their docs. please help me why i am geeting t...
one year ago
TON uses logical time (also known as Lamport time) in messages to track the order of events. But how exactly that time is generated? --- > This question was ...
one year ago
I managed to get a list of the validators from the lite-client. The response has a list of validators that look like this value:( validator_addr public_key:(...
one year ago
I'm new to TON. I know that each message in TON has its lt (Logical time) to track the order of events. But is logical time unique for each transaction or ca...
one year ago
The set_code() function can be used to alter the code of a smart contract. But while it's easy in theory, it would be great to see an example to fully unders...
one year ago
In TVM's whitepaper, we got this in Chapter 3.2.8: > Integers in cells are big-endian by default. > Notice that the default order of bits in Integer s serial...
one year ago
According to the documentation, we find the commit() FunC code described as follows: Commits the current state of registers c4 (“persistent data”) and c5 (“a...
one year ago
Do I get it right that if my smart contract needs to store a string longer than 1023 bits, I should split that thing in parts and make a chain of cells conta...
here is my FunC code: C-like forall X -> int is_null (X x) asm "ISNULL"; forall X -> (tuple, ()) push_back (tuple tail, X head) asm "CONS"; forall X -> (tupl...
In FunC, if you apply the letter c to a string literal (writing it as "string"c), the crc32 check value of the string is calculated and used instead of the s...
one year ago
As far as I understand, NFTs in TON are just smart contracts that implement a specific interface. Suppose I create a wallet, an explorer or some other produc...
one year ago
Hi there guys, how can I make an in place replacement of the bytes in a cell? For example, if I have a cell like, begin_cell().store_uint(val, 8).end_cell(),...
Has anyone ever written test cases for Telemint (also known as the Telegram anonymous phone number)? GitHub Link to Telemint The code is quite complex. I hop...
one year ago
In Blueprint, we will need to write the Wrapper functions ourselves. More importantly, when we code the op code in our FunC code, we need to decode the strin...
In the docs.ton.org, we find: > There is a necessity for the synchronization of message routing and transaction execution. In other words, nodes in the netwo...
one year ago
I'm used to timestamps in Unix time, where digits stand for the seconds passed since 1970. Logical time on TON is also a long number, but it seems different....
one year ago
I remember there was a function equal_slices in stdlib for comparing two slices, but now at compilation time I get an error saying such a function does not e...
It's known that coins in the testnet are not "real". But are the testnet fees in those coins exactly the same as the gas fees in mainnet? If a transaction re...
What are the websites that support TON Connect? I'd like to see examples of the websites implementing TON Connect. I know there are getgems.io, dedust.io, st...
one year ago
Suppose I have a TON wallet address and I want to get all its jetton wallet addresses. How do I get it? Do I need to index all the blockchain for that? --- >...
one year ago
One Toncoin consists of one billion (10 to the power of 9) nanotons. So when dealing with Toncoins, you sometimes need to multiply by a billion. What about J...
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
I know theoretically that a smart contract can deploy another smart contract. But is there an public example of it to learn from? --- > This question was imp...
one year ago
One of the most simple and popular ways to create a Telegram chat bot is to use aiogram framework. And one of the most popular ways to provide UI for a servi...
one year ago
Consider a situatiton where your Toncoins are used in staking, and someone malicious gets to know your seed phrase. This person can access the wallet, but ca...
one year ago
Suppose I use getTransactions, but instead of getting all of them I'm interested only ones that happened during the current month. How do I do that? --- > Th...
one year ago
On the Tonscan and Tonviewer explorers you can find some general stats numbers on TON. But those two websites provide different numbers of addresses. What ca...
Recently a TON update allowed users to send transactions with end-to-end encrypted text messages. Do I get it right that the encryption happens client-side a...
one year ago