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.
Last updated
Was this helpful?
The configuration trait is a way for you to allow external pallets to define the element types being used on your internal pallet.
Last updated
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 .