fix: replace dead RPC and AtomicAssets API endpoints#222
Merged
Conversation
- RPC: protontestnet.greymass.com (DNS dead) → testnet.protonchain.com + xpr-testnet-rpc.bloxprod.io - AA API: test.proton.api.atomicassets.io (dead) → xpr-testnet-atm-api.bloxprod.io - Mainnet: proton.api.atomicassets.io → xpr-mainnet-atm-api.bloxprod.io - Chain ID detection: replace fragile URL comparison with NEXT_PUBLIC_CHAIN_ID env var - Dockerfile: add NEXT_PUBLIC_CHAIN_ID build arg - README: update all endpoint references and env template filename Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
✅ Deploy Preview for dev-protonmarket-com ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
bloxprod AA API works but their RPC endpoints (both testnet and mainnet) don't resolve. Use testnet.protonchain.com and proton.eosusa.io for RPC instead. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Testnet: tn1.protonnz.com as fallback - Mainnet: api.protonnz.com as fallback Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
protontestnet.greymass.com— DNS dead) withtestnet.protonchain.com+tn1.protonnz.comfallbacktest.proton.api.atomicassets.io/proton.api.atomicassets.io) with bloxprod-hosted equivalentsproton.mypinata.cloud— returns 404) with configurableNEXT_PUBLIC_IPFS_GATEWAYenv var (defaults togateway.pinata.cloud)NEXT_PUBLIC_CHAIN_IDenv varNEXT_PUBLIC_CHAIN_ID,NEXT_PUBLIC_IPFS_GATEWAYNetlify Environment Variables
Testnet
NEXT_PUBLIC_CHAIN_ENDPOINTShttps://testnet.protonchain.com, https://tn1.protonnz.comNEXT_PUBLIC_NFT_ENDPOINThttps://xpr-testnet-atm-api.bloxprod.ioNEXT_PUBLIC_CHAIN_ID71ee83bcf52142d61019d95f9cc5427ba6a0d7ff8accd9e2088ae2abeaf3d3ddNEXT_PUBLIC_IPFS_GATEWAYhttps://gateway.pinata.cloud/ipfs/Mainnet
NEXT_PUBLIC_CHAIN_ENDPOINTShttps://proton.eosusa.io, https://api.protonnz.comNEXT_PUBLIC_NFT_ENDPOINThttps://xpr-mainnet-atm-api.bloxprod.ioNEXT_PUBLIC_CHAIN_ID384da888112027f0321850a169f737c33e53b388aad48b5adace4bab97f437e0NEXT_PUBLIC_IPFS_GATEWAYhttps://gateway.pinata.cloud/ipfs/Test plan
🤖 Generated with Claude Code