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
ProgramCrafter
Moderator
0 Questions, 5 Answers
  Active since 23 February 2023
  Last activity 4 months ago
t.me/ratelance

Reputation

150 + 10 this December 1 1

Badges 1

Enthusiast
2 Efficiently storing Up to 4 million bits in a TON smart contract

Strictly speaking, finding the most efficient way to structure storage is NP-class task meaning that it will require too much resources given the amount of bits.
Dictionaries are binary trees (up to 2 branches in cell), though reading and updating them is actually cheaper than quadro-trees. So I'd recommend using dicts.

3 months ago
2 Do wallets without transactions lose their value over time?

Yes, the owner will eventually lose all the money.
However, data stored by wallet (let's assume v3r2) is less than 1 KiB, so to lose even 1 TON you'll have to wait thousands of years, over which time the network will clearly have some other breaking changes.

9 months ago
1 Linux Command-Line CLI Wallet

tonlib-cli from the TON monorepo should work well.

5 months ago
0 Import wallet by private key

It should be possible to cut off the last half of key (64 HEX characters), which is actually public key, and use the rest in other wallets.

one month ago
0 How can I get the current gas used as a variable for some operations in FunC ?

In testnet environment, there is opcode GASCONSUMED, doing exactly that. The update isn't shipped in mainnet yet.

one month ago