Substrate开发者中心

Substrate开发者中心

  • 教程
  • 知识库
  • 菜谱
  • 接口手册

›Add a Pallet to Your Runtime

Add a Pallet to Your Runtime

  • Introduction
  • Import the Nicks Pallet
  • Configure the Nicks Pallet
  • Interact with the Nicks Pallet
Edit

Introduction

The Substrate Developer Hub Node Template provides a minimal working runtime which you can use to quickly get started building your own custom blockchain. The Node Template includes a number of components, including a runtime that is constructed using the FRAME runtime development framework. However, in order to remain minimal, it does not include most of the modules (called "pallets") from Substrate's set of core FRAME pallets.

This guide will show you how you can add the Nicks pallet. You can follow similar patterns to add additional FRAME pallets to your runtime, however you should note that each pallet is a little different in terms of the specific configuration settings needed to use it correctly. This tutorial will help you understand what you'll need to consider when adding a new pallet to your FRAME runtime.

If you run into an issue on this tutorial, we are here to help! You can ask a question on Stack Overflow and use the substrate tag or contact us on Element.

Install the Node Template

You should already have version v2.0.0 of the Node Template compiled on your computer from when you completed the Create Your First Substrate Chain tutorial. If you do not, please complete it.

Experienced developers who truly prefer to skip those tutorials may install the Node Template according to the instructions in its readme.

Last updated on 2020-9-26 by Dan Forbes
Import the Nicks Pallet →
  • Install the Node Template
Substrate开发者中心
开发者中心
教程知识库菜谱API 手册
社区
Community HomeStack OverflowTwitterEvents
更多
Substrate Builders ProgramBlogSubstrate GitHubDeveloper Hub GitHubPrivacy PolicyTerms of UseCookie Settings
本Substrate中文文档由登链社区翻译