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 do you create a TON Wallet using C# and .NET?

How can I programmatically create a TON wallet using .NET Core?


Can you please add more context to this question?
I don't have experience with .NET but I think you need to know how to work with binary data and how to send requests to web.

Daniil Sedov   one year ago Report

There isn't a library for TON based in .NET yet. The .NET suite is mainly for Web2, and its only real use case for Web3 is in Unity. You'd have to create your own library, reproducing a package like TonWeb in C#. This would be an advanced project if you haven't done it before.

Jeremy   one year ago Report
Votes Newest


Check this to work with mnemonics/keys and this to deploy a wallet and send a transaction.

Please make a note that wallet is deployed by first outgoing tx (not incoming one), so you need some TON to be on your acc before you'll start deploying it.

For brand new wallet your sequence is like this:

  • create key, compute an init data and convert this to your (future) wallet address as in line 49. If you open your address in explorer at this moment - you'll see zero balance and inactive state.
  • transfer some TON (from Exchange or whatever) to your new (still inactive) address. Explorers will show "in" tx and non-zero balance, but state of your acc will be "inactive" still.
  • make outgoing transaction (to your own or other address) as in lines 58+ - this will make your acc Active.
Posted 7 months ago
1 Answer
one year ago
7 months ago