Skip to content

Commit

Permalink
Added GM and Amplitude parachains (#111)
Browse files Browse the repository at this point in the history
* Added GM and Amplitude parachains
  • Loading branch information
pgolovkin authored Sep 5, 2022
1 parent 13f56e0 commit 9ff7410
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ External users (chain owners) will be able to deploy their versions of metadata
| 21 | Litentry |
| 22 | UNIQUE |
| 23 | Bifrost-Polkadot |
| 24 | GM |
| 25 | Amplitude |



Expand Down
12 changes: 10 additions & 2 deletions cli/src/updater/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@ pub(crate) fn update_from_node(
let specs_res = fetcher.fetch_specs(&chain);
if specs_res.is_err() {
error_fetching_data = true;
warn!("Can't get specs for {}", chain.name);
warn!(
"Can't get specs for {}. Error is {}",
chain.name,
specs_res.err().unwrap()
);
continue;
}
generate_spec_qr(
Expand All @@ -49,7 +53,11 @@ pub(crate) fn update_from_node(
let fetched_meta_res = fetcher.fetch_metadata(&chain);
if fetched_meta_res.is_err() {
error_fetching_data = true;
warn!("Can't get metadata for {}", chain.name);
warn!(
"Can't get metadata for {}. Error is {}",
chain.name,
fetched_meta_res.err().unwrap()
);
continue;
}
let fetched_meta = fetched_meta_res.unwrap();
Expand Down
15 changes: 14 additions & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,20 @@ color = "#baff36"
logo = "Imbue.svg"
rpc_endpoint = "wss://imbue-kusama.imbue.network"

[[chains]]
name = "template-parachain"
title = "GM"
color = "#f47b36"
logo = "GM.svg"
rpc_endpoint = "wss://kusama.gmordie.com"

[[chains]]
name = "amplitude"
title = "Amplitude"
color = "#5defa7"
logo = "Amplitude.svg"
rpc_endpoint = "wss://pencol-kus-01.pendulumchain.tech"

# Test networks
[[chains]]
name = "westmint"
Expand All @@ -366,4 +380,3 @@ title = "Mandala"
color = "#173DC9"
logo = "Acala_Mandala_Testnet.svg"
rpc_endpoint = "wss://acala-mandala.api.onfinality.io/public-ws/"

Binary file added public/qr/amplitude_metadata_1.apng
Binary file not shown.
Binary file added public/qr/amplitude_specs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/qr/template-parachain_metadata_5.apng
Binary file not shown.
Binary file added public/qr/template-parachain_specs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9ff7410

Please sign in to comment.