@dydxprotocol/v4-localization 0.0.10 → 0.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1232,7 +1232,10 @@
1232
1232
  "V4_DEVNET_3": "V4 Dev 3",
1233
1233
  "V4_DEVNET_4": "V4 Dev 4",
1234
1234
  "V4_STAGING": "V4 Staging",
1235
- "V4_TESTNET2": "V4 Public Testnet #2"
1235
+ "V4_TESTNET2": "V4 Public Testnet #2",
1236
+ "V4_TESTNET2_DSRV": "V4 Public Testnet #2 DSRV",
1237
+ "V4_TESTNET2_DYDX": "V4 Public Testnet #2 dYdX",
1238
+ "V4_TESTNET2_NODEFLEET": "V4 Public Testnet #2 nodefleet"
1236
1239
  },
1237
1240
  "ERRORS": {
1238
1241
  "GENERAL": {
@@ -18,9 +18,8 @@
18
18
  }
19
19
  ],
20
20
  "validators":[
21
- "https://validator.v4testnet2.dydx.exchange",
22
21
  "https://dydx-testnet.nodefleet.org",
23
- "https://dydx-testnet-archive.allthatnode.com:26657"
22
+ "https://dydx-testnet-archive.allthatnode.com:26657/XZvMM41hESf8PJrEQiTzbCOMVyFca79R"
24
23
  ],
25
24
  "0xsquid":"https://squid-api-git-feat-cosmos-maintestnet-0xsquid.vercel.app",
26
25
  "configs":"https://dydx-v4-shared-resources.vercel.app",
@@ -0,0 +1,5 @@
1
+ import endpoints from './endpoints.json';
2
+ import walletsV2Production from './walletsV2.json';
3
+
4
+ export const ENDPOINTS = endpoints;
5
+ export const WALLETS_V2_PRODUCTION = walletsV2Production;
@@ -193,9 +193,83 @@
193
193
  }
194
194
  ],
195
195
  "validators":[
196
- "https://validator.v4testnet2.dydx.exchange",
197
196
  "https://dydx-testnet.nodefleet.org",
198
- "https://dydx-testnet-archive.allthatnode.com:26657"
197
+ "https://dydx-testnet-archive.allthatnode.com:26657/XZvMM41hESf8PJrEQiTzbCOMVyFca79R"
198
+ ],
199
+ "0xsquid":"https://squid-api-git-feat-cosmos-maintestnet-0xsquid.vercel.app",
200
+ "configs":"https://dydx-v4-shared-resources.vercel.app",
201
+ "faucet":"https://faucet.v4testnet2.dydx.exchange"
202
+ }
203
+ },
204
+ {
205
+ "comment":"V4 Public Testnet #2 dYdX Node",
206
+ "environment":"dydxprotocol-testnet-dydx",
207
+ "ethereumChainId":"5",
208
+ "dydxChainId":"dydx-testnet-2",
209
+ "string":"v4 Public Testnet #2 dYdX Node",
210
+ "stringKey":"CHAIN.V4_TESTNET2_DYDX",
211
+ "isMainNet":false,
212
+ "version":"v4",
213
+ "maxSubaccountNumber":127,
214
+ "endpoints":{
215
+ "indexers":[
216
+ {
217
+ "api":"https://indexer.v4testnet2.dydx.exchange",
218
+ "socket":"wss://indexer.v4testnet2.dydx.exchange"
219
+ }
220
+ ],
221
+ "validators":[
222
+ "https://validator.v4testnet2.dydx.exchange"
223
+ ],
224
+ "0xsquid":"https://squid-api-git-feat-cosmos-maintestnet-0xsquid.vercel.app",
225
+ "configs":"https://dydx-v4-shared-resources.vercel.app",
226
+ "faucet":"https://faucet.v4testnet2.dydx.exchange"
227
+ }
228
+ },
229
+ {
230
+ "comment":"V4 Public Testnet #2 DSRV Node",
231
+ "environment":"dydxprotocol-testnet-dsrv",
232
+ "ethereumChainId":"5",
233
+ "dydxChainId":"dydx-testnet-2",
234
+ "string":"v4 Public Testnet #2 DSRV Node",
235
+ "stringKey":"CHAIN.V4_TESTNET2_DSRV",
236
+ "isMainNet":false,
237
+ "version":"v4",
238
+ "maxSubaccountNumber":127,
239
+ "endpoints":{
240
+ "indexers":[
241
+ {
242
+ "api":"https://indexer.v4testnet2.dydx.exchange",
243
+ "socket":"wss://indexer.v4testnet2.dydx.exchange"
244
+ }
245
+ ],
246
+ "validators":[
247
+ "https://dydx-testnet-archive.allthatnode.com:26657/XZvMM41hESf8PJrEQiTzbCOMVyFca79R"
248
+ ],
249
+ "0xsquid":"https://squid-api-git-feat-cosmos-maintestnet-0xsquid.vercel.app",
250
+ "configs":"https://dydx-v4-shared-resources.vercel.app",
251
+ "faucet":"https://faucet.v4testnet2.dydx.exchange"
252
+ }
253
+ },
254
+ {
255
+ "comment":"V4 Public Testnet #2 nodefleet Node",
256
+ "environment":"dydxprotocol-testnet-nodefleet",
257
+ "ethereumChainId":"5",
258
+ "dydxChainId":"dydx-testnet-2",
259
+ "string":"v4 Public Testnet #2 nodefleet Node",
260
+ "stringKey":"CHAIN.V4_TESTNET2_NODEFLEET",
261
+ "isMainNet":false,
262
+ "version":"v4",
263
+ "maxSubaccountNumber":127,
264
+ "endpoints":{
265
+ "indexers":[
266
+ {
267
+ "api":"https://indexer.v4testnet2.dydx.exchange",
268
+ "socket":"wss://indexer.v4testnet2.dydx.exchange"
269
+ }
270
+ ],
271
+ "validators":[
272
+ "https://dydx-testnet.nodefleet.org"
199
273
  ],
200
274
  "0xsquid":"https://squid-api-git-feat-cosmos-maintestnet-0xsquid.vercel.app",
201
275
  "configs":"https://dydx-v4-shared-resources.vercel.app",
@@ -140,9 +140,8 @@
140
140
  }
141
141
  ],
142
142
  "validators":[
143
- "https://validator.v4testnet2.dydx.exchange",
144
143
  "https://dydx-testnet.nodefleet.org",
145
- "https://dydx-testnet-archive.allthatnode.com:26657"
144
+ "https://dydx-testnet-archive.allthatnode.com:26657/XZvMM41hESf8PJrEQiTzbCOMVyFca79R"
146
145
  ],
147
146
  "0xsquid":"https://squid-api-git-feat-cosmos-maintestnet-0xsquid.vercel.app",
148
147
  "configs":"https://dydx-v4-shared-resources.vercel.app",
@@ -0,0 +1,7 @@
1
+ import devEndpoints from './dev_endpoints.json';
2
+ import endpoints from './endpoints.json';
3
+ import walletsV2Staging from './walletsV2.json';
4
+
5
+ export const DEV_ENDPOINTS = devEndpoints;
6
+ export const ENDPOINTS_STAGING = endpoints;
7
+ export const WALLETS_V2_STAGING = walletsV2Staging;
package/index.ts CHANGED
@@ -1,5 +1,3 @@
1
- import walletsV2Production from './config/prod/walletsV2.json';
2
- import walletsV2Staging from './config/staging/walletsV2.json';
3
1
  import countries from './config/countries.json';
4
2
  import marketsV3 from './config/markets.json';
5
3
  import marketsV4 from './v4/staging/markets.json';
@@ -13,8 +11,9 @@ export { TOOLTIP_STRING_KEYS } from './scripts/generated/tooltips';
13
11
  export { APP_NATIVE } from './config/localizations_native';
14
12
  export { NOTIFICATIONS} from './config/localization_notifications';
15
13
 
16
- export const WALLETS_V2_PRODUCTION = walletsV2Production;
17
- export const WALLETS_V2_STAGING = walletsV2Staging;
14
+ export { DEV_ENDPOINTS, ENDPOINTS_STAGING, WALLETS_V2_STAGING } from './config/staging';
15
+ export { ENDPOINTS, WALLETS_V2_PRODUCTION } from './config/prod';
16
+
18
17
  export const COUNTRIES = countries;
19
18
  export const MARKETS_V3 = marketsV3;
20
19
  export const MARKETS_V4 = marketsV4;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dydxprotocol/v4-localization",
3
- "version": "0.0.10",
3
+ "version": "0.0.12",
4
4
  "description": "v4 localization",
5
5
  "main": "index.ts",
6
6
  "scripts": {
@@ -1271,6 +1271,9 @@ export const CHAIN_STRING_KEYS = {
1271
1271
  V4_DEVNET_4: 'CHAIN.V4_DEVNET_4',
1272
1272
  V4_STAGING: 'CHAIN.V4_STAGING',
1273
1273
  V4_TESTNET2: 'CHAIN.V4_TESTNET2',
1274
+ V4_TESTNET2_DSRV: 'CHAIN.V4_TESTNET2_DSRV',
1275
+ V4_TESTNET2_DYDX: 'CHAIN.V4_TESTNET2_DYDX',
1276
+ V4_TESTNET2_NODEFLEET: 'CHAIN.V4_TESTNET2_NODEFLEET',
1274
1277
  };
1275
1278
 
1276
1279
  export const ERRORS_STRING_KEYS = {