Substrate学习思路梳理

Substrate学习涉及到的东西非常多,而且官网的学习思路自我感觉不是很明确,经过一段时间的阅读,现总结一下学习的思路;具体如下:

Rust学习

The Rust Programming Language:https://doc.rust-lang.org/book/
中文翻译: https://kaisery.github.io/trpl-zh-cn/

Rust by Example:https://doc.rust-lang.org/rust-by-example/
中文翻译: https://rustwiki.org/zh-CN/rust-by-example/

cargo:https://doc.rust-lang.org/cargo/index.html

Substate学习

1.https://substrate.dev/docs/en/getting-started/

2.https://substrate.dev/en/tutorials

其中【1.】和【2.】的内容是相互关联的,
但是【2.】中的Demo学习思路不是很明确,只是有Easy,Medium以及时间的分类;看到的时候感觉没有什么关联,问了一下学习的朋友,以及将大部分文档阅读完,总结如下:Substrate主要包括Runtime,Smart Contract ,Front-end三部分;

Running a Network

1 - Start a Private Network with Substrate
https://substrate.dev/docs/en/tutorials/start-a-private-network-with-substrate

Runtime Development

1- Creating Your First Substrate Chain
https://substrate.dev/docs/en/tutorials/creating-your-first-substrate-chain

2- Substrate Verifiable Credentials Workshop
https://substrate.dev/substrate-verifiable-credentials/#/

3- Substrate Collectables Workshop
https://substrate.dev/substrate-collectables-workshop/

4- Substrate Token Curated Registry
https://substrate.dev/docs/en/tutorials/tcr/

5- Write a Runtime Module in its Own Crate(创建一个单独的可复用的Module)
https://substrate.dev/docs/en/tutorials/creating-a-runtime-module

6- UTXO Workshop(UTXO模型实现)
https://github.com/substrate-developer-hub/utxo-workshop

7- Adding a Module to Your Runtime(合约模块)
https://substrate.dev/docs/en/tutorials/adding-a-module-to-your-runtime

备注:
其中【1,2,3,4】都是Runtime相关的内容实现,包含了实现Runtime的必要步骤;【5,6,7】的关联性不是很强;
【4】TCR的实现,需要完全理解TCR是什么东西,才能更好的去理解和阅读代码;如果对TCR不感兴趣,可以先不看。
【5】可复用Runtime的Demo
【6】用substrate实现了UTXO的模型
【7】合约相关Module的实现

Smart Contract Development

1.Writing Your First Contract
https://substrate.dev/docs/en/tutorials/creating-your-first-contract

2.Deploying Your First Contract
https://substrate.dev/docs/en/contracts/deploying-a-contract

3.Substrate Contracts Workshop
https://substrate.dev/substrate-contracts-workshop/#/

Front-end Development

1.Build a Front-end with Polkadot-js API
https://substrate.dev/docs/en/tutorials/substrate-front-end/

有更好的思路和建议,请留言;

你可能感兴趣的:(Substrate学习思路梳理)