-
Notifications
You must be signed in to change notification settings - Fork 396
Codegen and Substrate types #2313
Unanswered
MOZGIII
asked this question in
SDK issues
-
Why doesn't codegen take care of generating chain-specific API types for Substrate chains?
To be specific, I mean this (package.json > scripts):
"defs": "node node_modules/.bin/polkadot-types-from-defs --endpoint ./metadata.json --input ./src/interfaces --package interfaces", "meta": "node node_modules/.bin/polkadot-types-from-chain --endpoint ./metadata.json --output ./src/interfaces --package interfaces",
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment