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
Anon
Moderator
2 Questions, 2 Answers
  Active since 06 April 2023
  Last activity one year ago

Reputation

9 + 9 this October 1 0

Badges 2

Editor 2 × Eureka!
1 Votes
1 Answers
7K Views
1 Votes 1 Answers 7K Views
Hello everyone! I'm trying to send file to storage provider First I generated file, using storage-daemon-cli. Command like this: new-contract-message --query...
1 Votes
2 Answers
7K Views
1 Votes 2 Answers 7K Views
Hello! I'm trying to upload file to storage, using storage provider, but I can't understand, what to do with a file generated with command of the storage-dae...
0 How to use storage provider?

I found solution. Maybe it will be helpful for somebody.

I send message using ton-core js sdk:

const tempFilePath = './storage/saved2' // tempFile - file generated by daemon-cli

const payload = await fsPromise.readFile(tempFilePath, {encoding: 'base64'});
        
const payloadBase64 = Cell.fromBase64(payload)

await provider.internal(via, {
    value: "0.5",
    body: payloadBase64
});
one year ago
0 Storage provider. Error: 1009

I found solution. Maybe it will be helpful for somebody:

const tempFilePath = './storage/saved2' // tempFile - file generated by daemon-cli

const payload = await fsPromise.readFile(tempFilePath, {encoding: 'base64'});
        
const payloadBase64 = Cell.fromBase64(payload)

await provider.internal(via, {
    value: "0.5",
    body: payloadBase64
});
one year ago
1 Votes
1 Answers
7K Views
1 Votes 1 Answers 7K Views
Hello everyone! I'm trying to send file to storage provider First I generated file, using storage-daemon-cli. Command like this: new-contract-message --query...
1 Votes
2 Answers
7K Views
1 Votes 2 Answers 7K Views
Hello! I'm trying to upload file to storage, using storage provider, but I can't understand, what to do with a file generated with command of the storage-dae...