Skip to content

Conversation

@nhussein11
Copy link
Collaborator

📝 Description

This pull request updates all references to the Polkadot Hub TestNet RPC endpoint, chain ID, block explorer, and faucet URLs across code samples and documentation. The changes ensure consistency and accuracy by switching to the latest official endpoints and identifiers. This includes updates in Hardhat, ethers.js, viem, web3.js, web3.py, and wagmi code snippets, as well as related documentation.

Network configuration and endpoint updates:

Documentation and explorer updates:

  • Changed block explorer references from BlockScout to Routescan and updated the explorer URL from https://blockscout-passet-hub.parity-testnet.parity.io/ to https://polkadot.testnet.routescan.io/. [1] [2]

  • Updated faucet instructions and images to point to the new Polkadot Faucet URL (https://faucet.polkadot.io/) and refreshed the example image. [1] [2]

Sample output and instructional text updates:

  • Adjusted example outputs, code snippets, and instructional text to reflect the new chain ID and endpoint, ensuring that sample commands and expected outputs are correct and up to date. [1] [2] [3]

These updates ensure that all developer resources and code samples are aligned with the current Polkadot Hub TestNet configuration, reducing confusion and improving the onboarding experience for developers.

🔍 Review Preference

Choose one:

  • ✅ I have time to handle formatting/style feedback myself
  • ⚡ Docs team handles formatting (check "Allow edits from maintainers")

🤖 AI-Ready Docs

If content changed, regenerate AI files:

  • ✅ I ran python3 scripts/generate_llms.py
  • ⚡ Docs team will regenerate (check "Allow edits from maintainers")

✅ Checklist

…nd chain ID

- Changed RPC URL from 'https://testnet-passet-hub-eth-rpc.polkadot.io' to 'https://services.polkadothub-rpc.com/testnet' across multiple files.
- Updated chain ID from 420420422 to 420420417 in relevant configurations and documentation.
- Adjusted deployment outputs and examples to reflect the new network settings.
- Removed outdated faucet GIF and updated references in documentation for clarity.
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated style guide suggestions (1-1 of 1)

@@ -1,6 +1,6 @@
<div id="termynal" data-termynal markdown>
<span data-ty="input">npx hardhat ignition deploy ignition/modules/Storage.ts --network polkadotTestnet</span>
<span data-ty>✔ Confirm deploy to network polkadotTestnet (420420420)? … yes</span>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did a search for 420420420, so I just wanted to flag these two instances that were left to see if they were missed or this is intentional:

.snippets/code/smart-contracts/cookbook/smart-contracts/deploy-nft/nft-hardhat/deploy-output.html
smart-contracts/cookbook/dapps/zero-to-hero.md

},
networks: {
polkadotTestnet: {
url: 'https://testnet-passet-hub-eth-rpc.polkadot.io',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Searched for this and it's still in quite a few places, some of the files were hidden pages, but a few were not

networks: {
polkadotTestnet: {
url: 'https://testnet-passet-hub-eth-rpc.polkadot.io',
chainId: 420420422,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also searched this, it's showing up in the connect-to-metamask.js script

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 this pull request may close these issues.

3 participants