LogoLogo
🔬 Our Homepage💬 Join Our Discord👾 Contribute on GitHubPrivacy Policy
  • 🌄Introduction
    • 🎯How Blockchain Protects Public Safety
      • 🗺️Old System, New World
      • 💡A Working Solution
    • ℹ️Important Links
  • ⛵Researchers
    • 🗓️Publication Pipeline
      • 📢Publication Requests
      • 🐳Research Development
        • 🛣️RD1 | Build3 Roadmap for Blockchain-Based Construction Supervision
        • 👷‍♀️RD2 | Labor-Based Based Voting Authority
        • 🪶RD3 | Authorship, not Ownership: Re-understanding and NFT
        • 👿RD5 | Blockchain Makes Everything Worse for Everyone in Every Industry
        • 🥑RD6 | Configuring a DAO as a Legal 503(c)
      • 🗄️PR Archives
    • 🔭Use Cases
      • 🫔Proof of Supervision with Blockchain
      • 🏔️Record of Work
      • 🏝️Connecting to Land
      • 🛫PermitZIP: Two-Week Project
  • 🕹️Developers
    • 🧑‍🚀Architecture Overview
      • 🥝Consensus
      • 🛰️Storage
    • ⚗️Notes about Substrate
      • 🏃‍♂️Runtime
      • 🏗️FRAME Pallet
        • ⬇️Imports
        • ⚙️Runtime Configuration Trait
        • 💾Runtime Storage
        • 👍Runtime Events
        • 🏑Hook
        • 🙋Extrinsics (Dispatchable Calls)
      • 📦Other Important Crates
        • 📡frame_system
        • 🤝frame_support
        • 🤠frame_executive
      • 🍇Prebuilt Pallets
        • 🪙Assets
        • ⚛️Atomic Swap
        • ⚖️Balances
        • 📊Benchmark
        • ☮️Collective
        • 📃Contracts
        • Democracy
        • Elections Phragmén
        • 🌌Off-chain Worker
        • 👴GRANDPA
        • 🆔Identity
        • Indices
        • 🧜Membership
        • 🫂Multisig
        • 👩‍⚖️Offences
        • 👨‍🏫Proxy
        • 🌄Recovery
        • Scheduler
        • Scored Pool
        • Society
        • 🍶Staking
        • Sudo
        • ⏲️Timestamp
        • 🍺Transaction Payment
        • Treasury
        • ☺️Utility
        • 🦺Vesting
      • 🐙ink! Smart Contracts
        • 🕊️Development
    • 🦀Rust Programming Language
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
Export as PDF
  1. Developers
  2. Notes about Substrate
  3. FRAME Pallet

Runtime Configuration Trait

The configuration trait is a way for you to allow external pallets to define the element types being used on your internal pallet.

PreviousImportsNextRuntime Storage

Last updated 3 years ago

Was this helpful?

substrate_ is taking full advantage of the by implementing the Config object as a trait.

The best practice when building your pallet is to implement .

This will allow you to create all the functionality you want while leaving the concrete types a decision made at runtime.

The Configutation Trait is the way that substrate_ empowers the use of that extensible framework writing.

The Configuration Trait definition is a requirement for all .

🕹️
⚗️
🏗️
⚙️
extensibility features of Rust
Generic Types
pallets