Skip to content

how to connect other substrate chains? #303

Answered by arjanz
Yxiaoyang asked this question in Q&A
Discussion options

You must be logged in to vote

Basically you will have to tell the libraries how to interprete the types present in the runtime.

Some pointers to help you:

  1. Does your Substrate chain support MetadataV14? Then you need to upgrade this library to version 1.0.x and the types will be included and will most likely work out of the box
  2. With a runtime using MetadataV13 or less you need to specify the types yourself in a certain format. See https://github.com/polkascan/py-substrate-interface#manually-set-required-properties. Determine your starting point, this will be type_registry_preset=development for vanilla Substrate. See #122 (comment) for more info.
  3. If you have a types.json you use for PolkadotJS, you will have to reform…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by arjanz
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #132 on January 03, 2023 15:10.