Skip to content

Commit

Permalink
move stuff around
Browse files Browse the repository at this point in the history
  • Loading branch information
shawntabrizi committed Aug 6, 2024
1 parent 6af216b commit 4a8eb8d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 16 deletions.
16 changes: 14 additions & 2 deletions steps/1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ The tutorial is designed to be completed by anyone with basic familiarity with [

If you do not feel comfortable with the level of Rust used in this tutorial, we recommend you first check out the [`rust-state-machine`](https://github.com/shawntabrizi/rust-state-machine) tutorial.

## Goal

The goal of this tutorial is to create a custom Polkadot SDK Pallet that acts as an NFT Marketplace. Our NFTs will represent kitties, which will be a digital pets that can be created, traded, and more.

This Pallet could then be included into a Polkadot SDK blockchain and used to launch a Web3 application on the Polkadot Network.

TODO: need to create and link to a tutorial creating and launching a custom runtime with omninode.

## Tutorial Structure

This tutorial is broken up into small steps with documentation and code.
Expand All @@ -26,7 +34,11 @@ At the end of each step, you should be able to run all the following commands wi

We recommend you run these during each step in the tutorial to confirm you are doing everything correctly.

## Clone the Starting Template
## Starting Template

The template for this project is a minimal starting point for developing a custom Pallet with a little bit of starting code.

### Clone

The best way to follow this tutorial is to clone the starting template, and follow the steps of the tutorial locally.

Expand All @@ -41,7 +53,7 @@ Or access the template directly here:

[https://github.com/shawntabrizi/substrate-collectables-workshop/releases/tag/starting-template](https://github.com/shawntabrizi/substrate-collectables-workshop/releases/tag/starting-template)

### Install Dependencies
### Install

The starting template includes a `README` with instructions to setup your working environment. Follow those instructions.

Expand Down
12 changes: 0 additions & 12 deletions steps/3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,3 @@ NFTs can be used for many things, for example:
- Skins
- Characters
- and much more...

## Starting Template

The template for this project is a minimal starting point for developing a custom Pallet.

In this tutorial, we will create a Pallet which allows us to create and manage a collection of NFTs.

Our NFTs will represent kitties, which will be a digital pet that can be created, traded, and more.

This Pallet could then be included into a `polkadot-sdk` project and used to launch a Web3 application on the Polkadot Network.

TODO: need to create and link to a tutorial creating and launching a runtime with omninode.
1 change: 0 additions & 1 deletion steps/30/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ The `hash_of` API comes from the `Hash` trait and takes any `encode`-able object

Another nice thing about using a hash is you get some sense of pseudo-randomness between the input and output. This means that two kitties which are minted right after one another could have totally different DNA, which could be useful if you want to associate unique attributes to the different parts of their DNA. 🤔


## Your Turn

Now that you know how to acquire uniqueness from your blockchain, and how to hash those items, create a new function called `fn gen_dna() -> [u8; 32];` which does these steps to create unique DNA for each kitty that is minted.
Expand Down
1 change: 0 additions & 1 deletion steps/53/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,4 @@ Here are some ideas of what you can do next:

- [https://polkadot.network/](https://polkadot.network/)


Good luck on your journey, and welcome to the Polkadot ecosystem!

0 comments on commit 4a8eb8d

Please sign in to comment.