|
1 | 1 | export type ChainId = |
2 | 2 | | 'heima-local' |
3 | 3 | | 'heima-dev' |
| 4 | + | 'heima-staging' |
4 | 5 | | 'heima-prod'; |
5 | 6 |
|
6 | 7 | export type ChainSpec = { |
@@ -32,24 +33,30 @@ export const heimaDev: ChainSpec = { |
32 | 33 | isTestnet: true, |
33 | 34 | isDefault: false, |
34 | 35 | // TODO update url below |
35 | | - rpcs: [{ url: 'wss://tee-dev.litentry.io' }], |
36 | | - enclaveRpcs: [{ url: 'wss://enclave-dev.litentry.io' }], |
| 36 | + rpcs: [{ url: 'wss://tee-dev.heima.network' }], |
| 37 | + enclaveRpcs: [{ url: 'wss://enclave-dev.heima.network' }], |
| 38 | +}; |
| 39 | + |
| 40 | +export const heimaStaging: ChainSpec = { |
| 41 | + id: 'heima-staging', |
| 42 | + name: 'Heima Staging Network', |
| 43 | + isTestnet: true, |
| 44 | + isDefault: false, |
| 45 | + rpcs: [{ url: 'wss://tee-staging.heima.network' }], |
| 46 | + enclaveRpcs: [{ url: 'wss://enclave-staging.heima.network' }], |
37 | 47 | }; |
38 | 48 |
|
39 | 49 | export const heimaProd: ChainSpec = { |
40 | 50 | id: 'heima-prod', |
41 | 51 | name: 'Heima Production Network', |
42 | 52 | isTestnet: false, |
43 | 53 | isDefault: true, |
44 | | - rpcs: [ |
45 | | - { url: 'wss://litentry-rpc.dwellir.com' }, |
46 | | - { url: 'wss://rpc.litentry-parachain.litentry.io' }, |
47 | | - ], |
| 54 | + rpcs: [{ url: 'wss://litentry-rpc.dwellir.com' }, { url: 'wss://rpc.heima-parachain.heima.network' }], |
48 | 55 | // TODO update url below |
49 | | - enclaveRpcs: [{ url: 'wss://enclave-prod.litentry.io' }], |
| 56 | + enclaveRpcs: [{ url: 'wss://enclave-prod.heima.network' }], |
50 | 57 | }; |
51 | 58 |
|
52 | | -export const all = [heimaProd, heimaDev, heimaLocal]; |
| 59 | +export const all = [heimaProd, heimaDev, heimaLocal, heimaStaging]; |
53 | 60 |
|
54 | 61 | export const byId = all.reduce((acc, spec) => { |
55 | 62 | acc[spec.id] = spec; |
|
0 commit comments