@@ -2,6 +2,10 @@ import { PythCluster } from '@pythnetwork/client/lib/cluster'
22
33const CLUSTER_URLS : Record < PythCluster , any > = {
44 'mainnet-beta' : [
5+ {
6+ rpcUrl : 'http://mainnet.xyz.pyth.network' ,
7+ wsUrl : 'ws://mainnet.xyz.pyth.network' ,
8+ } ,
59 {
610 rpcUrl :
711 'https://pyth-network.rpcpool.com/' +
@@ -24,24 +28,40 @@ const CLUSTER_URLS: Record<PythCluster, any> = {
2428 } ,
2529 ] ,
2630 devnet : [
31+ {
32+ rpcUrl : 'http://devnet.xyz.pyth.network' ,
33+ wsUrl : 'ws://devnet.xyz.pyth.network' ,
34+ } ,
2735 {
2836 rpcUrl : 'https://api.devnet.solana.com/' ,
2937 wsUrl : 'wss://api.devnet.solana.com/' ,
3038 } ,
3139 ] ,
3240 testnet : [
41+ {
42+ rpcUrl : 'http://testnet.xyz.pyth.network' ,
43+ wsUrl : 'ws://testnet.xyz.pyth.network' ,
44+ } ,
3345 {
3446 rpcUrl : 'https://api.testnet.solana.com/' ,
3547 wsUrl : 'wss://api.testnet.solana.com/' ,
3648 } ,
3749 ] ,
3850 pythtest : [
51+ {
52+ rpcUrl : 'http://pythtest.xyz.pyth.network' ,
53+ wsUrl : 'ws://pythtest.xyz.pyth.network' ,
54+ } ,
3955 {
4056 rpcUrl : 'https://api.pythtest.pyth.network/' ,
4157 wsUrl : 'wss://api.pythtest.pyth.network/' ,
4258 } ,
4359 ] ,
4460 pythnet : [
61+ {
62+ rpcUrl : 'http://pythnet.xyz.pyth.network' ,
63+ wsUrl : 'ws://pythnet.xyz.pyth.network' ,
64+ } ,
4565 {
4666 rpcUrl : 'https://pythnet.rpcpool.com/' ,
4767 wsUrl : 'wss://pythnet.rpcpool.com/' ,
0 commit comments