From fa621a085b913f3913d8b865b479e7d73ac9d58e Mon Sep 17 00:00:00 2001 From: John Huang Date: Fri, 6 Oct 2023 23:50:41 +0300 Subject: [PATCH] TRCL-2892-configs-changes (#60) * TRCL-2892-configs-changes * Additional changes for main net template, and WalletConnect payloads * Added logo file used for WalletConnect, and changed name and description in WC * Removed a comma * TRCL-2898 Additional node provider --- public/configs/env.json | 665 ++++++++++++++++++++++++++++++++---- public/configs/wallets.json | 474 +++++++++++++++++++++++++ public/logos/dydx-x.png | Bin 0 -> 4936 bytes 3 files changed, 1082 insertions(+), 57 deletions(-) create mode 100644 public/configs/wallets.json create mode 100644 public/logos/dydx-x.png diff --git a/public/configs/env.json b/public/configs/env.json index 5e051ac..51b7a85 100644 --- a/public/configs/env.json +++ b/public/configs/env.json @@ -1,6 +1,11 @@ { "deployments":{ - "MAINNET":null, + "MAINNET":{ + "environments":[ + "dydxprotocol-mainnet" + ], + "default":"dydxprotocol-mainnet" + }, "TESTNET":{ "environments":[ "dydxprotocol-testnet" @@ -14,7 +19,13 @@ "dydxprotocol-dev-4", "dydxprotocol-dev-5", "dydxprotocol-staging", - "dydxprotocol-testnet" + "dydxprotocol-staging-west", + "dydxprotocol-testnet", + "dydxprotocol-testnet-dydx", + "dydxprotocol-testnet-dsrv", + "dydxprotocol-testnet-nodefleet", + "dydxprotocol-testnet-kingnodes", + "dydxprotocol-testnet-liquify" ], "default":"dydxprotocol-testnet" } @@ -26,15 +37,15 @@ "dydxChainId":"dydxprotocol-testnet", "isMainNet":false, "tokens":{ - "chain": { - "name": "DYDX", - "denom": "dv4tnt", - "image": "/currencies/dydx.png" + "chain":{ + "name":"DYDX", + "denom":"dv4tnt", + "image":"/currencies/dydx.png" }, - "usdc": { - "name": "USDC", - "denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", - "image": "/currencies/usdc.png" + "usdc":{ + "name":"USDC", + "denom":"ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "image":"/currencies/usdc.png" } }, "endpoints":{ @@ -53,7 +64,27 @@ "links":{ "tos":"https://dydx.exchange/v4-terms", "privacy":"https://dydx.exchange/privacy", - "mintscan":"https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}" + "mintscan":"https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}", + "blogs":"https://www.dydx.foundation/blog" + }, + "wallets":{ + "walletconnect":{ + "client":{ + "name":"dYdX v4", + "description":"dYdX v4 App", + "iconUrl":"/logos/dydx-x.png" + }, + "v1":{ + "bridgeUrl":"wss://api.stage.dydx.exchange/wc/" + }, + "v2":{ + "projectId":"47559b2ec96c09aed9ff2cb54a31ab0e" + } + }, + "walletSegue":{ + "callbackUrl":"/walletsegue" + }, + "images":"/wallets/" } }, "dydxprotocol-dev-2":{ @@ -62,15 +93,15 @@ "dydxChainId":"dydxprotocol-testnet", "isMainNet":false, "tokens":{ - "chain": { - "name": "DYDX", - "denom": "dv4tnt", - "image": "/currencies/dydx.png" + "chain":{ + "name":"DYDX", + "denom":"dv4tnt", + "image":"/currencies/dydx.png" }, - "usdc": { - "name": "USDC", - "denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", - "image": "/currencies/usdc.png" + "usdc":{ + "name":"USDC", + "denom":"ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "image":"/currencies/usdc.png" } }, "endpoints":{ @@ -88,7 +119,27 @@ "links":{ "tos":"https://dydx.exchange/v4-terms", "privacy":"https://dydx.exchange/privacy", - "mintscan":"https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}" + "mintscan":"https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}", + "blogs":"https://www.dydx.foundation/blog" + }, + "wallets":{ + "walletconnect":{ + "client":{ + "name":"dYdX v4", + "description":"dYdX v4 App", + "iconUrl":"/logos/dydx-x.png" + }, + "v1":{ + "bridgeUrl":"wss://api.stage.dydx.exchange/wc/" + }, + "v2":{ + "projectId":"47559b2ec96c09aed9ff2cb54a31ab0e" + } + }, + "walletSegue":{ + "callbackUrl":"/walletsegue" + }, + "images":"/wallets/" } }, "dydxprotocol-dev-4":{ @@ -97,15 +148,15 @@ "dydxChainId":"dydxprotocol-testnet", "isMainNet":false, "tokens":{ - "chain": { - "name": "DYDX", - "denom": "dv4tnt", - "image": "/currencies/dydx.png" + "chain":{ + "name":"DYDX", + "denom":"dv4tnt", + "image":"/currencies/dydx.png" }, - "usdc": { - "name": "USDC", - "denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", - "image": "/currencies/usdc.png" + "usdc":{ + "name":"USDC", + "denom":"ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "image":"/currencies/usdc.png" } }, "endpoints":{ @@ -123,7 +174,27 @@ "links":{ "tos":"https://dydx.exchange/v4-terms", "privacy":"https://dydx.exchange/privacy", - "mintscan":"https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}" + "mintscan":"https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}", + "blogs":"https://www.dydx.foundation/blog" + }, + "wallets":{ + "walletconnect":{ + "client":{ + "name":"dYdX v4", + "description":"dYdX v4 App", + "iconUrl":"/logos/dydx-x.png" + }, + "v1":{ + "bridgeUrl":"wss://api.stage.dydx.exchange/wc/" + }, + "v2":{ + "projectId":"47559b2ec96c09aed9ff2cb54a31ab0e" + } + }, + "walletSegue":{ + "callbackUrl":"/walletsegue" + }, + "images":"/wallets/" } }, "dydxprotocol-dev-5":{ @@ -132,15 +203,15 @@ "dydxChainId":"dydxprotocol-testnet", "isMainNet":false, "tokens":{ - "chain": { - "name": "DYDX", - "denom": "dv4tnt", - "image": "/currencies/dydx.png" + "chain":{ + "name":"DYDX", + "denom":"dv4tnt", + "image":"/currencies/dydx.png" }, - "usdc": { - "name": "USDC", - "denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", - "image": "/currencies/usdc.png" + "usdc":{ + "name":"USDC", + "denom":"ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "image":"/currencies/usdc.png" } }, "endpoints":{ @@ -158,7 +229,27 @@ "links":{ "tos":"https://dydx.exchange/v4-terms", "privacy":"https://dydx.exchange/privacy", - "mintscan":"https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}" + "mintscan":"https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}", + "blogs":"https://www.dydx.foundation/blog" + }, + "wallets":{ + "walletconnect":{ + "client":{ + "name":"dYdX v4", + "description":"dYdX v4 App", + "iconUrl":"/logos/dydx-x.png" + }, + "v1":{ + "bridgeUrl":"wss://api.stage.dydx.exchange/wc/" + }, + "v2":{ + "projectId":"47559b2ec96c09aed9ff2cb54a31ab0e" + } + }, + "walletSegue":{ + "callbackUrl":"/walletsegue" + }, + "images":"/wallets/" } }, "dydxprotocol-staging":{ @@ -167,15 +258,15 @@ "dydxChainId":"dydxprotocol-testnet", "isMainNet":false, "tokens":{ - "chain": { - "name": "DYDX", - "denom": "dv4tnt", - "image": "/currencies/dydx.png" + "chain":{ + "name":"DYDX", + "denom":"dv4tnt", + "image":"/currencies/dydx.png" }, - "usdc": { - "name": "USDC", - "denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", - "image": "/currencies/usdc.png" + "usdc":{ + "name":"USDC", + "denom":"ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "image":"/currencies/usdc.png" } }, "endpoints":{ @@ -197,7 +288,86 @@ "mintscan":"https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}", "documentation":"https://v4-teacher.vercel.app/", "community":"https://discord.com/invite/dydx", - "feedback":"https://docs.google.com/forms/d/e/1FAIpQLSezLsWCKvAYDEb7L-2O4wOON1T56xxro9A2Azvl6IxXHP_15Q/viewform" + "feedback":"https://docs.google.com/forms/d/e/1FAIpQLSezLsWCKvAYDEb7L-2O4wOON1T56xxro9A2Azvl6IxXHP_15Q/viewform", + "blogs":"https://www.dydx.foundation/blog" + }, + "wallets":{ + "walletconnect":{ + "client":{ + "name":"dYdX v4", + "description":"dYdX v4 App", + "iconUrl":"/logos/dydx-x.png" + }, + "v1":{ + "bridgeUrl":"wss://api.stage.dydx.exchange/wc/" + }, + "v2":{ + "projectId":"47559b2ec96c09aed9ff2cb54a31ab0e" + } + }, + "walletSegue":{ + "callbackUrl":"/walletsegue" + }, + "images":"/wallets/" + } + }, + "dydxprotocol-staging-west":{ + "name":"v4 Staging", + "ethereumChainId":"5", + "dydxChainId":"dydxprotocol-testnet", + "isMainNet":false, + "tokens":{ + "chain":{ + "name":"DYDX", + "denom":"dv4tnt", + "image":"/currencies/dydx.png" + }, + "usdc":{ + "name":"USDC", + "denom":"ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "image":"/currencies/usdc.png" + } + }, + "endpoints":{ + "indexers":[ + { + "api":"https://indexer.v4staging.dydx.exchange", + "socket":"wss://indexer.v4staging.dydx.exchange" + } + ], + "faucet":"https://faucet.v4staging.dydx.exchange", + "validators":[ + "https://validator-uswest1.v4staging.dydx.exchange" + ], + "0xsquid":"https://squid-api-git-main-cosmos-testnet-0xsquid.vercel.app" + }, + "links":{ + "tos":"https://dydx.exchange/v4-terms", + "privacy":"https://dydx.exchange/privacy", + "mintscan":"https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}", + "documentation":"https://v4-teacher.vercel.app/", + "community":"https://discord.com/invite/dydx", + "feedback":"https://docs.google.com/forms/d/e/1FAIpQLSezLsWCKvAYDEb7L-2O4wOON1T56xxro9A2Azvl6IxXHP_15Q/viewform", + "blogs":"https://www.dydx.foundation/blog" + }, + "wallets":{ + "walletconnect":{ + "client":{ + "name":"dYdX v4", + "description":"dYdX v4 App", + "iconUrl":"/logos/dydx-x.png" + }, + "v1":{ + "bridgeUrl":"wss://api.stage.dydx.exchange/wc/" + }, + "v2":{ + "projectId":"47559b2ec96c09aed9ff2cb54a31ab0e" + } + }, + "walletSegue":{ + "callbackUrl":"/walletsegue" + }, + "images":"/wallets/" } }, "dydxprotocol-testnet":{ @@ -206,15 +376,15 @@ "dydxChainId":"dydx-testnet-3", "isMainNet":false, "tokens":{ - "chain": { - "name": "DYDX", - "denom": "dv4tnt", - "image": "/currencies/dydx.png" + "chain":{ + "name":"DYDX", + "denom":"dv4tnt", + "image":"/currencies/dydx.png" }, - "usdc": { - "name": "USDC", - "denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", - "image": "/currencies/usdc.png" + "usdc":{ + "name":"USDC", + "denom":"ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "image":"/currencies/usdc.png" } }, "endpoints":{ @@ -226,7 +396,8 @@ ], "validators":[ "https://dydx-testnet.nodefleet.org", - "https://test-dydx.kingnodes.com/" + "https://test-dydx.kingnodes.com", + "https://dydx-rpc.liquify.com/api=8878132/dydx" ], "0xsquid":"https://squid-api-git-main-cosmos-testnet-0xsquid.vercel.app", "faucet":"https://faucet.v4testnet.dydx.exchange" @@ -237,7 +408,387 @@ "mintscan":"https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}", "documentation":"https://v4-teacher.vercel.app/", "community":"https://discord.com/invite/dydx", - "feedback":"https://docs.google.com/forms/d/e/1FAIpQLSezLsWCKvAYDEb7L-2O4wOON1T56xxro9A2Azvl6IxXHP_15Q/viewform" + "feedback":"https://docs.google.com/forms/d/e/1FAIpQLSezLsWCKvAYDEb7L-2O4wOON1T56xxro9A2Azvl6IxXHP_15Q/viewform", + "blogs":"https://www.dydx.foundation/blog" + }, + "wallets":{ + "walletconnect":{ + "client":{ + "name":"dYdX v4", + "description":"dYdX v4 App", + "iconUrl":"/logos/dydx-x.png" + }, + "v1":{ + "bridgeUrl":"wss://api.stage.dydx.exchange/wc/" + }, + "v2":{ + "projectId":"47559b2ec96c09aed9ff2cb54a31ab0e" + } + }, + "walletSegue":{ + "callbackUrl":"/walletsegue" + }, + "images":"/wallets/" + } + }, + "dydxprotocol-testnet-dydx":{ + "name":"v4 Public Testnet/dYdX", + "ethereumChainId":"5", + "dydxChainId":"dydx-testnet-3", + "isMainNet":false, + "tokens":{ + "chain":{ + "name":"DYDX", + "denom":"dv4tnt", + "image":"/currencies/dydx.png" + }, + "usdc":{ + "name":"USDC", + "denom":"ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "image":"/currencies/usdc.png" + } + }, + "endpoints":{ + "indexers":[ + { + "api":"https://indexer.v4testnet.dydx.exchange", + "socket":"wss://indexer.v4testnet.dydx.exchange" + } + ], + "validators":[ + "https://validator.v4testnet.dydx.exchange" + ], + "0xsquid":"https://squid-api-git-main-cosmos-testnet-0xsquid.vercel.app", + "faucet":"https://faucet.v4testnet.dydx.exchange" + }, + "links":{ + "tos":"https://dydx.exchange/v4-terms", + "privacy":"https://dydx.exchange/privacy", + "statusPage":"https://status.v4testnet.dydx.exchange/", + "mintscan":"https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}", + "documentation":"https://v4-teacher.vercel.app/", + "community":"https://discord.com/invite/dydx", + "feedback":"https://docs.google.com/forms/d/e/1FAIpQLSezLsWCKvAYDEb7L-2O4wOON1T56xxro9A2Azvl6IxXHP_15Q/viewform", + "blogs":"https://www.dydx.foundation/blog" + }, + "wallets":{ + "walletconnect":{ + "client":{ + "name":"dYdX v4", + "description":"dYdX v4 App", + "iconUrl":"/logos/dydx-x.png" + }, + "v1":{ + "bridgeUrl":"wss://api.stage.dydx.exchange/wc/" + }, + "v2":{ + "projectId":"47559b2ec96c09aed9ff2cb54a31ab0e" + } + }, + "walletSegue":{ + "callbackUrl":"/walletsegue" + }, + "images":"/wallets/" + } + }, + "dydxprotocol-testnet-dsrv":{ + "name":"v4 Public Testnet/DSRV", + "ethereumChainId":"5", + "dydxChainId":"dydx-testnet-3", + "isMainNet":false, + "tokens":{ + "chain":{ + "name":"DYDX", + "denom":"dv4tnt", + "image":"/currencies/dydx.png" + }, + "usdc":{ + "name":"USDC", + "denom":"ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "image":"/currencies/usdc.png" + } + }, + "endpoints":{ + "indexers":[ + { + "api":"https://dydx-testnet.imperator.co", + "socket":"wss://dydx-testnet.imperator.co" + } + ], + "validators":[ + "https://dydx-testnet-archive.allthatnode.com:26657/XZvMM41hESf8PJrEQiTzbCOMVyFca79R" + ], + "0xsquid":"https://squid-api-git-main-cosmos-testnet-0xsquid.vercel.app", + "faucet":"https://faucet.v4testnet.dydx.exchange" + }, + "links":{ + "tos":"https://dydx.exchange/v4-terms", + "privacy":"https://dydx.exchange/privacy", + "statusPage":"https://status.v4testnet.dydx.exchange/", + "mintscan":"https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}", + "documentation":"https://v4-teacher.vercel.app/", + "community":"https://discord.com/invite/dydx", + "feedback":"https://docs.google.com/forms/d/e/1FAIpQLSezLsWCKvAYDEb7L-2O4wOON1T56xxro9A2Azvl6IxXHP_15Q/viewform", + "blogs":"https://www.dydx.foundation/blog" + }, + "wallets":{ + "walletconnect":{ + "client":{ + "name":"dYdX v4", + "description":"dYdX v4 App", + "iconUrl":"/logos/dydx-x.png" + }, + "v1":{ + "bridgeUrl":"wss://api.stage.dydx.exchange/wc/" + }, + "v2":{ + "projectId":"47559b2ec96c09aed9ff2cb54a31ab0e" + } + }, + "walletSegue":{ + "callbackUrl":"/walletsegue" + }, + "images":"/wallets/" + } + }, + "dydxprotocol-testnet-nodefleet":{ + "name":"v4 Public Testnet/nodefleet", + "ethereumChainId":"5", + "dydxChainId":"dydx-testnet-3", + "isMainNet":false, + "tokens":{ + "chain":{ + "name":"DYDX", + "denom":"dv4tnt", + "image":"/currencies/dydx.png" + }, + "usdc":{ + "name":"USDC", + "denom":"ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "image":"/currencies/usdc.png" + } + }, + "endpoints":{ + "indexers":[ + { + "api":"https://dydx-testnet.imperator.co", + "socket":"wss://dydx-testnet.imperator.co" + } + ], + "validators":[ + "https://dydx-testnet.nodefleet.org" + ], + "0xsquid":"https://squid-api-git-main-cosmos-testnet-0xsquid.vercel.app", + "faucet":"https://faucet.v4testnet.dydx.exchange" + }, + "links":{ + "tos":"https://dydx.exchange/v4-terms", + "privacy":"https://dydx.exchange/privacy", + "statusPage":"https://status.v4testnet.dydx.exchange/", + "mintscan":"https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}", + "documentation":"https://v4-teacher.vercel.app/", + "community":"https://discord.com/invite/dydx", + "feedback":"https://docs.google.com/forms/d/e/1FAIpQLSezLsWCKvAYDEb7L-2O4wOON1T56xxro9A2Azvl6IxXHP_15Q/viewform", + "blogs":"https://www.dydx.foundation/blog" + }, + "wallets":{ + "walletconnect":{ + "client":{ + "name":"dYdX v4", + "description":"dYdX v4 App", + "iconUrl":"/logos/dydx-x.png" + }, + "v1":{ + "bridgeUrl":"wss://api.stage.dydx.exchange/wc/" + }, + "v2":{ + "projectId":"47559b2ec96c09aed9ff2cb54a31ab0e" + } + }, + "walletSegue":{ + "callbackUrl":"/walletsegue" + }, + "images":"/wallets/" + } + }, + "dydxprotocol-testnet-kingnodes":{ + "name":"v4 Public Testnet/KingNodes", + "ethereumChainId":"5", + "dydxChainId":"dydx-testnet-3", + "isMainNet":false, + "tokens":{ + "chain":{ + "name":"DYDX", + "denom":"dv4tnt", + "image":"/currencies/dydx.png" + }, + "usdc":{ + "name":"USDC", + "denom":"ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "image":"/currencies/usdc.png" + } + }, + "endpoints":{ + "indexers":[ + { + "api":"https://dydx-testnet.imperator.co", + "socket":"wss://dydx-testnet.imperator.co" + } + ], + "validators":[ + "https://test-dydx.kingnodes.com" + ], + "0xsquid":"https://squid-api-git-main-cosmos-testnet-0xsquid.vercel.app", + "faucet":"https://faucet.v4testnet.dydx.exchange" + }, + "links":{ + "tos":"https://dydx.exchange/v4-terms", + "privacy":"https://dydx.exchange/privacy", + "statusPage":"https://status.v4testnet.dydx.exchange/", + "mintscan":"https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}", + "documentation":"https://v4-teacher.vercel.app/", + "community":"https://discord.com/invite/dydx", + "feedback":"https://docs.google.com/forms/d/e/1FAIpQLSezLsWCKvAYDEb7L-2O4wOON1T56xxro9A2Azvl6IxXHP_15Q/viewform", + "blogs":"https://www.dydx.foundation/blog" + }, + "wallets":{ + "walletconnect":{ + "client":{ + "name":"dYdX v4", + "description":"dYdX v4 App", + "iconUrl":"/logos/dydx-x.png" + }, + "v1":{ + "bridgeUrl":"wss://api.stage.dydx.exchange/wc/" + }, + "v2":{ + "projectId":"47559b2ec96c09aed9ff2cb54a31ab0e" + } + }, + "walletSegue":{ + "callbackUrl":"/walletsegue" + }, + "images":"/wallets/" + } + }, + "dydxprotocol-testnet-liquify":{ + "name":"v4 Public Testnet/Liquify", + "ethereumChainId":"5", + "dydxChainId":"dydx-testnet-3", + "isMainNet":false, + "tokens":{ + "chain":{ + "name":"DYDX", + "denom":"dv4tnt", + "image":"/currencies/dydx.png" + }, + "usdc":{ + "name":"USDC", + "denom":"ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "image":"/currencies/usdc.png" + } + }, + "endpoints":{ + "indexers":[ + { + "api":"https://dydx-testnet.imperator.co", + "socket":"wss://dydx-testnet.imperator.co" + } + ], + "validators":[ + "https://dydx-rpc.liquify.com/api=8878132/dydx" + ], + "0xsquid":"https://squid-api-git-main-cosmos-testnet-0xsquid.vercel.app", + "faucet":"https://faucet.v4testnet.dydx.exchange" + }, + "links":{ + "tos":"https://dydx.exchange/v4-terms", + "privacy":"https://dydx.exchange/privacy", + "statusPage":"https://status.v4testnet.dydx.exchange/", + "mintscan":"https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}", + "documentation":"https://v4-teacher.vercel.app/", + "community":"https://discord.com/invite/dydx", + "feedback":"https://docs.google.com/forms/d/e/1FAIpQLSezLsWCKvAYDEb7L-2O4wOON1T56xxro9A2Azvl6IxXHP_15Q/viewform", + "blogs":"https://www.dydx.foundation/blog" + }, + "wallets":{ + "walletconnect":{ + "client":{ + "name":"dYdX v4", + "description":"dYdX v4 App", + "iconUrl":"/logos/dydx-x.png" + }, + "v1":{ + "bridgeUrl":"wss://api.stage.dydx.exchange/wc/" + }, + "v2":{ + "projectId":"47559b2ec96c09aed9ff2cb54a31ab0e" + } + }, + "walletSegue":{ + "callbackUrl":"/walletsegue" + }, + "images":"/wallets/" + } + }, + "dydxprotocol-mainet":{ + "name":"v4", + "ethereumChainId":"1", + "dydxChainId":"[mainnet chain id]", + "isMainNet":true, + "tokens":{ + "comment":"Change according to mainnet release", + "chain":{ + "name":"DYDX", + "denom":"dv4tnt", + "image":"/currencies/dydx.png" + }, + "usdc":{ + "name":"USDC", + "denom":"ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "image":"/currencies/usdc.png" + } + }, + "endpoints":{ + "indexers":[ + { + "api":"[REST endpoint]", + "socket":"[Websocket endpoint]" + } + ], + "validators":[ + "[Validator endpoint 1", + "[Validator endpoint n]" + ], + "0xsquid":"[0xSquid endpoint for mainnet]" + }, + "links":{ + "tos":"[HTTP link to TOS]", + "privacy":"[HTTP link to Privacy Policy]", + "mintscan":"[HTTP link to Mintscan, with {tx_hash} placeholder]", + "documentation":"[HTTP link to documentation, can be null]", + "community":"[HTTP link to community, can be null]", + "feedback":"[HTTP link to feedback form, can be null]", + "blogs":"[HTTP link to blogs, can be null]" + }, + "wallets":{ + "walletconnect":{ + "client":{ + "name":"[Name of the app]", + "description":"[Description of the app]", + "iconUrl":"[Relative URL of the icon URL]" + }, + "v1":{ + "bridgeUrl":"[Bridge URL]" + }, + "v2":{ + "projectId":"[Project ID]" + } + }, + "walletSegue":{ + "callbackUrl":"[Relative callback URL for WalletSegue, should match apple-app-site-association]" + }, + "images":"[Relative URL for wallet images]" } } } diff --git a/public/configs/wallets.json b/public/configs/wallets.json new file mode 100644 index 0000000..221733b --- /dev/null +++ b/public/configs/wallets.json @@ -0,0 +1,474 @@ +[ + { + "id":"c57ca95b47569778a828d19178114f4db188b89b763c899ba0be274e97267d96", + "name":"MetaMask", + "description":"", + "homepage":"https://metamask.io/", + "chains":[ + "eip155:1", + "eip155:42161", + "eip155:43114" + ], + "versions":[ + "1" + ], + "app":{ + "browser":"", + "ios":"https://apps.apple.com/us/app/metamask/id1438144202", + "android":"https://play.google.com/store/apps/details?id=io.metamask", + "mac":"", + "windows":"", + "linux":"" + }, + "mobile":{ + "native":"metamask:", + "universal":"https://metamask.app.link" + }, + "desktop":{ + "native":"", + "universal":"" + }, + "metadata":{ + "shortName":"MetaMask", + "colors":{ + "primary":"rgb(255, 255, 255)", + "secondary":"" + } + }, + "config":{ + "comment":"MetaMask", + "iosMinVersion":"0", + "imageUrl":"https://v4.testnet.dydx.exchange/wallets/metamask.png", + "image":"metamask.png", + "encoding":"=\"#%/<>?@\\^`{|}:&", + "connections":[ + { + "type":"walletConnectV2", + "native":"metamask:", + "universal":"https://metamask.app.link" + } + ] + }, + "userFields":{ + "analyticEvent":"METAMASK" + } + }, + { + "id":"coinbase-wallet", + "name":"Coinbase Wallet", + "description":"", + "homepage":"https://www.coinbase.com/wallet", + "chains":[ + "eip155:1" + ], + "versions":[ + "1" + ], + "app":{ + "browser":"", + "ios":"https://apps.apple.com/us/app/coinbase-wallet-nfts-crypto/id1278383455", + "android":"https://play.google.com/store/apps/details?id=org.toshi", + "mac":"", + "windows":"", + "linux":"" + }, + "mobile":{ + "native":"cbwallet:", + "universal":"" + }, + "desktop":{ + "native":"", + "universal":"" + }, + "metadata":{ + "shortName":"Coinbase", + "colors":{ + "primary":"rgb(255, 255, 255)", + "secondary":"" + } + }, + "config":{ + "comment":"Coinbase", + "iosMinVersion":"1.8.0", + "imageUrl":"https://v4.testnet.dydx.exchange/wallets/coinbase-wallet.png", + "image":"coinbase-wallet.png", + "encoding":"=\"#%/<>?@\\^`{|}:&", + "connections":[ + { + "type":"walletSegue", + "native":"cbwallet:", + "universal":"" + } + ] + }, + "userFields":{ + "analyticEvent":"COINBASE_WALLET" + } + }, + { + "id":"9d373b43ad4d2cf190fb1a774ec964a1addf406d6fd24af94ab7596e58c291b2", + "name":"imToken", + "description":"", + "homepage":"https://token.im/", + "chains":[ + "eip155:1" + ], + "versions":[ + "1" + ], + "app":{ + "browser":"", + "ios":"https://itunes.apple.com/us/app/imtoken2/id1384798940", + "android":"https://play.google.com/store/apps/details?id=im.token.app", + "mac":"", + "windows":"", + "linux":"" + }, + "mobile":{ + "native":"imtokenv2:", + "universal":"" + }, + "desktop":{ + "native":"", + "universal":"" + }, + "metadata":{ + "shortName":"imToken", + "colors":{ + "primary":"rgb(255, 255, 255)", + "secondary":"" + } + }, + "config":{ + "comment":"imToken", + "iosMinVersion":"0", + "imageUrl":"https://v4.testnet.dydx.exchange/wallets/imtoken.png", + "image":"imtoken.png", + "connections":[ + { + "type":"walletConnect", + "native":"imtokenv2:", + "universal":"" + } + ] + }, + "userFields":{ + "analyticEvent":"IMTOKEN" + } + }, + { + "id":"4622a2b2d6af1c9844944291e5e7351a6aa24cd7b23099efac1b2fd875da31a0", + "name":"Trust Wallet", + "description":"", + "homepage":"https://trustwallet.com/", + "chains":[ + "eip155:1", + "eip155:42161", + "eip155:43114" + ], + "versions":[ + "1" + ], + "app":{ + "browser":"", + "ios":"https://apps.apple.com/app/apple-store/id1288339409", + "android":"https://play.google.com/store/apps/details?id=com.wallet.crypto.trustapp", + "mac":"", + "windows":"", + "linux":"" + }, + "mobile":{ + "native":"trust:", + "universal":"https://link.trustwallet.com" + }, + "desktop":{ + "native":"", + "universal":"" + }, + "metadata":{ + "shortName":"Trust", + "colors":{ + "primary":"rgb(51, 117, 187)", + "secondary":"" + } + }, + "config":{ + "comment":"Trust Wallet", + "iosMinVersion":"0", + "encoding":"=\"#%/<>?@\\^`{|}:&", + "imageUrl":"https://v4.testnet.dydx.exchange/wallets/trust-wallet.png", + "image":"trust-wallet.png", + "connections":[ + { + "type":"walletConnectV2", + "native":"trust:", + "universal":"https://link.trustwallet.com" + } + ] + }, + "userFields":{ + "analyticEvent":"TRUST_WALLET" + } + }, + { + "id":"Zerion", + "name":"Zerion", + "description":"", + "homepage":"https://zerion.io/", + "chains":[ + "eip155:1" + ], + "versions":[ + "1" + ], + "app":{ + "browser":"", + "ios":"https://apps.apple.com/app/apple-store/id1456732565", + "android":"https://play.google.com/store/apps/details?id=io.zerion.android", + "mac":"", + "windows":"", + "linux":"" + }, + "mobile":{ + "native":"zerion:", + "universal":"" + }, + "desktop":{ + "native":"", + "universal":"" + }, + "metadata":{ + "shortName":"Zerion", + "colors":{ + "primary":"rgb(51, 117, 187)", + "secondary":"" + } + }, + "config":{ + "comment":"Zerion Wallet", + "iosMinVersion":"0", + "encoding":"=\"#%/<>?@\\^`{|}:&", + "imageUrl":"https://v4.testnet.dydx.exchange/wallets/zerion.png", + "image":"zerion.png", + "connections":[ + { + "type":"walletConnectV2", + "native":"zerion:", + "universal":"" + } + ] + }, + "userFields":{ + "analyticEvent":"ZERION" + } + }, + { + "id":"20459438007b75f4f4acb98bf29aa3b800550309646d375da5fd4aac6c2a2c66", + "name":"TokenPocket", + "description":"", + "homepage":"https://tokenpocket.pro/", + "chains":[ + "eip155:1" + ], + "versions":[ + "1" + ], + "app":{ + "browser":"", + "ios":"https://apps.apple.com/us/app/tokenpocket-trusted-wallet/id1436028697", + "android":"https://play.google.com/store/apps/details?id=vip.mytokenpocket", + "mac":"", + "windows":"", + "linux":"" + }, + "mobile":{ + "native":"tpoutside:", + "universal":"" + }, + "desktop":{ + "native":"", + "universal":"" + }, + "metadata":{ + "shortName":"TokenPocket", + "colors":{ + "primary":"rgb(41, 128, 254)", + "secondary":"" + } + }, + "config":{ + "comment":"TokenPocket", + "iosMinVersion":"0", + "imageUrl":"https://v4.testnet.dydx.exchange/wallets/tokenpocket.png", + "image":"tokenpocket.png", + "connections":[ + { + "type":"walletConnect", + "native":"tpoutside:", + "universal":"" + } + ] + }, + "userFields":{ + "analyticEvent":"TOKEN_POCKET" + } + }, + { + "id":"1ae92b26df02f0abca6304df07debccd18262fdf5fe82daa81593582dac9a369", + "name":"Rainbow", + "description":"", + "homepage":"https://rainbow.me/", + "chains":[ + "eip155:1" + ], + "versions":[ + "1" + ], + "app":{ + "browser":"", + "ios":"https://apps.apple.com/us/app/rainbow-ethereum-wallet/id1457119021", + "android":"", + "mac":"", + "windows":"", + "linux":"" + }, + "mobile":{ + "native":"rainbow:", + "universal":"https://rnbwapp.com" + }, + "desktop":{ + "native":"", + "universal":"" + }, + "metadata":{ + "shortName":"Rainbow", + "colors":{ + "primary":"rgb(0, 30, 89)", + "secondary":"" + } + }, + "config":{ + "comment":"Rainbow", + "iosMinVersion":"0", + "encoding":"=\"#%/<>?@\\^`{|}:&", + "backlinked":true, + "imageUrl":"https://v4.testnet.dydx.exchange/wallets/rainbow-wallet.png", + "image":"rainbow-wallet.png", + "connections":[ + { + "type":"walletConnectV2", + "native":"rainbow:", + "universal":"https://rnbwapp.com" + } + ] + }, + "userFields":{ + "analyticEvent":"RAINBOW_WALLET" + } + }, + { + "id":"09102e7bbbd3f92001eda104abe23803181629f695e8f1b95af96d88ff7d5890", + "name":"1inch Wallet", + "description":"", + "homepage":"https://1inch.io/wallet/", + "chains":[ + "eip155:1", + "eip155:56" + ], + "versions":[ + "1" + ], + "app":{ + "browser":"", + "ios":"https://apps.apple.com/us/app/1inch-defi-wallet/id1546049391", + "android":"", + "mac":"", + "windows":"", + "linux":"" + }, + "mobile":{ + "native":"oneinch:", + "universal":"https://wallet.1inch.io" + }, + "desktop":{ + "native":"", + "universal":"" + }, + "metadata":{ + "shortName":"1inch", + "colors":{ + "primary":"rgb(31, 36, 46)", + "secondary":"" + } + }, + "config":{ + "comment":"1inch", + "iosMinVersion":"0", + "encoding":"=\"#%/<>?@\\^`{|}:&", + "imageUrl":"https://v4.testnet.dydx.exchange/wallets/1inch.png", + "image":"1inch.png", + "connections":[ + { + "type":"walletConnect", + "native":"oneinch:", + "universal":"https://wallet.1inch.io" + } + ] + }, + "userFields":{ + "analyticEvent":"1INCH" + } + }, + { + "id":"bae74827272509a6d63ea25514d9c68ad235c14e45e183518c7ded4572a1b0c4", + "name":"Huobi Wallet", + "description":"", + "homepage":"https://huobiwallet.com/", + "chains":[ + "eip155:1" + ], + "versions":[ + "1" + ], + "app":{ + "browser":"", + "ios":"https://apps.apple.com/us/app/id1433883012", + "android":"https://play.google.com/store/apps/details?id=com.huobionchainwallet.gp", + "mac":"", + "windows":"", + "linux":"" + }, + "mobile":{ + "native":"huobiwallet:", + "universal":"" + }, + "desktop":{ + "native":"", + "universal":"" + }, + "metadata":{ + "shortName":"Huobi", + "colors":{ + "primary":"rgb(45,101,248)", + "secondary":"" + } + }, + "config":{ + "comment":"Huobi", + "iosMinVersion":"0", + "encoding":"=\"#%/<>?@\\^`{|}:&", + "imageUrl":"https://v4.testnet.dydx.exchange/wallets/huobi-wallet.png", + "image":"huobi-wallet.png", + "connections":[ + { + "type":"walletConnect", + "native":"huobiwallet:", + "universal":"" + } + ] + }, + "userFields":{ + "analyticEvent":"HUOBI_WALLET" + } + } +] \ No newline at end of file diff --git a/public/logos/dydx-x.png b/public/logos/dydx-x.png new file mode 100644 index 0000000000000000000000000000000000000000..3e96a35b00a6d0df709a842ecc2ac8ba5f7b52b9 GIT binary patch literal 4936 zcmZ`-XHXMdu%<Lg*kJV(3*mA%W0IL`0;9-bDgIstA!l5KuZwOF%+3GzB6}s)96w z6a^GSdX=Im`uJwv&-Z@pJ$q+%X6Kx{Gw05x+S!<0Vi9DaqN2KF4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