We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
SubstrateChain
No description provided.
The text was updated successfully, but these errors were encountered:
what exactly does this issue include?
I have the usecase 1 to include e.g. Polkadot relay as well as adding some data to the SubstrateChain as seen in example below e.g. tokenSymbol
tokenSymbol
interface SubstrateChainExtended extends SubstrateChain { tokenSymbol: string tokenDecimals?: number } export const polkadotRelay: SubstrateChainExtended = { network: "Polkadot", name: "Polkadot Relay Chain", rpcUrls: ["wss://rpc.polkadot.io"], ss58Prefix: 0, testnet: false, tokenSymbol: "DOT", tokenDecimals: 10, explorerUrls: { [SubstrateExplorer.Subscan]: "https://polkadot.subscan.io" }, } export const kusamaRelay: SubstrateChainExtended = { network: "Kusama", name: "Kusama Relay Chain", rpcUrls: ["wss://kusama-rpc.polkadot.io"], ss58Prefix: 2, testnet: false, tokenSymbol: "KSM", tokenDecimals: 12, explorerUrls: { [SubstrateExplorer.Subscan]: "https://kusama.subscan.io" }, }
Sorry, something went wrong.
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: