Open 4meta5 opened 2 months ago
@4meta5
Check out some of the ideas that @kianenigma has been working on
https://github.com/kianenigma/flite
In this example (at the time of writing), he has been able to create a wrapper around frame_system
allowing us to define concrete types, and then use those concrete types inside a new pallet.
The example he gives is having AccountId
represented concretely rather than with a generic type.
Ideally, we could expand this idea to also include within a single pallet things like Balances, and also a concrete balance type.
At that point, building a new pallet with Flite becomes trivial like a smart contract
You can see that flite has some pretty non-trivial code / tricks inside of it, but the end pallet developed using it is super simple.
Update on this: https://github.com/paritytech/polkadot-sdk/pull/5584
Draft design seems to be: https://github.com/OpenZeppelin/polkadot-runtime-wrappers/tree/amar-oz-system-wrapper-poc
templates
What is the feature you would like to see?
The goal of this issue is to abstract over pallet configurations that need not be exposed to improve DX.
Currently organizing abstractions in an internal notion document. Examples:
oz_evm: pallet_evm + pallet_ethereum + pallet_base_fee + pallet_evm_chain_id
oz_system: $system_pallets + pallet_balances
oz_gov: $governance_pallets + pallet_treasury
oz_xcm: $xcm_pallets_for_parachains
Contribution Guidelines