Skip to content
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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Oskal174
Copy link
Collaborator

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.

@Har01d
Copy link
Collaborator

Har01d commented Apr 19, 2024

Main Kusama module is live now: https://3xpl.com/kusama

@Har01d Har01d changed the title Substrate chains support Add support for Substrate-based chains (for Polkadot, Kusama, et al.) Apr 19, 2024
@@ -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 ]+)?((//?[^/]+)*)$';
Copy link
Collaborator

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.

@Har01d
Copy link
Collaborator

Har01d commented Sep 25, 2024

Updated main modules for Polkadot and Kusama are up to test:

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

Successfully merging this pull request may close these issues.

3 participants