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
Is there a way to create a "pretty" TON wallet address?

When creating a wallet, it is automatically assigned a number that you can't choose. But some addresses can look prettier than others (like having letter sequences that look non-random and mean something). Is it possible to create such an address intentionally?


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

Votes Newest

Answers


It is possible to do this, but you would have to generate thousands of different private and public key pairs. I have yet to see one configured specifically for TON, though.

Essentially, you would generate thousands of random mnemonics and filter for ones that are like the parameters that you want.

You can generate key pairs with TonWeb:

        const nacl = TonWeb.utils.nacl; // use nacl library for key pairs
        const tonweb = new TonWeb();

        const keyPair = nacl.sign.keyPair(); // create new random key pair
        let secretKey = keyPair.secretKey;

        let wallet = tonweb.wallet.create({publicKey: keyPair.publicKey}); // create interface to wallet smart contract (wallet v3 by default)
1
1
Posted one year ago
Edited one year ago
Jeremy
404 × 5 Administrator