Skip to content

fix: replace dead RPC and AtomicAssets API endpoints#222

Merged
DoDoIndex merged 4 commits intodevelopfrom
fix/update-dead-endpoints
Feb 12, 2026
Merged

fix: replace dead RPC and AtomicAssets API endpoints#222
DoDoIndex merged 4 commits intodevelopfrom
fix/update-dead-endpoints

Conversation

@paulgnz
Copy link
Contributor

@paulgnz paulgnz commented Feb 12, 2026

Summary

  • Replace dead testnet RPC endpoint (protontestnet.greymass.com — DNS dead) with testnet.protonchain.com + tn1.protonnz.com fallback
  • Replace dead AtomicAssets API endpoints (test.proton.api.atomicassets.io / proton.api.atomicassets.io) with bloxprod-hosted equivalents
  • Replace dead IPFS gateway (proton.mypinata.cloud — returns 404) with configurable NEXT_PUBLIC_IPFS_GATEWAY env var (defaults to gateway.pinata.cloud)
  • Replace fragile chain ID detection (URL string comparison against old endpoint) with explicit NEXT_PUBLIC_CHAIN_ID env var
  • Add new build args to Dockerfile: NEXT_PUBLIC_CHAIN_ID, NEXT_PUBLIC_IPFS_GATEWAY
  • Update README with correct endpoints for both mainnet and testnet

Netlify Environment Variables

Testnet

Variable Value
NEXT_PUBLIC_CHAIN_ENDPOINTS https://testnet.protonchain.com, https://tn1.protonnz.com
NEXT_PUBLIC_NFT_ENDPOINT https://xpr-testnet-atm-api.bloxprod.io
NEXT_PUBLIC_CHAIN_ID 71ee83bcf52142d61019d95f9cc5427ba6a0d7ff8accd9e2088ae2abeaf3d3dd
NEXT_PUBLIC_IPFS_GATEWAY https://gateway.pinata.cloud/ipfs/

Mainnet

Variable Value
NEXT_PUBLIC_CHAIN_ENDPOINTS https://proton.eosusa.io, https://api.protonnz.com
NEXT_PUBLIC_NFT_ENDPOINT https://xpr-mainnet-atm-api.bloxprod.io
NEXT_PUBLIC_CHAIN_ID 384da888112027f0321850a169f737c33e53b388aad48b5adace4bab97f437e0
NEXT_PUBLIC_IPFS_GATEWAY https://gateway.pinata.cloud/ipfs/

Test plan

  • Verify testnet marketplace loads with new endpoints
  • Verify NFT images load via new IPFS gateway
  • Verify wallet connect works (chain ID passed via env var)
  • Verify mainnet config works

🤖 Generated with Claude Code

- 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>
@netlify
Copy link

netlify bot commented Feb 12, 2026

Deploy Preview for dev-protonmarket-com ready!

Name Link
🔨 Latest commit f3cb5f4
🔍 Latest deploy log https://app.netlify.com/projects/dev-protonmarket-com/deploys/698e440fdfbaf7000810840f
😎 Deploy Preview https://deploy-preview-222--dev-protonmarket-com.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

paulgnz and others added 3 commits February 13, 2026 10:16
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>
@DoDoIndex DoDoIndex merged commit 309bf65 into develop Feb 12, 2026
5 checks passed
@DoDoIndex DoDoIndex deleted the fix/update-dead-endpoints branch February 12, 2026 21:36
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.

2 participants