-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Substrate-based chains (for Polkadot, Kusama, et al.) #68
base: main
Are you sure you want to change the base?
Conversation
Main Kusama module is live now: https://3xpl.com/kusama |
@@ -17,8 +17,18 @@ function initialize() | |||
$this->first_block_date = '2019-11-28'; | |||
$this->currency = 'kusama'; | |||
$this->currency_details = ['name' => 'Kusama', 'symbol' => 'KSM', 'decimals' => 12, 'description' => null]; | |||
|
|||
$this->handles_implemented = true; | |||
$this->handles_regex = '^([\w\d ]+)?((//?[^/]+)*)$'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Har01d not sure about this, but seems like a good idea:
As substrate chain address can be derived from public key, if you pass the address in polkadot to kusama module it will be decoded and address for Kusama derived.
So any substrate chain address typed in search will result in displaying appropriate address on the substrate chain that 3xpl has.
Updated main modules for Polkadot and Kusama are up to test: |
Modules for Polkadot (Relay), Kusama (Relay), Acala (Parachain), Astar (Parachain), Centrifuge (Parachain) blockchains.
Substrate modules uses the Substrate-Sidecar-API routes.
Main module is for all transfers with native chain token.
XCM module is for all cross-consensus transfers. XCMMain for relay chains, XCM for parachains.
Tokens module is for all transfers tokens from asset-registry pallet (Acala).
Also there are some EVM-like modules for chains with EVM support.