Skip to main content

Overview

The cookbook hosts small code snippets in a question-answer format. It does not walk you through the whole setup, like the basic examples, but rather aims to answer some questions around specific uses. It also does not replace the FAQ, rather this is focussed explicitly on code samples, instead of general trouble-shooting for common mishaps.

These questions are added as they do come up and the hope is that the snippets here is will be useful to others, instead of just the original person who asked on a specific use-case. As of today, it is only making a start and not fully comprehensive yet - check back early, check back often.

Sections#

The following cookbook sections are available -

  • Blocks - Snippets around working with blocks and headers
  • Storage - Snippets for working with storage
  • Transactions - Snippets for working with transactions

... more to come.

Contribute#

And as always, if you have an addition to make, or a question to ask any any PRs or issues are appreciated. The initial content was generate from exactly such questions, either in Riot chat or as submitted as issues.