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

networkId=custom-network does not work with direct link #24

Closed
peterwht opened this issue Dec 18, 2024 · 1 comment · Fixed by #25
Closed

networkId=custom-network does not work with direct link #24

peterwht opened this issue Dec 18, 2024 · 1 comment · Fixed by #25

Comments

@peterwht
Copy link

Screenshot 2024-12-18 at 1 46 48 PM

When using the custom-network networkId, dev.papi.how does not read the URL data and defaults to the Polkadot Relay chain.

This is not talking about this flow:

  1. dev.papi.how
  2. Switch Network
  3. Custom URL

Instead it is when a prebuilt link is used to access a specific chain using the PAPI console.

This link allows you to re-create the issue: https://dev.papi.how/explorer#networkId=custom-network&endpoint=wss://rpc1.paseo.popnetwork.xyz. This will show blocks for Polkadot, not Pop Network.

With networkId=localhost it does actually work (regardless of localhost or not)
https://dev.papi.how/explorer#networkId=localhost&endpoint=wss://rpc1.paseo.popnetwork.xyz.

@josepot
Copy link
Member

josepot commented Dec 19, 2024

Thanks for reporting this issue! It's fixed now... The only thing to keep in mind is that now the URIs for custom networks look like this:
https://dev.papi.how/explorer#networkId=custom&endpoint=wss://rpc1.paseo.popnetwork.xyz

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

Successfully merging a pull request may close this issue.

2 participants