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
How to make a new address on TON active?

I've created a new smart contract and I've sent three different transactions to it via TonKeeper, but it still has inactive status. What should I do?

This question was imported from Telegram Chat: https://t.me/tondev/124007

Posted 6 months ago
Votes Newest

Answers 2

Hi, there are a few potential reasons here. Although I spend most of my time coding in Tact (https://tact-lang.org/), the process is nearly the same.

Primarily, it depends on your smart contract code design. But first and foremost, you need to deploy the contract code to the TVM, then trigger the initial parameter settings. This is essential, no matter what.

It seems like you've deployed your contract code and data, but haven't successfully initialized the contract on the blockchain. That's why you're encountering problems. Therefore, you should check your code and resend it with the correct TL-B structure.

Posted 6 months ago

When you create a smart contract on TON (such as a wallet), its address is pre-calculated, even before being deployed. You can start sending it money and messages, and if the sent messages are non-bounceable, the balance of the account on-chain will be increased. In this case, you will see the account is still uninitialized and not activated, but it has a positive TON balance.

To activate it, you have to deploy the smart contract. If this is a wallet smart contract, it will automatically get deployed on first transaction that you send from your wallet.

Posted 6 months ago
2 Answers
6 months ago
6 months ago