Skip to content

Commit

Permalink
Fix registry and json data urls
Browse files Browse the repository at this point in the history
  • Loading branch information
chevdor committed Jan 4, 2024
1 parent c9bd13d commit 20386e7
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
18 changes: 9 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This helps your apps no longer having to provide a flag such as `your-cli --url
subrpc reg add https://raw.githubusercontent.com/chevdor/subrpc/master/registry/dwellir.json
subrpc reg add https://raw.githubusercontent.com/chevdor/subrpc/master/registry/onfinality.json
subrpc reg add https://raw.githubusercontent.com/chevdor/subrpc/master/registry/moonbeam.json
subrpc reg add https://paritytech.github.io/polkadot_network_directory/registry.json
subrpc reg add https://polkadot-cloud.github.io/polkadot_network_directory/registry.json
subrpc reg up
subrpc system info

Expand Down Expand Up @@ -61,7 +61,7 @@ Registries are mainly a list of RPC endpoints, stored into a json file and avail

You can find below a list of public registries:

- [Polkadot Network Directory Registry](https://paritytech.github.io/polkadot_network_directory/registry.json): The [Polkadot Network Directory](https://paritytech.github.io/polkadot_network_directory) project is aware of many chains and projects and provides a registry that is automatically updated and based on the data available to the directory
- [Polkadot Network Directory Registry](https://polkadot-cloud.github.io/polkadot_network_directory/registry.json): The [Polkadot Network Directory](https://polkadot-cloud.github.io/polkadot_network_directory) project is aware of many chains and projects and provides a registry that is automatically updated and based on the data available to the directory

- [SubRPC Registry](https://raw.githubusercontent.com/chevdor/subrpc/master/registry/subrpc.json): A small basic registry to get started and show an example

Expand Down
2 changes: 1 addition & 1 deletion README_src.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ subrpc reg add https://raw.githubusercontent.com/chevdor/subrpc/master/registry/
subrpc reg add https://raw.githubusercontent.com/chevdor/subrpc/master/registry/dwellir.json
subrpc reg add https://raw.githubusercontent.com/chevdor/subrpc/master/registry/onfinality.json
subrpc reg add https://raw.githubusercontent.com/chevdor/subrpc/master/registry/moonbeam.json
subrpc reg add https://paritytech.github.io/polkadot_network_directory/registry.json
subrpc reg add https://polkadot-cloud.github.io/polkadot_network_directory/registry.json
subrpc reg up
subrpc system info
Expand Down
4 changes: 2 additions & 2 deletions cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This helps your apps no longer having to provide a flag such as `your-cli --url
subrpc reg add https://raw.githubusercontent.com/chevdor/subrpc/master/registry/dwellir.json
subrpc reg add https://raw.githubusercontent.com/chevdor/subrpc/master/registry/onfinality.json
subrpc reg add https://raw.githubusercontent.com/chevdor/subrpc/master/registry/moonbeam.json
subrpc reg add https://paritytech.github.io/polkadot_network_directory/registry.json
subrpc reg add https://polkadot-cloud.github.io/polkadot_network_directory/registry.json
subrpc reg up
subrpc system info

Expand Down Expand Up @@ -61,7 +61,7 @@ Registries are mainly a list of RPC endpoints, stored into a json file and avail

You can find below a list of public registries:

- [Polkadot Network Directory Registry](https://paritytech.github.io/polkadot_network_directory/registry.json): The [Polkadot Network Directory](https://paritytech.github.io/polkadot_network_directory) project is aware of many chains and projects and provides a registry that is automatically updated and based on the data available to the directory
- [Polkadot Network Directory Registry](https://polkadot-cloud.github.io/polkadot_network_directory/registry.json): The [Polkadot Network Directory](https://polkadot-cloud.github.io/polkadot_network_directory) project is aware of many chains and projects and provides a registry that is automatically updated and based on the data available to the directory

- [SubRPC Registry](https://raw.githubusercontent.com/chevdor/subrpc/master/registry/subrpc.json): A small basic registry to get started and show an example

Expand Down
2 changes: 1 addition & 1 deletion doc/registries.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ Registries are mainly a list of RPC endpoints, stored into a json file and avail

You can find below a list of public registries:

- https://paritytech.github.io/polkadot_network_directory/registry.json[Polkadot Network Directory Registry]: The https://paritytech.github.io/polkadot_network_directory[Polkadot Network Directory] project is aware of many chains and projects and provides a registry that is automatically updated and based on the data available to the directory
- https://polkadot-cloud.github.io/polkadot_network_directory/registry.json[Polkadot Network Directory Registry]: The https://polkadot-cloud.github.io/polkadot_network_directory[Polkadot Network Directory] project is aware of many chains and projects and provides a registry that is automatically updated and based on the data available to the directory
- https://raw.githubusercontent.com/chevdor/subrpc/master/registry/subrpc.json[SubRPC Registry]: A small basic registry to get started and show an example
- Add your registry with https://github.com/chevdor/subrpc/pulls[Pull Request]
2 changes: 1 addition & 1 deletion subrpc-core/src/registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ mod test_super {

#[test]
fn test_load_from_url() {
let test_url = "https://paritytech.github.io/polkadot_network_directory/registry.json";
let test_url = "https://polkadot-cloud.github.io/polkadot_network_directory/registry.json";
let reg = Registry::load_from_url(test_url).unwrap();
println!("{reg:#?}");
assert_eq!("Polkadot Network Directory", reg.name);
Expand Down

0 comments on commit 20386e7

Please sign in to comment.