Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Profile picture
Howard
Moderator
13 Questions, 113 Answers
  Active since 20 January 2023
  Last activity 16 days ago

Reputation

630 + 13 this December 0 17

Badges 6

Editor Freshman 3 × Eureka! Newbie Enthusiast Scholar
1 Votes
1 Answers
5K Views
1 Votes 1 Answers 5K Views
The following content appears in this whitepaper (https://docs.ton.org/tblkch.pdf): > For instance, each outbound message created in a transaction is assigne...
1 Votes
1 Answers
6K Views
1 Votes 1 Answers 6K Views
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...
3 months ago
0 Votes
0 Answers
6K Views
0 Votes 0 Answers 6K Views
For example, if you examine the code in detail here: https://github.com/ton-blockchain/payment-channels/blob/e605580c3fb1feb22d80be9a0cddfcd05671c347/func/as...
8 months ago
0 Votes
1 Answers
6K Views
0 Votes 1 Answers 6K Views
In whitepaper, 2.1.1. Account addresses. we got description in below: The source address and destination address are always present in any message. Normally,...
0 Votes
0 Answers
6K Views
0 Votes 0 Answers 6K Views
Since I am looking into the multisig project in detail, how can I use the command line in GitHub (https://github.com/akifoq/multisig) using the following com...
8 months ago
0 Votes
1 Answers
6K Views
0 Votes 1 Answers 6K Views
In the Solidity programming language on the EVM, we need to be mindful of gas usage for each line of code. For now, the difference in gas cost in TON is stil...
0 Votes
0 Answers
3K Views
0 Votes 0 Answers 3K Views
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...
7 months ago
0 Votes
1 Answers
5K Views
0 Votes 1 Answers 5K Views
What is the usage of the configuration here? Should I worried about it if I am testing my contract? https://github.com/ton-community/sandbox#networkblock-con...
10 months ago
0 Votes
1 Answers
5K Views
0 Votes 1 Answers 5K Views
As mentioned in this question: "3) Poll for the latest transactions from the Blockchain using your wallet account ID and match the transaction using the pre-...
2 months ago
0 Votes
0 Answers
5K Views
0 Votes 0 Answers 5K Views
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...
3 months ago
0 Votes
0 Answers
6K Views
0 Votes 0 Answers 6K Views
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...
3 months ago
0 Votes
1 Answers
6K Views
0 Votes 1 Answers 6K Views
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...
3 months ago
0 Votes
2 Answers
11K Views
0 Votes 2 Answers 11K Views
Follow the docs there:https://ton.org/docs/develop/func/overview back by the code: () send_money(slice address, int amount) impure inline { var msg = begin_c...
10 months ago
1 How to Call a Smart Contract Function in Python

To call a function from a smart contract using Python, you can use the tonsdk package available on PyPI.

This package provides a convenient way to interact with TON smart contracts using Python.

You can find more information and installation instructions on the package's official PyPI page: https://pypi.org/project/tonsdk/

7 months ago
1 Is there a way to get more testnet coins?

Unfortunately, no.

But the best way for me is to open more Telegram accounts and call the bot from each account.

8 months ago
1 Regarding the API documentation, how can I create a new address?

I would suggest using the JavaScript library for this: https://github.com/toncenter/tonweb.

For TON JS examples, please refer to https://github.com/toncenter/examples.

Alternatively, you could try using this Python library: https://github.com/kdimentionaltree/tApi. It is a part of TonCenter for single liteserver, and an example can be found in sandbox.ipynb.

8 months ago
1 Does a 24-word mnemonic correspond to multiple addresses, or is there a 1:1 relationship between them?

**Yes, it is possible for a 24-word mnemonic phrase to correspond to an unlimited number of addresses. ** ⭕️

This phrase is generated using a deterministic wallet seed and is used to derive multiple public and private key pairs following the BIP32 hierarchical deterministic wallet (HD wallet) standard.

**❗️It is important to note that the relationship between the mnemonic phrase and its corresponding key pairs is one-to-many, rather than many-to-many. **

In other words, each uniqu...

9 months ago
1 Do any randomly generated 256 bits constitute a valid Ed25519 private key?"

Yes, any randomly generated 256 bits can be used as a seed to generate an Ed25519 private key. One possible method for generating a private key from such a seed is by using a cryptographic hash function such as SHA256.

8 months ago
1 Is there an Ethereum epoch equivalent on TON?

Yes, there is a concept of epochs in the TON ecosystem as well. An epoch is a period of time during which a specific set of validators are responsible for validating transactions and creating new blocks. In TON, an epoch typically lasts for several hours, during which validators can earn rewards for successfully validating transactions.

Each epoch is composed of a fixed number of blocks, which are validated by a specific group of validators. The validators for each epoch are selected b...

9 months ago
1 What's the difference between addr, and Addr, by the way?

addr, is alias for 256u,: write 256uint.

Meanwhile full address serialization also include address format tag, workchain, 256bit part ans some additional fields.

Addr, consume from stack two elements: workchain and hash-part and handle this.


All account IDs have 256-bit address in the MasterChain and BaseChain (basic workchain).

Nowadays, only the Masterchain (workchain_id=-1) and occasionally the basic workchain (workchain_id=0) are running in the TON Blockchain.
...

10 months ago
1 What is the cost to store data in the TVM TON Blockchain at this moment? And what is the difference if we using TON Storage rather than Cell?

Generally speaking, TON Storage is offline and its cost depends on the provider. On the other hand, for TON Cell, you should check the TON Storage fee.

It's important to note that TON Storage only ensures that storage providers don't receive payment if they don't store the file, but it doesn't guarantee that files are actually stored. TON Storage is more about availability than actual storage.

**As for the cost of storing data on TON, saving 1 MB of data for one year will cost approxima...

8 months ago
1 Why `source addres` is so important when a contract address being created?

Both the source and destination addresses are important in a message for various reasons:

Traceability and Accountability: The source address indicates the origin of the message, i.e., the account (smart contract) that created the message while processing a transaction. Having a fixed, unchangeable source address ensures that the origin of the message is known and cannot be tampered with. This helps establish a clear chain of actions within the network, making it possible to trace and au...

8 months ago
1 I'm making the request to TonCenter API, but got this error in my tx_hash.

The error message suggests that there is an issue with the transaction id hash size. The hash being used in the request might not be the expected size, causing the server to respond with an error.

One possible solution is to encode the parameters in the request, including the transaction hash, to ensure that the values are being properly passed to the server.

Additionally, double-checking the length and format of the transaction hash could also help to identify any issues.

...

9 months ago
1 what is that difference for the sha256 we use in Solidity or EVM in general?

The quoted text is describing the elliptic curve cryptography (ECC) used in TON, specifically in the TON Blockchain and TON Network. ECC is a cryptographic approach that relies on the mathematics of elliptic curves to create secure key pairs for public-key cryptography.

The passage mentions two specific elliptic curve algorithms used in TON: Ed25519 and Curve25519.

Ed25519: This is an elliptic curve digital signature algorithm that provides high-security, fast performance, and ...

8 months ago
1 Retrieving Unordered NFT Collection Items from TON Blockchain - Any Experiences?

Hi Emmanuel, maybe you can take a reference here for help. Like it mentioned, maybe you will need a archive node since this might be a heavy seraching for the item_id and the NFT Item Address tho

https://docs.ton.org/develop/dapps/asset-processing/nfts#unordered-collection

7 months ago
1 Why the TonCenter API works with error here?

It looks like the initial transaction requested through /getTransactions is not in the masterchain (workchain=-1). You can try using /getBlockTransactions to look for the transaction in the basechain (workchain=0).

First, use /lookupBlock to find the block number corresponding to the transaction's Unix time, and then use /getBlockTransactions to search for the transaction in the block with the corresponding sequence number in each shard.

In the specific case mentioned, the tran...

9 months ago
1 Can the rate of confirmations be increased in TON blockchain? Are exchanges requesting too high a number? Is there a way to boost transaction speed?

In the TON blockchain, once a transaction is included in the blockchain, it is considered "confirmed" and cannot be undone. Therefore, the speed at which transactions are included in the blockchain is critical for many use cases, particularly for decentralized applications that rely on fast and efficient transaction processing.

Unlike some other blockchains, such as Ethereum, the TON blockchain does not allow for dynamic adjustment of gas fees based on market demand. Gas prices are t...

8 months ago
1 What is the inflation rate for TON?

The inflation rate for TON is not fixed and may vary depending on various factors such as network activity and the number of validators.

According to the TON whitepaper, the initial inflation rate was set at 0.6% per year, which is distributed among the validators as a reward for validating transactions and maintaining the network.

However, it's important to note that the inflation rate for TON may not be directly tied to the circulating supply or the initialized account balances. Ins...

8 months ago
1 What would be the best method to check if my address received a payment with a specific message? Is 'getTransactions' method okay?

Using the **'getTransactions' **method would be a recommended approach for checking if a specific message was received by a particular address.

The TON JS Examples repository on Github offers helpful resources, including a JavaScript code snippet that can be used to retrieve a list of transactions for a specific address.

The code example can be found at
https://github.com/toncenter/examples
https://gist.github.com/slavafomin/1bcb401b5dc336bb4f9a2005b1660cbd.

8 months ago
1 How can I print out something in FunC?

In FunC world, you can type this to get the result:

var e = 123;
e~dump();
10 months ago
0 How to correct parse full message-graph for smart-contract call?

1/ Is it realy so complicated to get parent message, or I missed some method or something else?

=> This is out of my knowledge.

2/ How much can I trust method getBlockByUtime? Is it possible that for some unix time I will (not get block)/(get next block)/(any options)?

=> getBlockByUtime is a method used to fetch a block that was produced closest to a given Unix time. It's not 100% precise due to the fact that block times are not strictly enforced in the protocol, and there's...

5 months ago
0 Is it possible to retrieve all the available usernames from Fragment?

I think you can check in detail of this collection here in getgems and using the TonAPI to fetch all the NFT item in this collection tho.

https://getgems.io/collection/EQCA14o1-VWhS2efqoh_9M1b_A9DtKTuoqfmkn83AbJzwnPi#stats

5 months ago
0 Follow the Docs for `send_raw_message`.
  • "store_uint" is presumably a function or method that takes two parameters.
  • The first parameter, "0x18", is a hexadecimal representation of a number. In decimal form, "0x18" equals 24.
  • The second parameter, "6", could be the size or length of the data that's being stored, often referring to the number of bits. In this case, the integer 24 is being stored in a 6-bit format.

In general, serialization is the process of converting data structures or object states into a format that can ...

5 months ago
0 ECRECOVER

Nah, the update haven't implement in test-net.

4 months ago
0 Discrepancies in TON Network Burning Mechanism: Elector Smart Contract, Burn Address, and Tonstat Data - What's Going On?

Hi, I think the burn address for each block is not the same as the address you've pasted here. That might be the reason.

4 months ago
0 Are different wallet versions fully compatible for sending TON?

Yes, that's correct.

You can take a look at the document here: https://docs.ton.org/participate/wallets/contracts

Basically, the difference in wallets lies in whether it's a high-load wallet, whether it supports NFTs, subscriptions, etc.

4 months ago
0 How to tell apart a NFT smart contract from another ones?

The short answer is through Interface.

But also you can take reference in TEP62(NFT Standard) https://github.com/ton-blockchain/TEPs/blob/master/text/0062-nft-standard.md

And also check my Tact code https://github.com/howardpen9/nft-template-in-tact

3 months ago
3 months ago
0 Is there a way to lock NFT for staking?

Hey, in general, there is no TEP (TON Enhancement Proposal) defined for what constitutes "Standard Staking for NFT."

As the contributor who implemented the NFT standard in the Tact language, you can easily set the status on your stake by creating a new contract and designating it as the new owner of the NFT.

Alternatively, you can change the status within the NFT item itself, and then add a require statement to limit the Transfer method for the NFT item.

In summary, the way to im...

3 months ago
2 months ago
0 How to read a string one character at a time?

For Slice reading , you can using load_uint(8) in FunC.

More detail can check with example like here:
https://docs.ton.org/develop/smart-contracts/guidelines/tips#spend-less-gas-on-large-smart-contracts

2 months ago
Show more results compactanswers
1 Votes
1 Answers
5K Views
1 Votes 1 Answers 5K Views
The following content appears in this whitepaper (https://docs.ton.org/tblkch.pdf): > For instance, each outbound message created in a transaction is assigne...
0 Votes
2 Answers
11K Views
0 Votes 2 Answers 11K Views
Follow the docs there:https://ton.org/docs/develop/func/overview back by the code: () send_money(slice address, int amount) impure inline { var msg = begin_c...
10 months ago
0 Votes
0 Answers
6K Views
0 Votes 0 Answers 6K Views
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...
3 months ago
0 Votes
1 Answers
5K Views
0 Votes 1 Answers 5K Views
As mentioned in this question: "3) Poll for the latest transactions from the Blockchain using your wallet account ID and match the transaction using the pre-...
2 months ago
0 Votes
0 Answers
5K Views
0 Votes 0 Answers 5K Views
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...
3 months ago
1 Votes
1 Answers
6K Views
1 Votes 1 Answers 6K Views
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...
3 months ago
0 Votes
1 Answers
6K Views
0 Votes 1 Answers 6K Views
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...
3 months ago
0 Votes
0 Answers
6K Views
0 Votes 0 Answers 6K Views
For example, if you examine the code in detail here: https://github.com/ton-blockchain/payment-channels/blob/e605580c3fb1feb22d80be9a0cddfcd05671c347/func/as...
8 months ago
1 Votes
1 Answers
4K Views
1 Votes 1 Answers 4K Views
Hello everyone, please explain: ```` () send_message_back(addr, ans_tag, query_id, body, grams, mode) impure inline_ref { ;; int_msg_info$0 ihr_disabled:Bool...
1 Votes
1 Answers
6K Views
1 Votes 1 Answers 6K Views
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...
0 Votes
1 Answers
6K Views
0 Votes 1 Answers 6K Views
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(),...
3 months ago
1 Votes
4 Answers
7K Views
1 Votes 4 Answers 7K Views
In 80%(!) of the cases the 24 secret words generated with the tpay1 wallet generate a different(!) address in newer wallets and dont(!) show wallets assets. ...
4 months ago
1 Votes
1 Answers
8K Views
1 Votes 1 Answers 8K Views
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...
0 Votes
1 Answers
9K Views
0 Votes 1 Answers 9K Views
Hi everione I try to understand logic of work API v4. In general I have a aim to get full graph of messages for some smart-contract call. I use next algorith...
5 months ago
0 Votes
1 Answers
10K Views
0 Votes 1 Answers 10K Views
The fragment.com website shows some of usernames that can be bought but hides others saying "and 1.68K+ more". Is there a way to get the full list of those 1...
6 months ago
0 Votes
1 Answers
3K Views
0 Votes 1 Answers 3K Views
How can I connect MyLocalTon using TonWeb? > This question was imported from Telegram Chat: https://t.me/tondev_eng/1380
2 Votes
2 Answers
14K Views
2 Votes 2 Answers 14K Views
In TON blockchain, when implementing my dapp smart contract in FunC, my contract can accept both internal messages handled by recv_internal() and external me...
1 Votes
2 Answers
9K Views
1 Votes 2 Answers 9K Views
Is there anywhere that I can read about how many tokens were allocated to the TON foundation or similar entities in the initial release? Does the TON foundat...
4 Votes
3 Answers
15K Views
4 Votes 3 Answers 15K Views
If I want to hold and store a significant amount of toncoin, what options do I have and what would be the pros and cons of the various approaches from a secu...
0 Votes
1 Answers
1K Views
0 Votes 1 Answers 1K Views
In the Bitcoin standard there is concept called "derivation path" defined in BIP32: it is used by hierarchical deterministic wallets to derive keys. How do T...
0 Votes
1 Answers
8K Views
0 Votes 1 Answers 8K Views
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?...
1 Votes
1 Answers
11K Views
1 Votes 1 Answers 11K Views
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 ...
1 Votes
1 Answers
5K Views
1 Votes 1 Answers 5K Views
I'm working on a TON smart contract that may need to store up to 4 million bits. I understand from the TON documentation that this isn't typically recommende...
3 months ago
0 Votes
1 Answers
6K Views
0 Votes 1 Answers 6K Views
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...
4 months ago
0 Votes
1 Answers
1K Views
0 Votes 1 Answers 1K Views
Minting NFTs can be done in a randomized way. Are there random minters in the TON ecosystem with an open source code? --- > This question was imported from T...
0 Votes
0 Answers
2K Views
0 Votes 0 Answers 2K Views
Is it possible to programmatically monitor what smart contracts were deployed on TON on any given day? Not just general statistics "how much contracts were d...
6 months ago
0 Votes
2 Answers
3K Views
0 Votes 2 Answers 3K Views
I'm looking for a good tutorial to make an NFT smart contract on TON. --- > This question was imported from Telegram Chat: https://t.me/tondev_eng/10064
9 months ago
0 Votes
1 Answers
3K Views
0 Votes 1 Answers 3K Views
I am using the TON API to fetch transaction data, and I have noticed some discrepancies when using the /getTransactions, /lookupBlock, and /getBlockTransacti...
0 Votes
1 Answers
9K Views
0 Votes 1 Answers 9K Views
Please, could you help me to understand why my TON node cant sync Load average[8]: 1.34, 1.26, 1.29 Network load average (Mbit/s): 9.44, 8.71, 48.85 Memory l...