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
Dario Tarantini
  Italy
Moderator
0 Questions, 4 Answers
  Active since 28 September 2022
  Last activity 2 years ago

Reputation

70 + 3 this December 0 1
1 What is a regular expression to check TON addresses?

For raw addresses, something like this should work
^(0|-1):([a-f0-9]{64}|[A-F0-9]{64})$

one year ago
3 Follow the Docs for `send_raw_message`.
  1. 64 = carry unused gas, basically forwards gas left from the message to the next transaction.
  2. it's easier to understand this via binary representation. anyway, the only thing you must know: use 0x10 for non-bouncable messages, 0x18 for bouncanles ones.

check here for more example on how to craft messages and available modes
https://github.com/TonoxDeFi/open-contracts/blob/main/contracts/messages/messages.func

one year ago
0 What's the difference between wallet contract v3 and v4?

The main difference is that v4 introduced plugins, which can be managed by the user and can interact with onchain contracts.

Keep in mind that adding (if there are any) an untrusted plugin, or adding a plugin that can upgrade his code could be dangerous.

2 years ago
1 Could I use Rust to develop an smart contracts on TON ecosystem.

No, right now you can use only FunC as an high level language to develop smart contract.

To use Rust (or any other language that uses LLVM) you should start by writing a backend for it, than you might be able to produce valid TON VM instructions from rust code.

2 years ago