evgeny-s / recipes

A Hands-On Cookbook for Aspiring Blockchain Chefs

Home Page:https://substrate.dev/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? Read the book online at substrate.dev/recipes πŸ˜‹

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.dev/recipes/

License:GNU General Public License v3.0


Languages

Language:Rust 90.5%Language:Handlebars 3.6%Language:JavaScript 3.4%Language:CSS 2.4%