mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-22 02:07:55 +00:00
fix: correct RPC endpoints - remove wrong :9944 port
This commit is contained in:
@@ -62,10 +62,9 @@ jobs:
|
||||
working-directory: ./web
|
||||
run: npm run build
|
||||
env:
|
||||
VITE_NETWORK: BETA
|
||||
VITE_WS_ENDPOINT: wss://rpc.pezkuwichain.io:9944
|
||||
VITE_NETWORK: MAINNET
|
||||
VITE_WS_ENDPOINT: wss://rpc.pezkuwichain.io
|
||||
VITE_WS_ENDPOINT_FALLBACK_1: wss://mainnet.pezkuwichain.io
|
||||
VITE_WS_ENDPOINT_FALLBACK_2: wss://beta.pezkuwichain.io
|
||||
VITE_ASSET_HUB_ENDPOINT: wss://asset-hub-rpc.pezkuwichain.io
|
||||
VITE_PEOPLE_CHAIN_ENDPOINT: wss://people-rpc.pezkuwichain.io
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ export const NETWORK_ENDPOINTS: Record<string, NetworkConfig> = {
|
||||
BETA: {
|
||||
name: 'Pezkuwi Beta Testnet',
|
||||
endpoint: 'https://rpc.pezkuwichain.io',
|
||||
wsEndpoint: 'wss://rpc.pezkuwichain.io:9944',
|
||||
wsEndpoint: 'wss://rpc.pezkuwichain.io',
|
||||
type: 'production',
|
||||
description: 'Beta testnet - Currently active for testing',
|
||||
},
|
||||
|
||||
@@ -67,9 +67,8 @@ export const PezkuwiProvider: React.FC<PezkuwiProviderProps> = ({
|
||||
useEffect(() => {
|
||||
// Hardcoded production fallbacks ensure app works even if env vars are missing
|
||||
const PRODUCTION_FALLBACKS = [
|
||||
'wss://rpc.pezkuwichain.io:9944',
|
||||
'wss://rpc.pezkuwichain.io',
|
||||
'wss://mainnet.pezkuwichain.io',
|
||||
'wss://beta.pezkuwichain.io',
|
||||
];
|
||||
|
||||
const FALLBACK_ENDPOINTS = [
|
||||
|
||||
Reference in New Issue
Block a user