adding-pallets

Create and integrate a FRAME pallet into Substrate-based Moonbeam runtimes.

2|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/manuelmauro/moonbeam-skills --skill adding-pallets
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: adding-pallets
Source: https://github.com/manuelmauro/moonbeam-skills/tree/main/skills/adding-pallets
Command: npx skills add https://github.com/manuelmauro/moonbeam-skills --skill adding-pallets

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creates and integrates new FRAME pallets into the Moonbeam runtime, enabling developers to add on-chain functionality, implement Substrate-native features, and extend runtime capabilities.

Core Features & Use Cases

  • Scaffold a complete pallet structure with Cargo.toml and lib.rs.
  • Integrate the pallet into all Moonbeam runtimes (Moonbase, Moonriver, Moonbeam) with proper runtime configuration and storage patterns.
  • Provide a reusable workflow for testing, benchmarking, and deploying new pallets.

Quick Start

Create a new pallet directory, add Cargo.toml, implement a minimal pallet, and wire it into the runtime.

Frequently Asked Questions about adding-pallets

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a custom FRAME pallet to a Moonbeam runtime?

To add a custom FRAME pallet to a Moonbeam runtime, you need to scaffold the pallet directory structure, create the Cargo.toml and lib.rs files, and wire the pallet into the runtime configuration across Moonbase, Moonriver, and Moonbeam.

What do I need to integrate a Substrate pallet into Moonbeam?

Integrating a Substrate pallet into Moonbeam requires a Rust toolchain, a configured Substrate workspace, and a standard pallet structure including Cargo.toml, lib.rs, and relevant tests to ensure proper runtime compatibility.

Can I use the same FRAME pallet across Moonbase, Moonriver, and Moonbeam runtimes?

Yes, you can use the same FRAME pallet across Moonbase, Moonriver, and Moonbeam runtimes by applying the proper runtime configuration and storage patterns to integrate the pallet seamlessly into each specific environment.

What is the process for scaffolding a new Substrate pallet structure?

Scaffolding a new Substrate pallet structure involves creating a new pallet directory, adding a Cargo.toml file, implementing a minimal pallet in lib.rs, and wiring it into the target runtime to extend its on-chain functionality.

How do I test and benchmark a new runtime pallet before deployment?

Testing and benchmarking a new runtime pallet involves utilizing a reusable workflow to validate standard pallet structures, ensuring the custom storage, extrinsics, or logic perform correctly before deploying to the Moonbeam runtime.

Why extend Moonbeam runtime functionality with a custom FRAME pallet?

Extending Moonbeam runtime functionality with a custom FRAME pallet allows developers to implement Substrate-native features, add new on-chain storage or extrinsics, and introduce custom logic that goes beyond standard smart contract capabilities.