JoshOrndorff / recipes

A Hands-On Cookbook for Aspiring Blockchain Chefs

Home Page:https://substrate.recipes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Substrate Recipes ๐Ÿด๐Ÿ˜‹๐Ÿด

Build Status

Lines of Code Try on playground

A Hands-On Cookbook for Aspiring Blockchain Chefs

Get Started

Ready to roll up your sleeves and cook some blockchain? ๐Ÿ˜‹

Repository Structure

There are five primary directories in this repository:

  • Text: Source of the book written in markdown. This text describes the code in the other three directories.
  • Pallets: Pallets for use in FRAME-based runtimes.
  • Runtimes: Runtimes for use in Substrate nodes.
  • Consensus: Consensus engines for use in Substrate nodes.
  • Nodes: Complete Substrate nodes ready to run.

The book is built with mdbook and deployed via github pages.

Building This Book Locally

Building the book requires mdBook, ideally the same version that rust-lang/rust uses in this file. To get it:

$ cargo install mdbook --vers [version-num]

To build the book, type:

$ mdbook build

The output will be in the book subdirectory. To check it out, open up book/index.html in a web browser, or to serve the book locally, type:

$ mdbook serve

The default address to view the book will be located at http://localhost:3000 .

License

The Substrate Recipes are GPL 3.0 Licensed It is open source and open for contributions.

Using Recipes in External Projects

The pallets and runtimes provided here are tested and ready to be used in other Substrate-based blockchains. The big caveat is that you must use the same upstream Substrate version throughout the project.

About

A Hands-On Cookbook for Aspiring Blockchain Chefs

https://substrate.recipes

License:GNU General Public License v3.0


Languages

Language:Rust 97.4%Language:JavaScript 2.0%Language:Dockerfile 0.6%