Skip to content

Commit

Permalink
Merge pull request #11 from dydxprotocol/features/config_urls
Browse files Browse the repository at this point in the history
Added config urls
  • Loading branch information
johnqh authored Aug 29, 2023
2 parents d2ef7a2 + ad9745f commit e53f8b3
Show file tree
Hide file tree
Showing 5 changed files with 108 additions and 23 deletions.
9 changes: 7 additions & 2 deletions config/prod/endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,14 @@
],
"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"
"faucet":"https://faucet.v4testnet2.dydx.exchange",
"statusPageUrl": "https://status.v4testnet.dydx.exchange/",
"marketImageUrl": "https://v4.testnet.dydx.exchange/currencies/{asset}.svg",
"tosUrl": "https://dydx.exchange/v4-terms",
"privacyPolicyUrl": "https://dydx.exchange/privacy",
"mintscanUrl": "https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}"
}
}
],
"defaultEnvironment":"dydxprotocol-testnet"
}
}
72 changes: 61 additions & 11 deletions config/staging/dev_endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,12 @@
"http://validator.v4dev.dydx.exchange"
],
"0xsquid":"https://testnet.api.0xsquid.com",
"configs":"https://dydx-v4-shared-resources.vercel.app"
"configs":"https://dydx-v4-shared-resources.vercel.app",
"statusPageUrl": "https://status.v4testnet.dydx.exchange/",
"marketImageUrl": "https://v4.testnet.dydx.exchange/currencies/{asset}.svg",
"tosUrl": "https://dydx.exchange/v4-terms",
"privacyPolicyUrl": "https://dydx.exchange/privacy",
"mintscanUrl": "https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}"
}
},
{
Expand All @@ -84,7 +89,12 @@
"http://35.75.227.118"
],
"0xsquid":"https://testnet.api.0xsquid.com",
"configs":"https://dydx-v4-shared-resources.vercel.app"
"configs":"https://dydx-v4-shared-resources.vercel.app",
"statusPageUrl": "https://status.v4testnet.dydx.exchange/",
"marketImageUrl": "https://v4.testnet.dydx.exchange/currencies/{asset}.svg",
"tosUrl": "https://dydx.exchange/v4-terms",
"privacyPolicyUrl": "https://dydx.exchange/privacy",
"mintscanUrl": "https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}"
}
},
{
Expand All @@ -99,7 +109,12 @@
"maxSubaccountNumber":127,
"endpoints":{
"0xsquid":"https://testnet.api.0xsquid.com",
"configs":"https://dydx-v4-shared-resources.vercel.app"
"configs":"https://dydx-v4-shared-resources.vercel.app",
"statusPageUrl": "https://status.v4testnet.dydx.exchange/",
"marketImageUrl": "https://v4.testnet.dydx.exchange/currencies/{asset}.svg",
"tosUrl": "https://dydx.exchange/v4-terms",
"privacyPolicyUrl": "https://dydx.exchange/privacy",
"mintscanUrl": "https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}"
}
},
{
Expand All @@ -123,7 +138,12 @@
"http://validator.v4dev4.dydx.exchange"
],
"0xsquid":"https://testnet.api.0xsquid.com",
"configs":"https://dydx-v4-shared-resources.vercel.app"
"configs":"https://dydx-v4-shared-resources.vercel.app",
"statusPageUrl": "https://status.v4testnet.dydx.exchange/",
"marketImageUrl": "https://v4.testnet.dydx.exchange/currencies/{asset}.svg",
"tosUrl": "https://dydx.exchange/v4-terms",
"privacyPolicyUrl": "https://dydx.exchange/privacy",
"mintscanUrl": "https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}"
}
},
{
Expand All @@ -147,7 +167,12 @@
"http://18.223.78.50"
],
"0xsquid":"https://testnet.api.0xsquid.com",
"configs":"https://dydx-v4-shared-resources.vercel.app"
"configs":"https://dydx-v4-shared-resources.vercel.app",
"statusPageUrl": "https://status.v4testnet.dydx.exchange/",
"marketImageUrl": "https://v4.testnet.dydx.exchange/currencies/{asset}.svg",
"tosUrl": "https://dydx.exchange/v4-terms",
"privacyPolicyUrl": "https://dydx.exchange/privacy",
"mintscanUrl": "https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}"
}
},
{
Expand All @@ -172,7 +197,12 @@
"https://validator.v4staging.dydx.exchange"
],
"0xsquid":"https://squid-api-git-feat-cosmos-maintestnet-0xsquid.vercel.app",
"configs":"https://dydx-v4-shared-resources.vercel.app"
"configs":"https://dydx-v4-shared-resources.vercel.app",
"statusPageUrl": "https://status.v4testnet.dydx.exchange/",
"marketImageUrl": "https://trader-fe.vercel.app/currenties/{asset}.svg",
"tosUrl": "https://dydx.exchange/v4-terms",
"privacyPolicyUrl": "https://dydx.exchange/privacy",
"mintscanUrl": "https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}"
}
},
{
Expand All @@ -198,7 +228,12 @@
],
"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"
"faucet":"https://faucet.v4testnet2.dydx.exchange",
"statusPageUrl": "https://status.v4testnet.dydx.exchange/",
"marketImageUrl": "https://v4.testnet.dydx.exchange/currencies/{asset}.svg",
"tosUrl": "https://dydx.exchange/v4-terms",
"privacyPolicyUrl": "https://dydx.exchange/privacy",
"mintscanUrl": "https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}"
}
},
{
Expand All @@ -223,7 +258,12 @@
],
"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"
"faucet":"https://faucet.v4testnet2.dydx.exchange",
"statusPageUrl": "https://status.v4testnet.dydx.exchange/",
"marketImageUrl": "https://v4.testnet.dydx.exchange/currencies/{asset}.svg",
"tosUrl": "https://dydx.exchange/v4-terms",
"privacyPolicyUrl": "https://dydx.exchange/privacy",
"mintscanUrl": "https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}"
}
},
{
Expand All @@ -248,7 +288,12 @@
],
"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"
"faucet":"https://faucet.v4testnet2.dydx.exchange",
"statusPageUrl": "https://status.v4testnet.dydx.exchange/",
"marketImageUrl": "https://v4.testnet.dydx.exchange/currencies/{asset}.svg",
"tosUrl": "https://dydx.exchange/v4-terms",
"privacyPolicyUrl": "https://dydx.exchange/privacy",
"mintscanUrl": "https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}"
}
},
{
Expand All @@ -273,9 +318,14 @@
],
"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"
"faucet":"https://faucet.v4testnet2.dydx.exchange",
"statusPageUrl": "https://status.v4testnet.dydx.exchange/",
"marketImageUrl": "https://v4.testnet.dydx.exchange/currencies/{asset}.svg",
"tosUrl": "https://dydx.exchange/v4-terms",
"privacyPolicyUrl": "https://dydx.exchange/privacy",
"mintscanUrl": "https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}"
}
}
],
"defaultEnvironment":"dydxprotocol-staging"
}
}
44 changes: 37 additions & 7 deletions config/staging/endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@
"http://validator.v4dev.dydx.exchange"
],
"0xsquid":"https://testnet.api.0xsquid.com",
"configs":"https://dydx-v4-shared-resources.vercel.app"
"configs":"https://dydx-v4-shared-resources.vercel.app",
"statusPageUrl": "https://status.v4testnet.dydx.exchange/",
"marketImageUrl": "https://v4.testnet.dydx.exchange/currencies/{asset}.svg",
"tosUrl": "https://dydx.exchange/v4-terms",
"privacyPolicyUrl": "https://dydx.exchange/privacy",
"mintscanUrl": "https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}"
}
},
{
Expand All @@ -46,7 +51,12 @@
"http://35.75.227.118"
],
"0xsquid":"https://testnet.api.0xsquid.com",
"configs":"https://dydx-v4-shared-resources.vercel.app"
"configs":"https://dydx-v4-shared-resources.vercel.app",
"statusPageUrl": "https://status.v4testnet.dydx.exchange/",
"marketImageUrl": "https://v4.testnet.dydx.exchange/currencies/{asset}.svg",
"tosUrl": "https://dydx.exchange/v4-terms",
"privacyPolicyUrl": "https://dydx.exchange/privacy",
"mintscanUrl": "https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}"
}
},
{
Expand All @@ -70,7 +80,12 @@
"http://validator.v4dev4.dydx.exchange"
],
"0xsquid":"https://testnet.api.0xsquid.com",
"configs":"https://dydx-v4-shared-resources.vercel.app"
"configs":"https://dydx-v4-shared-resources.vercel.app",
"statusPageUrl": "https://status.v4testnet.dydx.exchange/",
"marketImageUrl": "https://v4.testnet.dydx.exchange/currencies/{asset}.svg",
"tosUrl": "https://dydx.exchange/v4-terms",
"privacyPolicyUrl": "https://dydx.exchange/privacy",
"mintscanUrl": "https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}"
}
},
{
Expand All @@ -94,7 +109,12 @@
"http://18.223.78.50"
],
"0xsquid":"https://testnet.api.0xsquid.com",
"configs":"https://dydx-v4-shared-resources.vercel.app"
"configs":"https://dydx-v4-shared-resources.vercel.app",
"statusPageUrl": "https://status.v4testnet.dydx.exchange/",
"marketImageUrl": "https://v4.testnet.dydx.exchange/currencies/{asset}.svg",
"tosUrl": "https://dydx.exchange/v4-terms",
"privacyPolicyUrl": "https://dydx.exchange/privacy",
"mintscanUrl": "https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}"
}
},
{
Expand All @@ -119,7 +139,12 @@
"https://validator.v4staging.dydx.exchange"
],
"0xsquid":"https://squid-api-git-feat-cosmos-maintestnet-0xsquid.vercel.app",
"configs":"https://dydx-v4-shared-resources.vercel.app"
"configs":"https://dydx-v4-shared-resources.vercel.app",
"statusPageUrl": "https://status.v4testnet.dydx.exchange/",
"marketImageUrl": "https://trader-fe.vercel.app/currenties/{asset}.svg",
"tosUrl": "https://dydx.exchange/v4-terms",
"privacyPolicyUrl": "https://dydx.exchange/privacy",
"mintscanUrl": "https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}"
}
},
{
Expand All @@ -145,9 +170,14 @@
],
"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"
"faucet":"https://faucet.v4testnet2.dydx.exchange",
"statusPageUrl": "https://status.v4testnet.dydx.exchange/",
"marketImageUrl": "https://v4.testnet.dydx.exchange/currencies/{asset}.svg",
"tosUrl": "https://dydx.exchange/v4-terms",
"privacyPolicyUrl": "https://dydx.exchange/privacy",
"mintscanUrl": "https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}"
}
}
],
"defaultEnvironment":"dydxprotocol-staging"
}
}
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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.13",
"version": "0.0.14",
"description": "v4 localization",
"main": "index.ts",
"scripts": {
Expand Down

0 comments on commit e53f8b3

Please sign in to comment.