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
Unanswered
Account derivation

Since there are no derivation paths, I was thinking about using the same 12 word mnemonic, with a password that would be just a string of numbers incrementing... Is this correct logic?

Also I found it a bit confusing that it has a function

/**
 * Convert mnemonics to HD seed
 * @param mnemonicArray mnemonic array
 * @param password mnemonic password
 * @returns 64 byte seed
 */
async function mnemonicToHDSeed(mnemonicArray, password) {
    mnemonicArray = normalizeMnemonic(mnemonicArray);
    return (await mnemonicToSeed(mnemonicArray, 'TON HD Keys seed', password));
}
exports.mnemonicToHDSeed = mnemonicToHDSeed;

But I don't quite understand the purpose of it... in the documentation, it uses mnemonicToPrivateKey which has TON default seed, then in mnemonicToHDSeed it uses TON HD Keys seed. I'm a bit lost, please help.

  
  
Posted one year ago
Votes Newest

Answers

10K Views
0 Answers
one year ago
one year ago