Statemine naming & RPC (#5424)

* Statemine naming & RPC

* Allow teleport from relay -> para
This commit is contained in:
Jaco 2021-06-03 18:16:24 +03:00 committed by GitHub
parent a33260f2c7
commit d77d26958e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 6 deletions

View File

@ -24,17 +24,19 @@ export function createKusama (t: TFunction): EndpointOption {
OnFinality: 'wss://kusama.api.onfinality.io/public-ws',
'Patract Elara': 'wss://kusama.elara.patract.io'
},
teleport: [1000],
linked: [
// (1) all system parachains (none available yet)
// ...
// (2) all common good parachains
{
info: 'shell',
info: 'statemine',
paraId: 1000,
text: t('rpc.kusama.shell', 'Shell', { ns: 'apps-config' }),
text: t('rpc.kusama.statemine', 'Statemine', { ns: 'apps-config' }),
providers: {
Parity: 'wss://kusama-shell-rpc.parity.io'
}
Parity: 'wss://kusama-statemine-rpc.paritytech.net'
},
teleport: []
},
/// (3) parachains with id, see Rococo (info here maps to the actual "named icon")
//

View File

@ -27,7 +27,7 @@ export function createWestend (t: TFunction): EndpointOption {
'Patract Elara': 'wss://westend.elara.patract.io',
OnFinality: 'wss://westend.api.onfinality.io/public-ws'
},
teleport: [1000], // statemint only
teleport: [1000],
linked: [
// (1) system parachains (none available yet)
// ...
@ -39,7 +39,7 @@ export function createWestend (t: TFunction): EndpointOption {
providers: {
Parity: 'wss://westmint-rpc.polkadot.io'
},
teleport: [-1] // should be [-1], relay only
teleport: [-1]
},
// (3) parachains with id, see Rococo (info here maps to the actual "named icon")
//