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
14 Questions, 116 Answers
  Active since 20 January 2023
  Last activity 4 months ago

Reputation

672 + 5 this June 0 20

Badges 6

Editor Freshman 3 × Eureka! Newbie Enthusiast Scholar
0 Votes
1 Answers
4K Views
0 Votes 1 Answers 4K Views
Tags were calculated via tlbc as follows (request_flag is equal to 0x7fffffff and response flag is equal to 0x80000000): crc32('transfer query_id:uint64 new_...
4 months ago
2 Votes
1 Answers
13K Views
2 Votes 1 Answers 13K 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-...
9 months ago
1 Votes
1 Answers
11K Views
1 Votes 1 Answers 11K 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
0 Answers
11K Views
0 Votes 0 Answers 11K 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...
10 months ago
1 Votes
0 Answers
12K Views
1 Votes 0 Answers 12K 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...
10 months ago
1 Votes
1 Answers
12K Views
1 Votes 1 Answers 12K 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...
10 months ago
0 Votes
1 Answers
12K Views
0 Votes 1 Answers 12K 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...
10 months ago
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...
one year ago
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...
one year ago
0 Votes
0 Answers
7K Views
0 Votes 0 Answers 7K Views
For example, if you examine the code in detail here: https://github.com/ton-blockchain/payment-channels/blob/e605580c3fb1feb22d80be9a0cddfcd05671c347/func/as...
one year ago
0 Votes
1 Answers
7K Views
0 Votes 1 Answers 7K 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
1 Answers
7K Views
0 Votes 1 Answers 7K 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
2 Answers
17K Views
0 Votes 2 Answers 17K 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...
one year ago
0 Votes
1 Answers
6K Views
0 Votes 1 Answers 6K 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...
one year ago
1 Should we be concerned about Memory usage when we code in FunC or Tact?

In TVM, memory limitations exist but may not be as strict as in the EVM. This is because the TVM is designed to be more efficient and flexible in terms of resource management. However, developers should still be mindful of resource usage when creating smart contracts for the Free TON platform.

Some considerations for memory usage in TVM:

Memory management: The TVM uses a more sophisticated memory model than the EVM, allowing for more efficient memory management. However, this doesn't me...

one year ago
2 Hello! I have observed an interesting behavior in wallet clients. I attempted to create a wallet using TonHub, TonKeeper, and wallet.ton.org. TonHub and TonKeeper generated the same address, while wallet.ton.org produced a different address when I used th

The reason for the different addresses generated by TonHub, TonKeeper, and wallet.ton.org when using the same mnemonic phrase is because the address depends on the wallet contract version being used.

It is important to note that v4 of the wallet contract allows for the installation of plugins, which could potentially introduce security vulnerabilities if used improperly. If you do not require the advanced features provided by v4, it is recommended that you use v3 ins...

one year 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.

one year ago
2 Is subwallet_id the same as workchain_id in TON network?

subwallet_id is not the same as workchain_id in the TON network.

Instead, subwallet_id is a property of a contract that enables the creation of multiple wallets using the same key pair. The primary purpose of subwallet_ids is to allow for the creation of multiple wallets with a single key pair.

To clarify further, subwallet_id is a concept that is specific to the TON network and is used within a contract to create multiple wallets. By using subwallet_id, the contract can differenti...

one year 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.

one year ago
1 Why is the data empty even though I deployed the jetton contract?

It seems that the Jetton contracts are functioning correctly on TonWeb, so the issue is likely due to an error in the code deployed by the person asking the question.

Perhaps they made a mistake during the deployment process, or there could be an issue with their code. To resolve the problem, it's recommended that they carefully review their code and study the official Jetton contracts on TonWeb to identify any differences.

Through a thorough debugging process, they can identify the...

one year ago
0 Are there subscription-based payment services on TON?

Hi, this is a great question! Yes, RocketBot is a fantastic option. On the flip side, you can also try out the Wallet Plug-in with Subscriptions.

Follow the FunC code here: https://github.com/ton-blockchain/wallet-contract/blob/main/func/simple-subscription-plugin.fc

It's a general-purpose subscription contract that you can use in many scenarios. For example, people can deposit and stake on-chain in this contract, and then you can receive a subset of the monthly income transferred to ...

one year 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...

one year 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.

one year 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...

one year ago
1 Are there guidelines for building a dApp?

There is no one-size-fits-all answer to these questions, as the best approach may vary depending on the specific requirements and constraints of the dApp you are building. However, there are some general guidelines and best practices that can be followed when developing a dApp on TON.

One resource that may be helpful is a series of tutorials that provide step-by-step instructions for deploying contracts and writing FunC code. You can find these tutorials at https://ton-community.github.io/...

one year 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.

one year 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...

one year ago
1 How much TPS can TON blockchain currently process?

Theoretically, the TON blockchain can process over 15,000+ transactions per second and more, thanks to its high transaction throughput design and potential to scale to millions of transactions per second through multi-chain support for scalability.

The TON network enables sharding based on the ChainID naturally, with a large number of workchains available for use, as described in the Parameters that validators are running. You can check the following link for more details: https://to...

one year ago
2 In transactions, what are "compute_gas_fees" and "other_fee"?

compute_gas_fees and other_fee are fees charged by the TON network for processing smart contract transactions.

compute_gas_fees are the fees charged for the computation required to execute the smart contract code. This includes the cost of processing instructions, reading and writing data to the blockchain, and validating transactions. The amount of compute_gas_fees charged depends on the complexity of the smart contract code and the amount of resources required to execute it.

`ot...

one year ago
1 How to get the latest block number?

Yes, you can find the latest Blocknumber in a series of API suppliers.

Or using the follow of code from orbs network

// copy paste the following snippet into your dapp client code
// to initialize your favorite TON API library and make blockchain queries

import { getHttpEndpoint } from "@orbs-network/ton-access";
import { TonClient } from "ton";

// g...
one year ago
1 Is it more cost-effective to use Fift instead of FunC?

Yes, it is possible to write your code directly in Fift to make it more cost-effective in terms of gas consumption. The reason is that Fift is a lower-level language than FunC, which means that it provides more fine-grained control over the code and allows for more efficient programming.

However, writing code directly in Fift requires more expertise and effort, as Fift is a stack-based language and has a steeper learning curve than FunC. Therefore, it may not be worth the effort for simple...

one year 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...

one year ago
2 How can I can register .ton domain name? Are dns auction contracts already public?

Yes, this is a great question!

TON DNS is a decentralized domain name system that lets you assign a human-readable name to crypto wallets, smart contracts, and websites.

Domain names are NFTs that can be stored, gifted, or sold. Auctions for domain names last for one week, and bids must be at least 5% higher than the previous bid. The highest bidder at the end of the auction period wins the domain name.

In addition, the .ton domain can be used as a multi-support gate to ...

one year 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...

one year ago
1 What is this Election contract, and why does he have a balance greater than the stake of all validators?

The Election contract is responsible for managing the validator elections on the TON blockchain.

The reason why the contract's balance may be greater than the total stake of all validators combined is because the stake of each validator is divided into two halves, and only one half is used during the current validation round.

In order to participate in the next round, validators must make a new stake before it begins, while their previous stake is still locked.

**As a result, ...

one year ago
5 Get result/status of transaction

In my personal experience, I would use code like this to track the result of a transaction:

=== Your Code Parameters === 
.....

console.log("============================");
console.log("Interacting with Collection Contract: \n" + contract_address);
let seqno: number = await wallet_address.getSeqno();
let transfer = await wallet_address.sendTransfer({
    seqno: seqno,
    secretKey: keyPair.secretKey,
    messages: [
        internal({
            value: toNano("...
one year 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.

...

one year ago
1 What is the difference between the PoW giver contracts listed on ton.org and tonwhales.com/mining, and which ones are the correct ones?

The addresses listed in the two sources are different because they are encoded differently. However, they are essentially the same address. To convert the address to a "canonical" non-user-friendly form, you can use the following code in JavaScript:

new TonWeb.Address('kf-kkdY_B7p-77TLn2hUhM6QidWrrsl8FYWCIvBMpZKprBtN').toString(false);

This will convert the address to the canonical form -1:a491d63f07ba7eefb4cb9f685484ce9089d5abaec97c15858222f04ca592a9ac,
which is...

one year ago
1 Is there a way to transfer a large NFT collection to a new owner at once?

Great question. The short answer is no.

Because each NFT owner is locally recorded, it means you need to send a transaction to each NFT.

But luckily, you can still use a series of CLI commands to send multiple transactions to reset each NFT's owner.

Be aware that the difference between EVM and TVM is that the TON network supports sharding your contract in a scalable way. If you launch a collection with a maximum of 10,000 in circulation, then you will have 10,001 contracts: one ...

one year ago
0 How to check the current global gas limit?

Yes, The current gas_limit field in the limits section indicates the current global gas limit. In the above example, the global gas limit is set to 1000000000000, aka, 1 TON.

Note that the global gas limit can be changed by the validators of the TON Blockchain through the governance mechanism. If the global gas limit is changed, the new value will be reflected in the output of the getconfig command.

To check the current global gas limit for the TON blockchain, you can use the TON Lit...

one year ago
1 Why do highload wallets have a limit of 255 simultaneous transactions?

The maximum number of out-messages per transaction on the TON network is limited to 255 for performance and optimization reasons. This limit is designed to prevent network congestion and ensure that the network remains efficient and responsive during periods of high transaction volume. In-messages do not have this limit and can be included in a transaction in any number.

one year ago
0 Is it possible to make pyramid-like NFT royalty scheme on TON?

The TON blockchain does not provide a built-in feature to support a pyramid-like scheme for selling NFTs where every seller gets a share from all the future resells.

However, developers can build such a feature using smart contracts on the TON blockchain. The smart contract would need to be programmed to enforce the specific rules of the pyramid-like scheme, such as the percentage of revenue that each seller would receive from future resells.

Keep in mind that pyramid-like schemes are o...

one year ago
1 What delay to set for the transaction to finish?

In order to ensure that the first transaction has been processed and the wallet has received the TON coins before attempting to send the jetton, you should wait for a confirmation of the first transaction.

The amount of time it takes for a transaction to be confirmed can vary depending on factors such as network congestion and transaction fees. Generally, you should wait for at least one confirmation, which typically takes around 1-2 minutes on the TON network.

When sending the TON ...

one year ago
3 What happens if we verify the source code in the explorer, but the contract's code gets updated using set_code() instruction?

When you verify a smart contract's source code on a blockchain explorer or website, the page generates a unique code hash for the contract. This code hash is essentially a digital fingerprint of the contract's bytecode. When someone views the verified source code on the explorer, the explorer looks up the code hash and retrieves the corresponding source code.

However, if the contract's bytecode is updated using the set_code() instruction, the code hash will change. **This means that the ...

one year ago
Show more results compactanswers
0 Votes
1 Answers
4K Views
0 Votes 1 Answers 4K Views
Tags were calculated via tlbc as follows (request_flag is equal to 0x7fffffff and response flag is equal to 0x80000000): crc32('transfer query_id:uint64 new_...
4 months ago
0 Votes
2 Answers
17K Views
0 Votes 2 Answers 17K 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...
one year ago
1 Votes
1 Answers
11K Views
1 Votes 1 Answers 11K 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
12K Views
1 Votes 1 Answers 12K 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...
10 months ago
0 Votes
0 Answers
11K Views
0 Votes 0 Answers 11K 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...
10 months ago
1 Votes
0 Answers
12K Views
1 Votes 0 Answers 12K 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...
10 months ago
2 Votes
1 Answers
13K Views
2 Votes 1 Answers 13K 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-...
9 months ago
0 Votes
1 Answers
12K Views
0 Votes 1 Answers 12K 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...
10 months ago
1 Votes
2 Answers
4K Views
1 Votes 2 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
12K Views
1 Votes 1 Answers 12K 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...
10 months ago
0 Votes
1 Answers
12K Views
0 Votes 1 Answers 12K 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(),...
10 months ago
1 Votes
4 Answers
15K Views
1 Votes 4 Answers 15K 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. ...
11 months ago
1 Votes
1 Answers
14K Views
1 Votes 1 Answers 14K 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...
11 months ago
0 Votes
1 Answers
15K Views
0 Votes 1 Answers 15K 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...
one year ago
0 Votes
1 Answers
16K Views
0 Votes 1 Answers 16K 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...
one year ago
2 Votes
1 Answers
18K Views
2 Votes 1 Answers 18K Views
I have function like this: clike () save_data_on_update(slice destination_address) impure inline { builder q = begin_cell(); builder qSliceDestinationAddress...
one year 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
21K Views
2 Votes 2 Answers 21K 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
15K Views
1 Votes 2 Answers 15K 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
23K Views
4 Votes 3 Answers 23K 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
2K Views
0 Votes 1 Answers 2K 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
9K Views
0 Votes 1 Answers 9K 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
18K Views
1 Votes 1 Answers 18K 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
11K Views
1 Votes 1 Answers 11K 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...
9 months ago
0 Votes
1 Answers
12K Views
0 Votes 1 Answers 12K 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...
10 months ago
0 Votes
1 Answers
2K Views
0 Votes 1 Answers 2K 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...
one year ago
0 Votes
2 Answers
4K Views
0 Votes 2 Answers 4K 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
one year ago
0 Votes
1 Answers
4K Views
0 Votes 1 Answers 4K Views
I am using the TON API to fetch transaction data, and I have noticed some discrepancies when using the /getTransactions, /lookupBlock, and /getBlockTransacti...
1 Votes
1 Answers
777 Views
1 Votes 1 Answers 777 Views
Can anyone please tell me the usage of accept_message() in recv_internal? I saw it for the first time here: https://github.com/ton-blockchain/nominator-pool/...
one year ago
Show more results favquestions