Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Codegen and Substrate types #2313

Unanswered
MOZGIII asked this question in SDK issues
Discussion options

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",
You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /