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
Answered
What's the difference between wallet contract v3 and v4?

Currently I'm using wallet contract v3 - it was deployed for me automatically when I was using TonKeeper wallet.

I saw that the core team released a new wallet contract - wallet contract v4

What's the difference between the two versions? What's the benefit of upgrading?


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

Votes Newest

Answers 2


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.

  
  
Posted 2 years ago

There are a bunch of contracts developed by the original TON team to manage TON coins, but only 4 versions are currently available.

Wallet v1: allows you to create a wallet.
Wallet v2: added a sequence of actions (seqno).
Wallet v3: added public key generation (TON Wallet)
Wallet v4: relevant to Tonkeeper, tonhub. v4 adds new functionality to complex logic and pairing of smart contracts. For example subscriptions (private channels) and stacking. This version allows you to greatly expand wallet functionality through plugins. When you upgrade from v3 to v4, the wallet address changes, but the 24-word seed-phrase remains the same.

  
  

Please do not use external links that doesn't add relvant information to the answer.

Slava Fomin   2 years ago Report