Replies: 2 comments
-
There is some history for those type registry files. Since Substrate introduced For networks like Kusama those registries were already maintained by PolkadotJS (example), so I could gratefully re-use those. But for other networks that don't provide an own registry file, you basically have to analyse the RUST source and create a type registry manually: Crust example: https://github.com/crustio/crust/blob/d2de3d018c9367cec98411d56fdb0836cffb75cd/cstrml/benefits/src/lib.rs#L138 Type registry: But later on they upgrade to TL;DR: Probably you don't need to create/maintain a type registry file, unless the Substrate runtime still utilises |
Beta Was this translation helpful? Give feedback.
-
Got it, thank you for sharing 👍 |
Beta Was this translation helpful? Give feedback.
-
Hi there 👋
There are type registry JSON files in a type_registry directory. It seems like very few of them are provided by projects developers. Could you reveal how you create these JSONs? It could help to contribute to the project. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions