In this tutorial, you will learn how to build a permissioned network with Substrate by using node-authorization pallet. This tutorial should take you about 1 hour to complete.
You are probably already familiar with public or permissionless blockchain, where everyone is free to join the network by runing a node. In a permissioned network, only authorized nodes are allowed to perform specific activities, like validate blocks and propagate transactions. I hold the belief that blockchain is still in early adoption, and permissioned blockchain is important to highly regulated market, which can bring trnasparent rules and execution at certain degree.
Before play with this tutorial, we expect that:
- You have completed the Build a PoE Decentralized Application Tutorial.
- You are familiar with the P2P Networking in Substrate.
What you will be doing
Before we even get started, let's lay out what we are going to do over the course of this tutorial. We will:
- Modify the Node Template project to add node-authorization pallet.
- Launch multiple nodes and authorize new nodes to join the network by calling the dispatchable calls provided by node-authorization pallet.
Sound reasonable? Good, then let's begin!