1. Get the binary
If you haven’t already, download and extract the release binary for your system. Installing a release binary in the Quickstart has the full walkthrough for macOS, Windows, and Linux. Not sure which file to grab in the first place? See the FAQ. The rest of this tutorial writes commands as./obsidianlog (macOS/Linux).
On Windows, that’s .\obsidianlog.exe instead.
2. Run init
3. Start the server
4. Send it a test log
200 OK, so no output here is
actually the expected result, not a sign anything’s wrong. If you want
to double check, add -w "%{http_code}\n" to the curl command and
look for 200.
5. Query it back
6. Verify the chain
OK for the tutorial service.
Tell us how it went
That’s the whole loop. Whether it went smoothly or you got stuck somewhere, we’d genuinely like to know. Please open a feedback report and if you happened to notice roughly how longinit took, or how long
it took between sending the log and being able to query it back, those
numbers are useful too (there’s a spot for them in the form, no need to
go back and measure on purpose).
What’s next
If this worked, try Testing the Sia Backend to see it archive to the real Sia network instead of your local disk, or Testing with Vector to see a real log shipper feed it instead of a singlecurl request.
Once you’re done testing and want a real, ongoing setup rather than a
scratch folder, see the Quickstart.
When you finish the tutorial, return to the terminal running serve and
press Ctrl-C to stop it.