Skip to content
Branch: master
Find file History
Latest commit a2acb36 Sep 6, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
adder update package names Sep 5, 2019
constants finish treasury recipe, consider merging Sep 6, 2019
imbalances finish treasury recipe, consider merging Sep 6, 2019
list finish treasury recipe, consider merging Sep 6, 2019
lockable finish treasury recipe, consider merging Sep 6, 2019
loop update package names Sep 5, 2019
nstructs update package names Sep 5, 2019
permissioned update package names Sep 5, 2019
random fix broken links Sep 6, 2019
reservable
social
substrate-node-template Clean up, add node template Jul 10, 2019
token
treasury
value finish treasury recipe, consider merging Sep 6, 2019
README.md fix broken links Sep 6, 2019

README.md

Kitchen

The kitchen is for cooking recipes. It is structured like the main recipes build as specified in src/SUMMARY.md, except every code sample is stored as a library via the substrate-module-template.

Event: effectively logging, scheduling, and reacting to events defined in the decl_event block of the runtime.

Storage: managing interactions with the on-chain storage via the decl_storage block in the runtime.

MISC

Directions

Within each folder, run the following command to build

cargo build

I haven't written unit tests yet, but you can write tests in the usual way, except with a bit more scaffolding.

Using Recipes in External Projects

Follow the substrate-module-template directions to use recipes in your personal projects.

I recommend extracting patterns and applying them in the context of your application rather than directly importing the recipes :)

You can’t perform that action at this time.