@@ -2,6 +2,10 @@ import { PythCluster } from '@pythnetwork/client/lib/cluster'
2
2
3
3
const CLUSTER_URLS : Record < PythCluster , any > = {
4
4
'mainnet-beta' : [
5
+ {
6
+ rpcUrl : 'http://mainnet.xyz.pyth.network' ,
7
+ wsUrl : 'ws://mainnet.xyz.pyth.network' ,
8
+ } ,
5
9
{
6
10
rpcUrl :
7
11
'https://pyth-network.rpcpool.com/' +
@@ -24,24 +28,40 @@ const CLUSTER_URLS: Record<PythCluster, any> = {
24
28
} ,
25
29
] ,
26
30
devnet : [
31
+ {
32
+ rpcUrl : 'http://devnet.xyz.pyth.network' ,
33
+ wsUrl : 'ws://devnet.xyz.pyth.network' ,
34
+ } ,
27
35
{
28
36
rpcUrl : 'https://api.devnet.solana.com/' ,
29
37
wsUrl : 'wss://api.devnet.solana.com/' ,
30
38
} ,
31
39
] ,
32
40
testnet : [
41
+ {
42
+ rpcUrl : 'http://testnet.xyz.pyth.network' ,
43
+ wsUrl : 'ws://testnet.xyz.pyth.network' ,
44
+ } ,
33
45
{
34
46
rpcUrl : 'https://api.testnet.solana.com/' ,
35
47
wsUrl : 'wss://api.testnet.solana.com/' ,
36
48
} ,
37
49
] ,
38
50
pythtest : [
51
+ {
52
+ rpcUrl : 'http://pythtest.xyz.pyth.network' ,
53
+ wsUrl : 'ws://pythtest.xyz.pyth.network' ,
54
+ } ,
39
55
{
40
56
rpcUrl : 'https://api.pythtest.pyth.network/' ,
41
57
wsUrl : 'wss://api.pythtest.pyth.network/' ,
42
58
} ,
43
59
] ,
44
60
pythnet : [
61
+ {
62
+ rpcUrl : 'http://pythnet.xyz.pyth.network' ,
63
+ wsUrl : 'ws://pythnet.xyz.pyth.network' ,
64
+ } ,
45
65
{
46
66
rpcUrl : 'https://pythnet.rpcpool.com/' ,
47
67
wsUrl : 'wss://pythnet.rpcpool.com/' ,
0 commit comments