Open JoshOrndorff opened 3 years ago
This might be a nicer way to handle the polkadot js types rather than making custom tools. https://github.com/maciejhirsz/json-rust
Another option would be to publish a dedicated npm bundle like moonbeam does.
Related? https://github.com/paritytech/substrate/discussions/8370
If this lands in substrate, types for the API at least will be much more transparent and automatically generated. 🧙🏼
Each piece of code (pallet, runtime, consensus engine, node) in the recipes has a writeup detailing the important aspects of the code. That is good.
The recipes also exhibit some overarching patterns that are common among them and not associated with a single piece of code. These should be written up too.
Existing overarching patterns:
genesis
module in each runtime cratePotential future patterns: