Skip to content

Commit

Permalink
Merge pull request #8 from dydxprotocol/feature/TRCL-2462-Node-config…
Browse files Browse the repository at this point in the history
…urations

Feature/trcl 2462 node configurations
  • Loading branch information
jaredvu authored Aug 28, 2023
2 parents 62b3b99 + a7e0ab7 commit 931d49b
Show file tree
Hide file tree
Showing 6 changed files with 86 additions and 8 deletions.
5 changes: 4 additions & 1 deletion config/localization/en/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -1232,7 +1232,10 @@
"V4_DEVNET_3": "V4 Dev 3",
"V4_DEVNET_4": "V4 Dev 4",
"V4_STAGING": "V4 Staging",
"V4_TESTNET2": "V4 Public Testnet #2"
"V4_TESTNET2": "V4 Public Testnet #2",
"V4_TESTNET2_DSRV": "V4 Public Testnet #2 DSRV",
"V4_TESTNET2_DYDX": "V4 Public Testnet #2 dYdX",
"V4_TESTNET2_NODEFLEET": "V4 Public Testnet #2 nodefleet"
},
"ERRORS": {
"GENERAL": {
Expand Down
3 changes: 1 addition & 2 deletions config/prod/endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@
}
],
"validators":[
"https://validator.v4testnet2.dydx.exchange",
"https://dydx-testnet.nodefleet.org",
"https://dydx-testnet-archive.allthatnode.com:26657"
"https://dydx-testnet-archive.allthatnode.com:26657/XZvMM41hESf8PJrEQiTzbCOMVyFca79R"
],
"0xsquid":"https://squid-api-git-feat-cosmos-maintestnet-0xsquid.vercel.app",
"configs":"https://dydx-v4-shared-resources.vercel.app",
Expand Down
78 changes: 76 additions & 2 deletions config/staging/dev_endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,83 @@
}
],
"validators":[
"https://validator.v4testnet2.dydx.exchange",
"https://dydx-testnet.nodefleet.org",
"https://dydx-testnet-archive.allthatnode.com:26657"
"https://dydx-testnet-archive.allthatnode.com:26657/XZvMM41hESf8PJrEQiTzbCOMVyFca79R"
],
"0xsquid":"https://squid-api-git-feat-cosmos-maintestnet-0xsquid.vercel.app",
"configs":"https://dydx-v4-shared-resources.vercel.app",
"faucet":"https://faucet.v4testnet2.dydx.exchange"
}
},
{
"comment":"V4 Public Testnet #2 dYdX Node",
"environment":"dydxprotocol-testnet-dydx",
"ethereumChainId":"5",
"dydxChainId":"dydx-testnet-2",
"string":"v4 Public Testnet #2 dYdX Node",
"stringKey":"CHAIN.V4_TESTNET2_DYDX",
"isMainNet":false,
"version":"v4",
"maxSubaccountNumber":127,
"endpoints":{
"indexers":[
{
"api":"https://indexer.v4testnet2.dydx.exchange",
"socket":"wss://indexer.v4testnet2.dydx.exchange"
}
],
"validators":[
"https://validator.v4testnet2.dydx.exchange"
],
"0xsquid":"https://squid-api-git-feat-cosmos-maintestnet-0xsquid.vercel.app",
"configs":"https://dydx-v4-shared-resources.vercel.app",
"faucet":"https://faucet.v4testnet2.dydx.exchange"
}
},
{
"comment":"V4 Public Testnet #2 DSRV Node",
"environment":"dydxprotocol-testnet-dsrv",
"ethereumChainId":"5",
"dydxChainId":"dydx-testnet-2",
"string":"v4 Public Testnet #2 DSRV Node",
"stringKey":"CHAIN.V4_TESTNET2_DSRV",
"isMainNet":false,
"version":"v4",
"maxSubaccountNumber":127,
"endpoints":{
"indexers":[
{
"api":"https://indexer.v4testnet2.dydx.exchange",
"socket":"wss://indexer.v4testnet2.dydx.exchange"
}
],
"validators":[
"https://dydx-testnet-archive.allthatnode.com:26657/XZvMM41hESf8PJrEQiTzbCOMVyFca79R"
],
"0xsquid":"https://squid-api-git-feat-cosmos-maintestnet-0xsquid.vercel.app",
"configs":"https://dydx-v4-shared-resources.vercel.app",
"faucet":"https://faucet.v4testnet2.dydx.exchange"
}
},
{
"comment":"V4 Public Testnet #2 nodefleet Node",
"environment":"dydxprotocol-testnet-nodefleet",
"ethereumChainId":"5",
"dydxChainId":"dydx-testnet-2",
"string":"v4 Public Testnet #2 nodefleet Node",
"stringKey":"CHAIN.V4_TESTNET2_NODEFLEET",
"isMainNet":false,
"version":"v4",
"maxSubaccountNumber":127,
"endpoints":{
"indexers":[
{
"api":"https://indexer.v4testnet2.dydx.exchange",
"socket":"wss://indexer.v4testnet2.dydx.exchange"
}
],
"validators":[
"https://dydx-testnet.nodefleet.org"
],
"0xsquid":"https://squid-api-git-feat-cosmos-maintestnet-0xsquid.vercel.app",
"configs":"https://dydx-v4-shared-resources.vercel.app",
Expand Down
3 changes: 1 addition & 2 deletions config/staging/endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,8 @@
}
],
"validators":[
"https://validator.v4testnet2.dydx.exchange",
"https://dydx-testnet.nodefleet.org",
"https://dydx-testnet-archive.allthatnode.com:26657"
"https://dydx-testnet-archive.allthatnode.com:26657/XZvMM41hESf8PJrEQiTzbCOMVyFca79R"
],
"0xsquid":"https://squid-api-git-feat-cosmos-maintestnet-0xsquid.vercel.app",
"configs":"https://dydx-v4-shared-resources.vercel.app",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dydxprotocol/v4-localization",
"version": "0.0.10",
"version": "0.0.11",
"description": "v4 localization",
"main": "index.ts",
"scripts": {
Expand Down
3 changes: 3 additions & 0 deletions scripts/generated/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1271,6 +1271,9 @@ export const CHAIN_STRING_KEYS = {
V4_DEVNET_4: 'CHAIN.V4_DEVNET_4',
V4_STAGING: 'CHAIN.V4_STAGING',
V4_TESTNET2: 'CHAIN.V4_TESTNET2',
V4_TESTNET2_DSRV: 'CHAIN.V4_TESTNET2_DSRV',
V4_TESTNET2_DYDX: 'CHAIN.V4_TESTNET2_DYDX',
V4_TESTNET2_NODEFLEET: 'CHAIN.V4_TESTNET2_NODEFLEET',
};

export const ERRORS_STRING_KEYS = {
Expand Down

0 comments on commit 931d49b

Please sign in to comment.