diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ab7f8d1..35f4c27 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -32,8 +32,8 @@ dependencies: specifier: ^1.0.20 version: 1.0.20 '@dydxprotocol/v4-localization': - specifier: ^1.1.28 - version: 1.1.29 + specifier: ^1.1.30 + version: 1.1.30 '@ethersproject/providers': specifier: ^5.7.2 version: 5.7.2 @@ -1319,13 +1319,8 @@ packages: - utf-8-validate dev: false -<<<<<<< HEAD /@dydxprotocol/v4-localization@1.1.30: resolution: {integrity: sha512-TZfWWRSOxcjLHs972wlJVVHkE7+DVqAUnGZSs24HYHsPtUkPhZiNXMOA2Vk9YddQxumhM79xIRH0cmJSe5DDUg==} -======= - /@dydxprotocol/v4-localization@1.1.29: - resolution: {integrity: sha512-o9lxsYl5ObqO9OUyxiKuUxoBmYZk0qGDeNxGScY8uMRq4Ahhz3BPxAC7jUYypCNAMpieiQjVGxMnnhIbwEkm2w==} ->>>>>>> d67495d (bump abacus + use new env config format) dev: false /@dydxprotocol/v4-proto@4.0.0-dev.0: diff --git a/public/configs/env.json b/public/configs/env.json index 666b304..1040d05 100644 --- a/public/configs/env.json +++ b/public/configs/env.json @@ -43,198 +43,6 @@ "default": "dydxprotocol-testnet" } }, - "tokens": { - "dydxprotocol-testnet": { - "chain": { - "name": "Dv4TNT", - "denom": "adv4tnt", - "decimals": 18, - "image": "/currencies/dydx.png" - }, - "usdc": { - "name": "USDC", - "denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", - "gasDenom": "uusdc", - "decimals": 6, - "image": "/currencies/usdc.png" - } - }, - "dydx-testnet-4": { - "chain": { - "name": "Dv4TNT", - "denom": "adv4tnt", - "decimals": 18, - "image": "/currencies/dydx.png" - }, - "usdc": { - "name": "USDC", - "denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", - "gasDenom": "uusdc", - "decimals": 6, - "image": "/currencies/usdc.png" - } - }, - "[mainnet chain id]": { - "comment": "Change according to mainnet release", - "chain": { - "name": "TokenName", - "denom": "tokenDenom", - "decimals": 18, - "image": "/currencies/dydx.png" - }, - "usdc": { - "name": "USDC", - "denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", - "gasDenom": "uusdc", - "decimals": 6, - "image": "/currencies/usdc.png" - } - } - }, - "links": { - "dydxprotocol-testnet": { - "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://docs.dydx.exchange/", - "community": "https://discord.com/invite/dydx", - "feedback": "https://docs.google.com/forms/d/e/1FAIpQLSezLsWCKvAYDEb7L-2O4wOON1T56xxro9A2Azvl6IxXHP_15Q/viewform", - "blogs": "https://www.dydx.foundation/blog", - "foundation": "https://www.dydx.foundation", - "help": "https://help.dydx.exchange/", - "reduceOnlyLearnMore": "https://help.dydx.exchange/articles/6345793-reduce-only-orders", - "mintscanBase": "https://testnet.mintscan.io/dydx-testnet", - "governanceLearnMore": "https://help.dydx.exchange", - "newMarketProposalLearnMore": "https://dydx.exchange/blog/new-market-proposals", - "stakingLearnMore": "https://help.dydx.exchange", - "keplrDashboard": "https://testnet.keplr.app/", - "strideZoneApp": "https://testnet.stride.zone", - "accountExportLearnMore": "https://help.dydx.exchange/en/articles/8565867-secret-phrase-on-dydx-chain", - "walletLearnMore": "https://www.dydx.academy/video/defi-wallet" - }, - "dydx-testnet-4": { - "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://docs.dydx.exchange/", - "community": "https://discord.com/invite/dydx", - "feedback": "https://docs.google.com/forms/d/e/1FAIpQLSezLsWCKvAYDEb7L-2O4wOON1T56xxro9A2Azvl6IxXHP_15Q/viewform", - "blogs": "https://www.dydx.foundation/blog", - "foundation": "https://www.dydx.foundation", - "help": "https://help.dydx.exchange/", - "reduceOnlyLearnMore": "https://help.dydx.exchange/articles/6345793-reduce-only-orders", - "mintscanBase": "https://testnet.mintscan.io/dydx-testnet", - "governanceLearnMore": "https://help.dydx.exchange", - "newMarketProposalLearnMore": "https://dydx.exchange/blog/new-market-proposals", - "stakingLearnMore": "https://help.dydx.exchange", - "keplrDashboard": "https://testnet.keplr.app/", - "strideZoneApp": "https://testnet.stride.zone", - "accountExportLearnMore": "https://help.dydx.exchange/en/articles/8565867-secret-phrase-on-dydx-chain", - "walletLearnMore": "https://www.dydx.academy/video/defi-wallet" - }, - "[mainnet chain id]": { - "tos": "[HTTP link to TOS]", - "privacy": "[HTTP link to Privacy Policy]", - "statusPage": "[HTTP link to status page]", - "mintscan": "[HTTP link to Mintscan, with {tx_hash} placeholder]", - "mintscanBase": "[HTTP link to TOS mintscan base url]", - "feedback": "[HTTP link to feedback form, can be null]", - "blogs": "[HTTP link to blogs, can be null]", - "foundation": "[HTTP link to foundation, can be null]", - "reduceOnlyLearnMore": "[HTTP link to reduce-only learn more, can be null]", - "documentation": "[HTTP link to documentation, can be null]", - "community": "[HTTP link to community, can be null]", - "help": "[HTTP link to help page, can be null]", - "governanceLearnMore": "[HTTP link to governance learn more, can be null]", - "newMarketProposalLearnMore": "[HTTP link to new market proposal learn more, can be null]", - "stakingLearnMore": "[HTTP link to staking learn more, can be null]", - "keplrDashboard": "[HTTP link to keplr dashboard, can be null]", - "strideZoneApp": "[HTTP link to stride zone app, can be null]", - "accountExportLearnMore": "[HTTP link to account export learn more, can be null]", - "walletLearnMore": "[HTTP link to wallet learn more, can be null]" - } - }, - "wallets": { - "dydxprotocol-testnet": { - "walletconnect": { - "client": { - "name": "dYdX v4", - "description": "dYdX v4 App", - "iconUrl": "/logos/dydx-x.png" - }, - "v2": { - "projectId": "47559b2ec96c09aed9ff2cb54a31ab0e" - } - }, - "walletSegue": { - "callbackUrl": "/walletsegue" - }, - "images": "/wallets/", - "signTypedDataAction": "dYdX Chain Onboarding", - "signTypedDataDomainName": "dYdX Chain" - }, - "dydx-testnet-4": { - "walletconnect": { - "client": { - "name": "dYdX v4", - "description": "dYdX v4 App", - "iconUrl": "/logos/dydx-x.png" - }, - "v2": { - "projectId": "47559b2ec96c09aed9ff2cb54a31ab0e" - } - }, - "walletSegue": { - "callbackUrl": "/walletsegue" - }, - "images": "/wallets/", - "signTypedDataAction": "dYdX Chain Onboarding", - "signTypedDataDomainName": "dYdX Chain" - }, - "[mainnet chain id]": { - "walletconnect": { - "client": { - "name": "[Name of the app]", - "description": "[Description of the app]", - "iconUrl": "[Relative URL of the icon URL]" - }, - "v2": { - "projectId": "[Project ID]" - } - }, - "walletSegue": { - "callbackUrl": "[Relative callback URL for WalletSegue, should match apple-app-site-association]" - }, - "images": "[Relative URL for wallet images]", - "signTypedDataAction": "dYdX Chain Onboarding", - "signTypedDataDomainName": "dYdX Chain" - } - }, - "governance": { - "dydxprotocol-testnet": { - "newMarketProposal": { - "initialDepositAmount": 10000000, - "delayBlocks": 900, - "newMarketsMethodology": "https://docs.google.com/spreadsheets/d/1zjkV9R7R_7KMItuzqzvKGwefSBRfE-ZNAx1LH55OcqY/edit?usp=sharing" - } - }, - "dydx-testnet-4": { - "newMarketProposal": { - "initialDepositAmount": 10000000, - "delayBlocks": 900, - "newMarketsMethodology": "https://docs.google.com/spreadsheets/d/1zjkV9R7R_7KMItuzqzvKGwefSBRfE-ZNAx1LH55OcqY/edit?usp=sharing" - } - }, - "[mainnet chain id]": { - "newMarketProposal": { - "initialDepositAmount": 0, - "delayBlocks": 0, - "newMarketsMethodology": "[URL to spreadsheet or document that explains methodology]" - } - } - }, "environments": { "dydxprotocol-dev": { "name": "v4 Dev", @@ -244,6 +52,21 @@ "chainLogo": "/dydx-chain.png", "squidIntegratorId": "dYdX-api", "isMainNet": false, + "tokens": { + "chain": { + "name": "Dv4TNT", + "denom": "adv4tnt", + "decimals": 18, + "image": "/currencies/dydx.png" + }, + "usdc": { + "name": "USDC", + "denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "gasDenom": "uusdc", + "decimals": 6, + "image": "/currencies/usdc.png" + } + }, "endpoints": { "indexers": [ { @@ -258,6 +81,50 @@ "nobleValidator": "https://noble-testnet-rpc.polkachu.com/", "faucet": "https://faucet.v4dev.dydx.exchange" }, + "links": { + "tos": "https://dydx.exchange/v4-terms", + "privacy": "https://dydx.exchange/privacy", + "mintscan": "https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}", + "blogs": "https://www.dydx.foundation/blog", + "foundation": "https://www.dydx.foundation", + "help": "https://help.dydx.exchange/", + "reduceOnlyLearnMore": "https://help.dydx.exchange/articles/6345793-reduce-only-orders", + "mintscanBase": "https://testnet.mintscan.io/dydx-testnet", + "documentation": "https://docs.dydx.exchange/", + "community": "https://discord.com/invite/dydx", + "governanceLearnMore": "https://help.dydx.exchange", + "newMarketProposalLearnMore": "https://dydx.exchange/blog/new-market-proposals", + "stakingLearnMore": "https://help.dydx.exchange", + "keplrDashboard": "https://testnet.keplr.app/", + "strideZoneApp": "https://testnet.stride.zone", + "accountExportLearnMore": "https://help.dydx.exchange/en/articles/8565867-secret-phrase-on-dydx-chain", + "walletLearnMore": "https://www.dydx.academy/video/defi-wallet" + }, + "wallets": { + "walletconnect": { + "client": { + "name": "dYdX v4", + "description": "dYdX v4 App", + "iconUrl": "/logos/dydx-x.png" + }, + "v2": { + "projectId": "47559b2ec96c09aed9ff2cb54a31ab0e" + } + }, + "walletSegue": { + "callbackUrl": "/walletsegue" + }, + "images": "/wallets/", + "signTypedDataAction": "dYdX Chain Onboarding", + "signTypedDataDomainName": "dYdX Chain" + }, + "governance": { + "newMarketProposal": { + "initialDepositAmount": 10000000, + "delayBlocks": 900, + "newMarketsMethodology": "https://docs.google.com/spreadsheets/d/1zjkV9R7R_7KMItuzqzvKGwefSBRfE-ZNAx1LH55OcqY/edit?usp=sharing" + } + }, "featureFlags": { "reduceOnlySupported": true } @@ -270,6 +137,21 @@ "chainLogo": "/dydx-chain.png", "squidIntegratorId": "dYdX-api", "isMainNet": false, + "tokens": { + "chain": { + "name": "Dv4TNT", + "denom": "adv4tnt", + "decimals": 18, + "image": "/currencies/dydx.png" + }, + "usdc": { + "name": "USDC", + "denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "gasDenom": "uusdc", + "decimals": 6, + "image": "/currencies/usdc.png" + } + }, "endpoints": { "indexers": [ { @@ -283,6 +165,50 @@ "0xsquid": "https://testnet.api.0xsquid.com", "nobleValidator": "https://noble-testnet-rpc.polkachu.com/" }, + "links": { + "tos": "https://dydx.exchange/v4-terms", + "privacy": "https://dydx.exchange/privacy", + "mintscan": "https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}", + "blogs": "https://www.dydx.foundation/blog", + "foundation": "https://www.dydx.foundation", + "help": "https://help.dydx.exchange/", + "reduceOnlyLearnMore": "https://help.dydx.exchange/articles/6345793-reduce-only-orders", + "mintscanBase": "https://testnet.mintscan.io/dydx-testnet", + "documentation": "https://docs.dydx.exchange/", + "community": "https://discord.com/invite/dydx", + "governanceLearnMore": "https://help.dydx.exchange", + "newMarketProposalLearnMore": "https://dydx.exchange/blog/new-market-proposals", + "stakingLearnMore": "https://help.dydx.exchange", + "keplrDashboard": "https://testnet.keplr.app/", + "strideZoneApp": "https://testnet.stride.zone", + "accountExportLearnMore": "https://help.dydx.exchange/en/articles/8565867-secret-phrase-on-dydx-chain", + "walletLearnMore": "https://www.dydx.academy/video/defi-wallet" + }, + "wallets": { + "walletconnect": { + "client": { + "name": "dYdX v4", + "description": "dYdX v4 App", + "iconUrl": "/logos/dydx-x.png" + }, + "v2": { + "projectId": "47559b2ec96c09aed9ff2cb54a31ab0e" + } + }, + "walletSegue": { + "callbackUrl": "/walletsegue" + }, + "images": "/wallets/", + "signTypedDataAction": "dYdX Chain Onboarding", + "signTypedDataDomainName": "dYdX Chain" + }, + "governance": { + "newMarketProposal": { + "initialDepositAmount": 10000000, + "delayBlocks": 900, + "newMarketsMethodology": "https://docs.google.com/spreadsheets/d/1zjkV9R7R_7KMItuzqzvKGwefSBRfE-ZNAx1LH55OcqY/edit?usp=sharing" + } + }, "featureFlags": { "reduceOnlySupported": true } @@ -295,6 +221,21 @@ "chainLogo": "/dydx-chain.png", "squidIntegratorId": "dYdX-api", "isMainNet": false, + "tokens": { + "chain": { + "name": "Dv4TNT", + "denom": "adv4tnt", + "decimals": 18, + "image": "/currencies/dydx.png" + }, + "usdc": { + "name": "USDC", + "denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "gasDenom": "uusdc", + "decimals": 6, + "image": "/currencies/usdc.png" + } + }, "endpoints": { "indexers": [ { @@ -309,6 +250,50 @@ "nobleValidator": "https://noble-testnet-rpc.polkachu.com/", "faucet": "https://faucet.v4dev4.dydx.exchange" }, + "links": { + "tos": "https://dydx.exchange/v4-terms", + "privacy": "https://dydx.exchange/privacy", + "mintscan": "https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}", + "blogs": "https://www.dydx.foundation/blog", + "foundation": "https://www.dydx.foundation", + "help": "https://help.dydx.exchange/", + "reduceOnlyLearnMore": "https://help.dydx.exchange/articles/6345793-reduce-only-orders", + "mintscanBase": "https://testnet.mintscan.io/dydx-testnet", + "documentation": "https://docs.dydx.exchange/", + "community": "https://discord.com/invite/dydx", + "governanceLearnMore": "https://help.dydx.exchange", + "newMarketProposalLearnMore": "https://dydx.exchange/blog/new-market-proposals", + "stakingLearnMore": "https://help.dydx.exchange", + "keplrDashboard": "https://testnet.keplr.app/", + "strideZoneApp": "https://testnet.stride.zone", + "accountExportLearnMore": "https://help.dydx.exchange/en/articles/8565867-secret-phrase-on-dydx-chain", + "walletLearnMore": "https://www.dydx.academy/video/defi-wallet" + }, + "wallets": { + "walletconnect": { + "client": { + "name": "dYdX v4", + "description": "dYdX v4 App", + "iconUrl": "/logos/dydx-x.png" + }, + "v2": { + "projectId": "47559b2ec96c09aed9ff2cb54a31ab0e" + } + }, + "walletSegue": { + "callbackUrl": "/walletsegue" + }, + "images": "/wallets/", + "signTypedDataAction": "dYdX Chain Onboarding", + "signTypedDataDomainName": "dYdX Chain" + }, + "governance": { + "newMarketProposal": { + "initialDepositAmount": 10000000, + "delayBlocks": 900, + "newMarketsMethodology": "https://docs.google.com/spreadsheets/d/1zjkV9R7R_7KMItuzqzvKGwefSBRfE-ZNAx1LH55OcqY/edit?usp=sharing" + } + }, "featureFlags": { "reduceOnlySupported": true } @@ -321,6 +306,21 @@ "chainLogo": "/dydx-chain.png", "squidIntegratorId": "dYdX-api", "isMainNet": false, + "tokens": { + "chain": { + "name": "Dv4TNT", + "denom": "adv4tnt", + "decimals": 18, + "image": "/currencies/dydx.png" + }, + "usdc": { + "name": "USDC", + "denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "gasDenom": "uusdc", + "decimals": 6, + "image": "/currencies/usdc.png" + } + }, "endpoints": { "indexers": [ { @@ -334,6 +334,50 @@ "0xsquid": "https://testnet.api.0xsquid.com", "nobleValidator": "https://noble-testnet-rpc.polkachu.com/" }, + "links": { + "tos": "https://dydx.exchange/v4-terms", + "privacy": "https://dydx.exchange/privacy", + "mintscan": "https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}", + "blogs": "https://www.dydx.foundation/blog", + "foundation": "https://www.dydx.foundation", + "help": "https://help.dydx.exchange/", + "reduceOnlyLearnMore": "https://help.dydx.exchange/articles/6345793-reduce-only-orders", + "mintscanBase": "https://testnet.mintscan.io/dydx-testnet", + "documentation": "https://docs.dydx.exchange/", + "community": "https://discord.com/invite/dydx", + "governanceLearnMore": "https://help.dydx.exchange", + "newMarketProposalLearnMore": "https://dydx.exchange/blog/new-market-proposals", + "stakingLearnMore": "https://help.dydx.exchange", + "keplrDashboard": "https://testnet.keplr.app/", + "strideZoneApp": "https://testnet.stride.zone", + "accountExportLearnMore": "https://help.dydx.exchange/en/articles/8565867-secret-phrase-on-dydx-chain", + "walletLearnMore": "https://www.dydx.academy/video/defi-wallet" + }, + "wallets": { + "walletconnect": { + "client": { + "name": "dYdX v4", + "description": "dYdX v4 App", + "iconUrl": "/logos/dydx-x.png" + }, + "v2": { + "projectId": "47559b2ec96c09aed9ff2cb54a31ab0e" + } + }, + "walletSegue": { + "callbackUrl": "/walletsegue" + }, + "images": "/wallets/", + "signTypedDataAction": "dYdX Chain Onboarding", + "signTypedDataDomainName": "dYdX Chain" + }, + "governance": { + "newMarketProposal": { + "initialDepositAmount": 10000000, + "delayBlocks": 900, + "newMarketsMethodology": "https://docs.google.com/spreadsheets/d/1zjkV9R7R_7KMItuzqzvKGwefSBRfE-ZNAx1LH55OcqY/edit?usp=sharing" + } + }, "featureFlags": { "reduceOnlySupported": true } @@ -346,6 +390,21 @@ "chainLogo": "/dydx-chain.png", "squidIntegratorId": "dYdX-api", "isMainNet": false, + "tokens": { + "chain": { + "name": "Dv4TNT", + "denom": "adv4tnt", + "decimals": 18, + "image": "/currencies/dydx.png" + }, + "usdc": { + "name": "USDC", + "denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "gasDenom": "uusdc", + "decimals": 6, + "image": "/currencies/usdc.png" + } + }, "endpoints": { "indexers": [ { @@ -360,6 +419,51 @@ "0xsquid": "https://testnet.api.squidrouter.com", "nobleValidator": "https://noble-testnet-rpc.polkachu.com/" }, + "links": { + "tos": "https://dydx.exchange/v4-terms", + "privacy": "https://dydx.exchange/privacy", + "mintscan": "https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}", + "documentation": "https://docs.dydx.exchange/", + "community": "https://discord.com/invite/dydx", + "feedback": "https://docs.google.com/forms/d/e/1FAIpQLSezLsWCKvAYDEb7L-2O4wOON1T56xxro9A2Azvl6IxXHP_15Q/viewform", + "blogs": "https://www.dydx.foundation/blog", + "help": "https://help.dydx.exchange", + "foundation": "https://www.dydx.foundation", + "reduceOnlyLearnMore": "https://help.dydx.exchange/articles/6345793-reduce-only-orders", + "mintscanBase": "https://testnet.mintscan.io/dydx-testnet", + "governanceLearnMore": "https://help.dydx.exchange", + "newMarketProposalLearnMore": "https://dydx.exchange/blog/new-market-proposals", + "stakingLearnMore": "https://help.dydx.exchange", + "keplrDashboard": "https://testnet.keplr.app/", + "strideZoneApp": "https://testnet.stride.zone", + "accountExportLearnMore": "https://help.dydx.exchange/en/articles/8565867-secret-phrase-on-dydx-chain", + "walletLearnMore": "https://www.dydx.academy/video/defi-wallet" + }, + "wallets": { + "walletconnect": { + "client": { + "name": "dYdX v4", + "description": "dYdX v4 App", + "iconUrl": "/logos/dydx-x.png" + }, + "v2": { + "projectId": "47559b2ec96c09aed9ff2cb54a31ab0e" + } + }, + "walletSegue": { + "callbackUrl": "/walletsegue" + }, + "images": "/wallets/", + "signTypedDataAction": "dYdX Chain Onboarding", + "signTypedDataDomainName": "dYdX Chain" + }, + "governance": { + "newMarketProposal": { + "initialDepositAmount": 10000000, + "delayBlocks": 900, + "newMarketsMethodology": "https://docs.google.com/spreadsheets/d/1zjkV9R7R_7KMItuzqzvKGwefSBRfE-ZNAx1LH55OcqY/edit?usp=sharing" + } + }, "featureFlags": { "reduceOnlySupported": true } @@ -372,6 +476,21 @@ "chainLogo": "/dydx-chain.png", "squidIntegratorId": "dYdX-api", "isMainNet": false, + "tokens": { + "chain": { + "name": "Dv4TNT", + "denom": "adv4tnt", + "decimals": 18, + "image": "/currencies/dydx.png" + }, + "usdc": { + "name": "USDC", + "denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "gasDenom": "uusdc", + "decimals": 6, + "image": "/currencies/usdc.png" + } + }, "endpoints": { "indexers": [ { @@ -386,6 +505,35 @@ "0xsquid": "https://testnet.api.squidrouter.com", "nobleValidator": "https://noble-testnet-rpc.polkachu.com/" }, + "links": { + "tos": "https://dydx.exchange/v4-terms", + "privacy": "https://dydx.exchange/privacy", + "mintscan": "https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}", + "mintscanBase": "https://testnet.mintscan.io/dydx-testnet", + "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", + "newMarketProposalLearnMore": "https://dydx.exchange/blog/new-market-proposals" + }, + "wallets": { + "walletconnect": { + "client": { + "name": "dYdX v4", + "description": "dYdX v4 App", + "iconUrl": "/logos/dydx-x.png" + }, + "v2": { + "projectId": "47559b2ec96c09aed9ff2cb54a31ab0e" + } + }, + "walletSegue": { + "callbackUrl": "/walletsegue" + }, + "images": "/wallets/", + "signTypedDataAction": "dYdX Chain Onboarding", + "signTypedDataDomainName": "dYdX Chain" + }, "apps": { "ios": { "minimalVersion": "1.0", @@ -393,6 +541,13 @@ "url": "https://apps.apple.com/app/dydx/id1564787350" } }, + "governance": { + "newMarketProposal": { + "initialDepositAmount": 10000000, + "delayBlocks": 900, + "newMarketsMethodology": "https://docs.google.com/spreadsheets/d/1zjkV9R7R_7KMItuzqzvKGwefSBRfE-ZNAx1LH55OcqY/edit?usp=sharing" + } + }, "featureFlags": { "reduceOnlySupported": true } @@ -405,6 +560,21 @@ "chainLogo": "/dydx-chain.png", "squidIntegratorId": "dYdX-api", "isMainNet": false, + "tokens": { + "chain": { + "name": "Dv4TNT", + "denom": "adv4tnt", + "decimals": 18, + "image": "/currencies/dydx.png" + }, + "usdc": { + "name": "USDC", + "denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "gasDenom": "uusdc", + "decimals": 6, + "image": "/currencies/usdc.png" + } + }, "endpoints": { "indexers": [ { @@ -419,6 +589,51 @@ "0xsquid": "https://testnet.api.squidrouter.com", "nobleValidator": "https://noble-testnet-rpc.polkachu.com/" }, + "links": { + "tos": "https://dydx.exchange/v4-terms", + "privacy": "https://dydx.exchange/privacy", + "mintscan": "https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}", + "documentation": "https://docs.dydx.exchange/", + "community": "https://discord.com/invite/dydx", + "feedback": "https://docs.google.com/forms/d/e/1FAIpQLSezLsWCKvAYDEb7L-2O4wOON1T56xxro9A2Azvl6IxXHP_15Q/viewform", + "blogs": "https://www.dydx.foundation/blog", + "help": "https://help.dydx.exchange", + "foundation": "https://www.dydx.foundation", + "reduceOnlyLearnMore": "https://help.dydx.exchange/articles/6345793-reduce-only-orders", + "mintscanBase": "https://testnet.mintscan.io/dydx-testnet", + "governanceLearnMore": "https://help.dydx.exchange", + "newMarketProposalLearnMore": "https://dydx.exchange/blog/new-market-proposals", + "stakingLearnMore": "https://help.dydx.exchange", + "keplrDashboard": "https://testnet.keplr.app/", + "strideZoneApp": "https://testnet.stride.zone", + "accountExportLearnMore": "https://help.dydx.exchange/en/articles/8565867-secret-phrase-on-dydx-chain", + "walletLearnMore": "https://www.dydx.academy/video/defi-wallet" + }, + "wallets": { + "walletconnect": { + "client": { + "name": "dYdX v4", + "description": "dYdX v4 App", + "iconUrl": "/logos/dydx-x.png" + }, + "v2": { + "projectId": "47559b2ec96c09aed9ff2cb54a31ab0e" + } + }, + "walletSegue": { + "callbackUrl": "/walletsegue" + }, + "images": "/wallets/", + "signTypedDataAction": "dYdX Chain Onboarding", + "signTypedDataDomainName": "dYdX Chain" + }, + "governance": { + "newMarketProposal": { + "initialDepositAmount": 10000000, + "delayBlocks": 900, + "newMarketsMethodology": "https://docs.google.com/spreadsheets/d/1zjkV9R7R_7KMItuzqzvKGwefSBRfE-ZNAx1LH55OcqY/edit?usp=sharing" + } + }, "featureFlags": { "reduceOnlySupported": true } @@ -431,6 +646,21 @@ "chainLogo": "/dydx-chain.png", "squidIntegratorId": "dYdX-api", "isMainNet": false, + "tokens": { + "chain": { + "name": "Dv4TNT", + "denom": "adv4tnt", + "decimals": 18, + "image": "/currencies/dydx.png" + }, + "usdc": { + "name": "USDC", + "denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "gasDenom": "uusdc", + "decimals": 6, + "image": "/currencies/usdc.png" + } + }, "endpoints": { "indexers": [ { @@ -449,6 +679,51 @@ "nobleValidator": "https://noble-testnet-rpc.polkachu.com/", "faucet": "https://faucet.v4testnet.dydx.exchange" }, + "links": { + "tos": "https://dydx.exchange/v4-terms", + "privacy": "https://dydx.exchange/privacy", + "mintscan": "https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}", + "documentation": "https://docs.dydx.exchange/", + "community": "https://discord.com/invite/dydx", + "feedback": "https://docs.google.com/forms/d/e/1FAIpQLSezLsWCKvAYDEb7L-2O4wOON1T56xxro9A2Azvl6IxXHP_15Q/viewform", + "blogs": "https://www.dydx.foundation/blog", + "foundation": "https://www.dydx.foundation", + "help": "https://help.dydx.exchange/", + "reduceOnlyLearnMore": "https://help.dydx.exchange/articles/6345793-reduce-only-orders", + "mintscanBase": "https://testnet.mintscan.io/dydx-testnet", + "governanceLearnMore": "https://help.dydx.exchange", + "newMarketProposalLearnMore": "https://dydx.exchange/blog/new-market-proposals", + "stakingLearnMore": "https://help.dydx.exchange", + "keplrDashboard": "https://testnet.keplr.app/", + "strideZoneApp": "https://testnet.stride.zone", + "accountExportLearnMore": "https://help.dydx.exchange/en/articles/8565867-secret-phrase-on-dydx-chain", + "walletLearnMore": "https://www.dydx.academy/video/defi-wallet" + }, + "wallets": { + "walletconnect": { + "client": { + "name": "dYdX v4", + "description": "dYdX v4 App", + "iconUrl": "/logos/dydx-x.png" + }, + "v2": { + "projectId": "47559b2ec96c09aed9ff2cb54a31ab0e" + } + }, + "walletSegue": { + "callbackUrl": "/walletsegue" + }, + "images": "/wallets/", + "signTypedDataAction": "dYdX Chain Onboarding", + "signTypedDataDomainName": "dYdX V4" + }, + "governance": { + "newMarketProposal": { + "initialDepositAmount": 10000000, + "delayBlocks": 900, + "newMarketsMethodology": "https://docs.google.com/spreadsheets/d/1zjkV9R7R_7KMItuzqzvKGwefSBRfE-ZNAx1LH55OcqY/edit?usp=sharing" + } + }, "featureFlags": { "reduceOnlySupported": false } @@ -461,6 +736,21 @@ "chainLogo": "/dydx-chain.png", "squidIntegratorId": "dYdX-api", "isMainNet": false, + "tokens": { + "chain": { + "name": "Dv4TNT", + "denom": "adv4tnt", + "decimals": 18, + "image": "/currencies/dydx.png" + }, + "usdc": { + "name": "USDC", + "denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "gasDenom": "uusdc", + "decimals": 6, + "image": "/currencies/usdc.png" + } + }, "endpoints": { "indexers": [ { @@ -475,6 +765,52 @@ "nobleValidator": "https://noble-testnet-rpc.polkachu.com/", "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://docs.dydx.exchange/", + "community": "https://discord.com/invite/dydx", + "feedback": "https://docs.google.com/forms/d/e/1FAIpQLSezLsWCKvAYDEb7L-2O4wOON1T56xxro9A2Azvl6IxXHP_15Q/viewform", + "blogs": "https://www.dydx.foundation/blog", + "foundation": "https://www.dydx.foundation", + "help": "https://help.dydx.exchange/", + "reduceOnlyLearnMore": "https://help.dydx.exchange/articles/6345793-reduce-only-orders", + "mintscanBase": "https://testnet.mintscan.io/dydx-testnet", + "governanceLearnMore": "https://help.dydx.exchange", + "newMarketProposalLearnMore": "https://dydx.exchange/blog/new-market-proposals", + "stakingLearnMore": "https://help.dydx.exchange", + "keplrDashboard": "https://testnet.keplr.app/", + "strideZoneApp": "https://testnet.stride.zone", + "accountExportLearnMore": "https://help.dydx.exchange/en/articles/8565867-secret-phrase-on-dydx-chain", + "walletLearnMore": "https://www.dydx.academy/video/defi-wallet" + }, + "wallets": { + "walletconnect": { + "client": { + "name": "dYdX v4", + "description": "dYdX v4 App", + "iconUrl": "/logos/dydx-x.png" + }, + "v2": { + "projectId": "47559b2ec96c09aed9ff2cb54a31ab0e" + } + }, + "walletSegue": { + "callbackUrl": "/walletsegue" + }, + "images": "/wallets/", + "signTypedDataAction": "dYdX Chain Onboarding", + "signTypedDataDomainName": "dYdX V4" + }, + "governance": { + "newMarketProposal": { + "initialDepositAmount": 10000000, + "delayBlocks": 900, + "newMarketsMethodology": "https://docs.google.com/spreadsheets/d/1zjkV9R7R_7KMItuzqzvKGwefSBRfE-ZNAx1LH55OcqY/edit?usp=sharing" + } + }, "featureFlags": { "reduceOnlySupported": false } @@ -487,6 +823,21 @@ "chainLogo": "/dydx-chain.png", "squidIntegratorId": "dYdX-api", "isMainNet": false, + "tokens": { + "chain": { + "name": "Dv4TNT", + "denom": "adv4tnt", + "decimals": 18, + "image": "/currencies/dydx.png" + }, + "usdc": { + "name": "USDC", + "denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "gasDenom": "uusdc", + "decimals": 6, + "image": "/currencies/usdc.png" + } + }, "endpoints": { "indexers": [ { @@ -501,6 +852,52 @@ "nobleValidator": "https://noble-testnet-rpc.polkachu.com/", "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://docs.dydx.exchange/", + "community": "https://discord.com/invite/dydx", + "feedback": "https://docs.google.com/forms/d/e/1FAIpQLSezLsWCKvAYDEb7L-2O4wOON1T56xxro9A2Azvl6IxXHP_15Q/viewform", + "blogs": "https://www.dydx.foundation/blog", + "foundation": "https://www.dydx.foundation", + "help": "https://help.dydx.exchange/", + "reduceOnlyLearnMore": "https://help.dydx.exchange/articles/6345793-reduce-only-orders", + "mintscanBase": "https://testnet.mintscan.io/dydx-testnet", + "governanceLearnMore": "https://help.dydx.exchange", + "newMarketProposalLearnMore": "https://dydx.exchange/blog/new-market-proposals", + "stakingLearnMore": "https://help.dydx.exchange", + "keplrDashboard": "https://testnet.keplr.app/", + "strideZoneApp": "https://testnet.stride.zone", + "accountExportLearnMore": "https://help.dydx.exchange/en/articles/8565867-secret-phrase-on-dydx-chain", + "walletLearnMore": "https://www.dydx.academy/video/defi-wallet" + }, + "wallets": { + "walletconnect": { + "client": { + "name": "dYdX v4", + "description": "dYdX v4 App", + "iconUrl": "/logos/dydx-x.png" + }, + "v2": { + "projectId": "47559b2ec96c09aed9ff2cb54a31ab0e" + } + }, + "walletSegue": { + "callbackUrl": "/walletsegue" + }, + "images": "/wallets/", + "signTypedDataAction": "dYdX Chain Onboarding", + "signTypedDataDomainName": "dYdX V4" + }, + "governance": { + "newMarketProposal": { + "initialDepositAmount": 10000000, + "delayBlocks": 900, + "newMarketsMethodology": "https://docs.google.com/spreadsheets/d/1zjkV9R7R_7KMItuzqzvKGwefSBRfE-ZNAx1LH55OcqY/edit?usp=sharing" + } + }, "featureFlags": { "reduceOnlySupported": false } @@ -513,6 +910,21 @@ "chainLogo": "/dydx-chain.png", "squidIntegratorId": "dYdX-api", "isMainNet": false, + "tokens": { + "chain": { + "name": "Dv4TNT", + "denom": "adv4tnt", + "decimals": 18, + "image": "/currencies/dydx.png" + }, + "usdc": { + "name": "USDC", + "denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "gasDenom": "uusdc", + "decimals": 6, + "image": "/currencies/usdc.png" + } + }, "endpoints": { "indexers": [ { @@ -527,6 +939,52 @@ "nobleValidator": "https://noble-testnet-rpc.polkachu.com/", "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://docs.dydx.exchange/", + "community": "https://discord.com/invite/dydx", + "feedback": "https://docs.google.com/forms/d/e/1FAIpQLSezLsWCKvAYDEb7L-2O4wOON1T56xxro9A2Azvl6IxXHP_15Q/viewform", + "blogs": "https://www.dydx.foundation/blog", + "foundation": "https://www.dydx.foundation", + "help": "https://help.dydx.exchange/", + "reduceOnlyLearnMore": "https://help.dydx.exchange/articles/6345793-reduce-only-orders", + "mintscanBase": "https://testnet.mintscan.io/dydx-testnet", + "governanceLearnMore": "https://help.dydx.exchange", + "newMarketProposalLearnMore": "https://dydx.exchange/blog/new-market-proposals", + "stakingLearnMore": "https://help.dydx.exchange", + "keplrDashboard": "https://testnet.keplr.app/", + "strideZoneApp": "https://testnet.stride.zone", + "accountExportLearnMore": "https://help.dydx.exchange/en/articles/8565867-secret-phrase-on-dydx-chain", + "walletLearnMore": "https://www.dydx.academy/video/defi-wallet" + }, + "wallets": { + "walletconnect": { + "client": { + "name": "dYdX v4", + "description": "dYdX v4 App", + "iconUrl": "/logos/dydx-x.png" + }, + "v2": { + "projectId": "47559b2ec96c09aed9ff2cb54a31ab0e" + } + }, + "walletSegue": { + "callbackUrl": "/walletsegue" + }, + "images": "/wallets/", + "signTypedDataAction": "dYdX Chain Onboarding", + "signTypedDataDomainName": "dYdX V4" + }, + "governance": { + "newMarketProposal": { + "initialDepositAmount": 10000000, + "delayBlocks": 900, + "newMarketsMethodology": "https://docs.google.com/spreadsheets/d/1zjkV9R7R_7KMItuzqzvKGwefSBRfE-ZNAx1LH55OcqY/edit?usp=sharing" + } + }, "featureFlags": { "reduceOnlySupported": false } @@ -539,6 +997,21 @@ "chainLogo": "/dydx-chain.png", "squidIntegratorId": "dYdX-api", "isMainNet": false, + "tokens": { + "chain": { + "name": "Dv4TNT", + "denom": "adv4tnt", + "decimals": 18, + "image": "/currencies/dydx.png" + }, + "usdc": { + "name": "USDC", + "denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "gasDenom": "uusdc", + "decimals": 6, + "image": "/currencies/usdc.png" + } + }, "endpoints": { "indexers": [ { @@ -553,6 +1026,52 @@ "nobleValidator": "https://noble-testnet-rpc.polkachu.com/", "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://docs.dydx.exchange/", + "community": "https://discord.com/invite/dydx", + "feedback": "https://docs.google.com/forms/d/e/1FAIpQLSezLsWCKvAYDEb7L-2O4wOON1T56xxro9A2Azvl6IxXHP_15Q/viewform", + "blogs": "https://www.dydx.foundation/blog", + "foundation": "https://www.dydx.foundation", + "help": "https://help.dydx.exchange/", + "reduceOnlyLearnMore": "https://help.dydx.exchange/articles/6345793-reduce-only-orders", + "mintscanBase": "https://testnet.mintscan.io/dydx-testnet", + "governanceLearnMore": "https://help.dydx.exchange", + "newMarketProposalLearnMore": "https://dydx.exchange/blog/new-market-proposals", + "stakingLearnMore": "https://help.dydx.exchange", + "keplrDashboard": "https://testnet.keplr.app/", + "strideZoneApp": "https://testnet.stride.zone", + "accountExportLearnMore": "https://help.dydx.exchange/en/articles/8565867-secret-phrase-on-dydx-chain", + "walletLearnMore": "https://www.dydx.academy/video/defi-wallet" + }, + "wallets": { + "walletconnect": { + "client": { + "name": "dYdX v4", + "description": "dYdX v4 App", + "iconUrl": "/logos/dydx-x.png" + }, + "v2": { + "projectId": "47559b2ec96c09aed9ff2cb54a31ab0e" + } + }, + "walletSegue": { + "callbackUrl": "/walletsegue" + }, + "images": "/wallets/", + "signTypedDataAction": "dYdX Chain Onboarding", + "signTypedDataDomainName": "dYdX V4" + }, + "governance": { + "newMarketProposal": { + "initialDepositAmount": 10000000, + "delayBlocks": 900, + "newMarketsMethodology": "https://docs.google.com/spreadsheets/d/1zjkV9R7R_7KMItuzqzvKGwefSBRfE-ZNAx1LH55OcqY/edit?usp=sharing" + } + }, "featureFlags": { "reduceOnlySupported": false } @@ -565,6 +1084,21 @@ "chainLogo": "/dydx-chain.png", "squidIntegratorId": "dYdX-api", "isMainNet": false, + "tokens": { + "chain": { + "name": "Dv4TNT", + "denom": "adv4tnt", + "decimals": 18, + "image": "/currencies/dydx.png" + }, + "usdc": { + "name": "USDC", + "denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "gasDenom": "uusdc", + "decimals": 6, + "image": "/currencies/usdc.png" + } + }, "endpoints": { "indexers": [ { @@ -579,6 +1113,43 @@ "nobleValidator": "https://noble-testnet-rpc.polkachu.com/", "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}", + "mintscanBase": "https://testnet.mintscan.io/dydx-testnet", + "documentation": "https://docs.dydx.exchange/", + "community": "https://discord.com/invite/dydx", + "feedback": "https://docs.google.com/forms/d/e/1FAIpQLSezLsWCKvAYDEb7L-2O4wOON1T56xxro9A2Azvl6IxXHP_15Q/viewform", + "blogs": "https://www.dydx.foundation/blog", + "newMarketProposalLearnMore": "https://dydx.exchange/blog/new-market-proposals" + }, + "wallets": { + "walletconnect": { + "client": { + "name": "dYdX v4", + "description": "dYdX v4 App", + "iconUrl": "/logos/dydx-x.png" + }, + "v2": { + "projectId": "47559b2ec96c09aed9ff2cb54a31ab0e" + } + }, + "walletSegue": { + "callbackUrl": "/walletsegue" + }, + "images": "/wallets/", + "signTypedDataAction": "dYdX Chain Onboarding", + "signTypedDataDomainName": "dYdX V4" + }, + "governance": { + "newMarketProposal": { + "initialDepositAmount": 10000000, + "delayBlocks": 900, + "newMarketsMethodology": "https://docs.google.com/spreadsheets/d/1zjkV9R7R_7KMItuzqzvKGwefSBRfE-ZNAx1LH55OcqY/edit?usp=sharing" + } + }, "featureFlags": { "reduceOnlySupported": false } @@ -591,6 +1162,21 @@ "chainLogo": "/dydx-chain.png", "squidIntegratorId": "dYdX-api", "isMainNet": false, + "tokens": { + "chain": { + "name": "Dv4TNT", + "denom": "adv4tnt", + "decimals": 18, + "image": "/currencies/dydx.png" + }, + "usdc": { + "name": "USDC", + "denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "gasDenom": "uusdc", + "decimals": 6, + "image": "/currencies/usdc.png" + } + }, "endpoints": { "indexers": [ { @@ -605,6 +1191,52 @@ "nobleValidator": "https://noble-testnet-rpc.polkachu.com/", "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://docs.dydx.exchange/", + "community": "https://discord.com/invite/dydx", + "feedback": "https://docs.google.com/forms/d/e/1FAIpQLSezLsWCKvAYDEb7L-2O4wOON1T56xxro9A2Azvl6IxXHP_15Q/viewform", + "blogs": "https://www.dydx.foundation/blog", + "foundation": "https://www.dydx.foundation", + "help": "https://help.dydx.exchange/", + "reduceOnlyLearnmore": "https://help.dydx.exchange/articles/6345793-reduce-only-orders", + "mintscanBase": "https://testnet.mintscan.io/dydx-testnet", + "governanceLearnmore": "https://help.dydx.exchange", + "newMarketProposalLearnMore": "https://dydx.exchange/blog/new-market-proposals", + "stakingLearnmore": "https://help.dydx.exchange", + "keplrDashboard": "https://testnet.keplr.app/", + "strideZoneApp": "https://testnet.stride.zone", + "accountExportLearnmore": "https://help.dydx.exchange", + "walletLearnmore": "https://www.dydx.academy/video/defi-wallet" + }, + "wallets": { + "walletconnect": { + "client": { + "name": "dYdX v4", + "description": "dYdX v4 App", + "iconUrl": "/logos/dydx-x.png" + }, + "v2": { + "projectId": "47559b2ec96c09aed9ff2cb54a31ab0e" + } + }, + "walletSegue": { + "callbackUrl": "/walletsegue" + }, + "images": "/wallets/", + "signTypedDataAction": "dYdX Chain Onboarding", + "signTypedDataDomainName": "dYdX V4" + }, + "governance": { + "newMarketProposal": { + "initialDepositAmount": 10000000, + "delayBlocks": 900, + "newMarketsMethodology": "https://docs.google.com/spreadsheets/d/1zjkV9R7R_7KMItuzqzvKGwefSBRfE-ZNAx1LH55OcqY/edit?usp=sharing" + } + }, "featureFlags": { "reduceOnlySupported": false } @@ -617,6 +1249,22 @@ "chainLogo": "/dydx-chain.png", "squidIntegratorId": "[mainnet squid integrator id]", "isMainNet": true, + "tokens": { + "comment": "Change according to mainnet release", + "chain": { + "name": "TokenName", + "denom": "tokenDenom", + "decimals": 18, + "image": "/currencies/dydx.png" + }, + "usdc": { + "name": "USDC", + "denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "gasDenom": "uusdc", + "decimals": 6, + "image": "/currencies/usdc.png" + } + }, "endpoints": { "indexers": [ { @@ -631,6 +1279,51 @@ "0xsquid": "[0xSquid endpoint for mainnet]", "nobleValidator": "[noble validator endpoint for mainnet]" }, + "links": { + "tos": "[HTTP link to TOS]", + "privacy": "[HTTP link to Privacy Policy]", + "mintscan": "[HTTP link to Mintscan, with {tx_hash} placeholder]", + "mintscanBase": "[HTTP link to TOS mintscan base url]", + "feedback": "[HTTP link to feedback form, can be null]", + "blogs": "[HTTP link to blogs, can be null]", + "foundation": "[HTTP link to foundation, can be null]", + "reduceOnlyLearnMore": "[HTTP link to reduce-only learn more, can be null]", + "documentation": "[HTTP link to documentation, can be null]", + "community": "[HTTP link to community, can be null]", + "help": "[HTTP link to help page, can be null]", + "governanceLearnMore": "[HTTP link to governance learn more, can be null]", + "newMarketProposalLearnMore": "[HTTP link to new market proposal learn more, can be null]", + "stakingLearnMore": "[HTTP link to staking learn more, can be null]", + "keplrDashboard": "[HTTP link to keplr dashboard, can be null]", + "strideZoneApp": "[HTTP link to stride zone app, can be null]", + "accountExportLearnMore": "[HTTP link to account export learn more, can be null]", + "walletLearnMore": "[HTTP link to wallet learn more, can be null]" + }, + "wallets": { + "walletconnect": { + "client": { + "name": "[Name of the app]", + "description": "[Description of the app]", + "iconUrl": "[Relative URL of the icon URL]" + }, + "v2": { + "projectId": "[Project ID]" + } + }, + "walletSegue": { + "callbackUrl": "[Relative callback URL for WalletSegue, should match apple-app-site-association]" + }, + "images": "[Relative URL for wallet images]", + "signTypedDataAction": "dYdX Chain Onboarding", + "signTypedDataDomainName": "dYdX Chain" + }, + "governance": { + "newMarketProposal": { + "initialDepositAmount": 0, + "delayBlocks": 0, + "newMarketsMethodology": "[URL to spreadsheet or document that explains methodology]" + } + }, "featureFlags": { "reduceOnlySupported": false } diff --git a/public/configs/v1/env.json b/public/configs/v1/env.json index ab43e18..924e94a 100644 --- a/public/configs/v1/env.json +++ b/public/configs/v1/env.json @@ -1,26 +1,11 @@ { - "apps":{ - "ios":{ - "scheme":"dydx-t-v4" + "apps": { + "ios": { + "scheme": "dydx-t-v4" } }, - "tokens":{ - "dydxprotocol-testnet":{ - "chain":{ - "name":"Dv4TNT", - "denom":"adv4tnt", - "decimals":18, - "image":"/currencies/dydx.png" - }, - "usdc":{ - "name":"USDC", - "denom":"ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", - "gasDenom":"uusdc", - "decimals":6, - "image":"/currencies/usdc.png" - } - }, - "dydx-testnet-4":{ + "tokens": { + "dydxprotocol-testnet": { "chain": { "name": "Dv4TNT", "denom": "adv4tnt", @@ -35,46 +20,63 @@ "image": "/currencies/usdc.png" } }, - "[mainnet chain id]":{ - "comment":"Change according to mainnet release", - "chain":{ - "name":"TokenName", - "denom":"tokenDenom", - "decimals":18, - "image":"/currencies/dydx.png" + "dydx-testnet-4": { + "chain": { + "name": "Dv4TNT", + "denom": "adv4tnt", + "decimals": 18, + "image": "/currencies/dydx.png" }, - "usdc":{ - "name":"USDC", - "denom":"ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", - "gasDenom":"uusdc", - "decimals":6, - "image":"/currencies/usdc.png" + "usdc": { + "name": "USDC", + "denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "gasDenom": "uusdc", + "decimals": 6, + "image": "/currencies/usdc.png" + } + }, + "[mainnet chain id]": { + "comment": "Change according to mainnet release", + "chain": { + "name": "TokenName", + "denom": "tokenDenom", + "decimals": 18, + "image": "/currencies/dydx.png" + }, + "usdc": { + "name": "USDC", + "denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "gasDenom": "uusdc", + "decimals": 6, + "image": "/currencies/usdc.png" } } }, - "links":{ - "dydxprotocol-testnet":{ - "tos":"https://dydx.exchange/v4-terms", - "privacy":"https://dydx.exchange/privacy", - "mintscan":"https://testnet.mintscan.io/dydx-testnet/txs/{tx_hash}", - "blogs":"https://www.dydx.foundation/blog", - "foundation":"https://www.dydx.foundation", - "help":"https://help.dydx.exchange/", - "reduceOnlyLearnMore":"https://help.dydx.exchange/articles/6345793-reduce-only-orders", - "mintscanBase":"https://testnet.mintscan.io/dydx-testnet", - "documentation":"https://docs.dydx.exchange/", - "community":"https://discord.com/invite/dydx", - "governanceLearnMore":"https://help.dydx.exchange", - "newMarketProposalLearnMore":"https://dydx.exchange/blog/new-market-proposals", - "stakingLearnMore":"https://help.dydx.exchange", - "keplrDashboard":"https://testnet.keplr.app/", - "strideZoneApp":"https://testnet.stride.zone", - "accountExportLearnMore":"https://help.dydx.exchange/en/articles/8565867-secret-phrase-on-dydx-chain", - "walletLearnMore":"https://www.dydx.academy/video/defi-wallet" - }, - "dydx-testnet-4":{ + "links": { + "dydxprotocol-testnet": { "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}", + "blogs": "https://www.dydx.foundation/blog", + "foundation": "https://www.dydx.foundation", + "help": "https://help.dydx.exchange/", + "reduceOnlyLearnMore": "https://help.dydx.exchange/articles/6345793-reduce-only-orders", + "mintscanBase": "https://testnet.mintscan.io/dydx-testnet", + "documentation": "https://docs.dydx.exchange/", + "community": "https://discord.com/invite/dydx", + "governanceLearnMore": "https://help.dydx.exchange", + "newMarketProposalLearnMore": "https://dydx.exchange/blog/new-market-proposals", + "stakingLearnMore": "https://help.dydx.exchange", + "keplrDashboard": "https://testnet.keplr.app/", + "strideZoneApp": "https://testnet.stride.zone", + "accountExportLearnMore": "https://help.dydx.exchange/en/articles/8565867-secret-phrase-on-dydx-chain", + "walletLearnMore": "https://www.dydx.academy/video/defi-wallet" + }, + "dydx-testnet-4": { + "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://docs.dydx.exchange/", "community": "https://discord.com/invite/dydx", @@ -92,47 +94,30 @@ "accountExportLearnMore": "https://help.dydx.exchange/en/articles/8565867-secret-phrase-on-dydx-chain", "walletLearnMore": "https://www.dydx.academy/video/defi-wallet" }, - "[mainnet chain id]":{ - "tos":"[HTTP link to TOS]", - "privacy":"[HTTP link to Privacy Policy]", - "mintscan":"[HTTP link to Mintscan, with {tx_hash} placeholder]", - "mintscanBase":"[HTTP link to TOS mintscan base url]", - "feedback":"[HTTP link to feedback form, can be null]", - "blogs":"[HTTP link to blogs, can be null]", - "foundation":"[HTTP link to foundation, can be null]", - "reduceOnlyLearnMore":"[HTTP link to reduce-only learn more, can be null]", - "documentation":"[HTTP link to documentation, can be null]", - "community":"[HTTP link to community, can be null]", - "help":"[HTTP link to help page, can be null]", - "governanceLearnMore":"[HTTP link to governance learn more, can be null]", - "newMarketProposalLearnMore":"[HTTP link to new market proposal learn more, can be null]", - "stakingLearnMore":"[HTTP link to staking learn more, can be null]", - "keplrDashboard":"[HTTP link to keplr dashboard, can be null]", - "strideZoneApp":"[HTTP link to stride zone app, can be null]", - "accountExportLearnMore":"[HTTP link to account export learn more, can be null]", - "walletLearnMore":"[HTTP link to wallet learn more, can be null]" + "[mainnet chain id]": { + "tos": "[HTTP link to TOS]", + "privacy": "[HTTP link to Privacy Policy]", + "statusPage": "[HTTP link to status page]", + "mintscan": "[HTTP link to Mintscan, with {tx_hash} placeholder]", + "mintscanBase": "[HTTP link to TOS mintscan base url]", + "feedback": "[HTTP link to feedback form, can be null]", + "blogs": "[HTTP link to blogs, can be null]", + "foundation": "[HTTP link to foundation, can be null]", + "reduceOnlyLearnMore": "[HTTP link to reduce-only learn more, can be null]", + "documentation": "[HTTP link to documentation, can be null]", + "community": "[HTTP link to community, can be null]", + "help": "[HTTP link to help page, can be null]", + "governanceLearnMore": "[HTTP link to governance learn more, can be null]", + "newMarketProposalLearnMore": "[HTTP link to new market proposal learn more, can be null]", + "stakingLearnMore": "[HTTP link to staking learn more, can be null]", + "keplrDashboard": "[HTTP link to keplr dashboard, can be null]", + "strideZoneApp": "[HTTP link to stride zone app, can be null]", + "accountExportLearnMore": "[HTTP link to account export learn more, can be null]", + "walletLearnMore": "[HTTP link to wallet learn more, can be null]" } }, - "wallets":{ - "dydxprotocol-testnet":{ - "walletconnect":{ - "client":{ - "name":"dYdX v4", - "description":"dYdX v4 App", - "iconUrl":"/logos/dydx-x.png" - }, - "v2":{ - "projectId":"47559b2ec96c09aed9ff2cb54a31ab0e" - } - }, - "walletSegue":{ - "callbackUrl":"/walletsegue" - }, - "images":"/wallets/", - "signTypedDataAction":"dYdX Chain Onboarding", - "signTypedDataDomainName":"dYdX Chain" - }, - "dydx-testnet-4":{ + "wallets": { + "dydxprotocol-testnet": { "walletconnect": { "client": { "name": "dYdX v4", @@ -148,72 +133,90 @@ }, "images": "/wallets/", "signTypedDataAction": "dYdX Chain Onboarding", - "signTypedDataDomainName": "dYdX V4" + "signTypedDataDomainName": "dYdX Chain" }, - "[mainnet chain id]":{ - "walletconnect":{ - "client":{ - "name":"[Name of the app]", - "description":"[Description of the app]", - "iconUrl":"[Relative URL of the icon URL]" + "dydx-testnet-4": { + "walletconnect": { + "client": { + "name": "dYdX v4", + "description": "dYdX v4 App", + "iconUrl": "/logos/dydx-x.png" }, - "v2":{ - "projectId":"[Project ID]" + "v2": { + "projectId": "47559b2ec96c09aed9ff2cb54a31ab0e" } }, - "walletSegue":{ - "callbackUrl":"[Relative callback URL for WalletSegue, should match apple-app-site-association]" + "walletSegue": { + "callbackUrl": "/walletsegue" }, - "images":"[Relative URL for wallet images]", - "signTypedDataAction":"dYdX Chain Onboarding", - "signTypedDataDomainName":"dYdX Chain" + "images": "/wallets/", + "signTypedDataAction": "dYdX Chain Onboarding", + "signTypedDataDomainName": "dYdX Chain" + }, + "[mainnet chain id]": { + "walletconnect": { + "client": { + "name": "[Name of the app]", + "description": "[Description of the app]", + "iconUrl": "[Relative URL of the icon URL]" + }, + "v2": { + "projectId": "[Project ID]" + } + }, + "walletSegue": { + "callbackUrl": "[Relative callback URL for WalletSegue, should match apple-app-site-association]" + }, + "images": "[Relative URL for wallet images]", + "signTypedDataAction": "dYdX Chain Onboarding", + "signTypedDataDomainName": "dYdX Chain" } }, - "governance":{ - "dydxprotocol-testnet":{ - "newMarketProposal":{ - "initialDepositAmount":10000000, - "delayBlocks":900, - "newMarketsMethodology":"https://docs.google.com/spreadsheets/d/1zjkV9R7R_7KMItuzqzvKGwefSBRfE-ZNAx1LH55OcqY/edit?usp=sharing" - } - }, - "dydx-testnet-4":{ + "governance": { + "dydxprotocol-testnet": { "newMarketProposal": { "initialDepositAmount": 10000000, "delayBlocks": 900, "newMarketsMethodology": "https://docs.google.com/spreadsheets/d/1zjkV9R7R_7KMItuzqzvKGwefSBRfE-ZNAx1LH55OcqY/edit?usp=sharing" } }, - "[mainnet chain id]":{ - "newMarketProposal":{ - "initialDepositAmount":0, - "delayBlocks":0, - "newMarketsMethodology":"[URL to spreadsheet or document that explains methodology]" + "dydx-testnet-4": { + "newMarketProposal": { + "initialDepositAmount": 10000000, + "delayBlocks": 900, + "newMarketsMethodology": "https://docs.google.com/spreadsheets/d/1zjkV9R7R_7KMItuzqzvKGwefSBRfE-ZNAx1LH55OcqY/edit?usp=sharing" + } + }, + "[mainnet chain id]": { + "newMarketProposal": { + "initialDepositAmount": 0, + "delayBlocks": 0, + "newMarketsMethodology": "[URL to spreadsheet or document that explains methodology]" } } }, - "deployments":{ - "MAINNET":{ - "environments":[ + "deployments": { + "MAINNET": { + "environments": [ "dydxprotocol-mainnet" ], - "default":"dydxprotocol-mainnet" + "default": "dydxprotocol-mainnet" }, - "TESTFLIGHT":{ - "environments":[ + "TESTFLIGHT": { + "environments": [ "dydxprotocol-mainnet", "dydxprotocol-testnet" ], - "default":"dydxprotocol-mainnet" + "default": "dydxprotocol-mainnet" }, - "TESTNET":{ - "environments":[ + "TESTNET": { + "environments": [ "dydxprotocol-testnet" ], - "default":"dydxprotocol-testnet" + "default": "dydxprotocol-testnet" }, - "DEV":{ - "environments":[ + "DEV": { + "environments": [ "dydxprotocol-dev", "dydxprotocol-dev-2", "dydxprotocol-dev-4", @@ -228,407 +231,407 @@ "dydxprotocol-testnet-polkachu", "dydxprotocol-testnet-bware" ], - "default":"dydxprotocol-testnet" + "default": "dydxprotocol-testnet" } }, - "environments":{ - "dydxprotocol-dev":{ - "name":"v4 Dev", - "ethereumChainId":"11155111", - "dydxChainId":"dydxprotocol-testnet", - "chainName":"dYdX Chain", - "chainLogo":"/dydx-chain.png", - "squidIntegratorId":"dYdX-api", - "isMainNet":false, - "endpoints":{ - "indexers":[ + "environments": { + "dydxprotocol-dev": { + "name": "v4 Dev", + "ethereumChainId": "11155111", + "dydxChainId": "dydxprotocol-testnet", + "chainName": "dYdX Chain", + "chainLogo": "/dydx-chain.png", + "squidIntegratorId": "dYdX-api", + "isMainNet": false, + "endpoints": { + "indexers": [ { - "api":"https://indexer.v4dev.dydx.exchange", - "socket":"wss://indexer.v4dev.dydx.exchange" + "api": "https://indexer.v4dev.dydx.exchange", + "socket": "wss://indexer.v4dev.dydx.exchange" } ], - "validators":[ + "validators": [ "https://validator.v4dev.dydx.exchange" ], - "0xsquid":"https://testnet.api.0xsquid.com", - "nobleValidator":"https://noble-testnet-rpc.polkachu.com/", - "faucet":"https://faucet.v4dev.dydx.exchange" + "0xsquid": "https://testnet.api.0xsquid.com", + "nobleValidator": "https://noble-testnet-rpc.polkachu.com/", + "faucet": "https://faucet.v4dev.dydx.exchange" }, - "featureFlags":{ - "reduceOnlySupported":true + "featureFlags": { + "reduceOnlySupported": true } }, - "dydxprotocol-dev-2":{ - "name":"v4 Dev 2", - "ethereumChainId":"11155111", - "dydxChainId":"dydxprotocol-testnet", - "chainName":"dYdX Chain", - "chainLogo":"/dydx-chain.png", - "squidIntegratorId":"dYdX-api", - "isMainNet":false, - "endpoints":{ - "indexers":[ + "dydxprotocol-dev-2": { + "name": "v4 Dev 2", + "ethereumChainId": "11155111", + "dydxChainId": "dydxprotocol-testnet", + "chainName": "dYdX Chain", + "chainLogo": "/dydx-chain.png", + "squidIntegratorId": "dYdX-api", + "isMainNet": false, + "endpoints": { + "indexers": [ { - "api":"http://dev2-indexer-apne1-lb-public-2076363889.ap-northeast-1.elb.amazonaws.com", - "socket":"ws://dev2-indexer-apne1-lb-public-2076363889.ap-northeast-1.elb.amazonaws.com" + "api": "http://dev2-indexer-apne1-lb-public-2076363889.ap-northeast-1.elb.amazonaws.com", + "socket": "ws://dev2-indexer-apne1-lb-public-2076363889.ap-northeast-1.elb.amazonaws.com" } ], - "validators":[ + "validators": [ "http://54.92.118.111" ], - "0xsquid":"https://testnet.api.0xsquid.com", - "nobleValidator":"https://noble-testnet-rpc.polkachu.com/" + "0xsquid": "https://testnet.api.0xsquid.com", + "nobleValidator": "https://noble-testnet-rpc.polkachu.com/" }, - "featureFlags":{ - "reduceOnlySupported":true + "featureFlags": { + "reduceOnlySupported": true } }, - "dydxprotocol-dev-4":{ - "name":"v4 Dev 4", - "ethereumChainId":"11155111", - "dydxChainId":"dydxprotocol-testnet", - "chainName":"dYdX Chain", - "chainLogo":"/dydx-chain.png", - "squidIntegratorId":"dYdX-api", - "isMainNet":false, - "endpoints":{ - "indexers":[ + "dydxprotocol-dev-4": { + "name": "v4 Dev 4", + "ethereumChainId": "11155111", + "dydxChainId": "dydxprotocol-testnet", + "chainName": "dYdX Chain", + "chainLogo": "/dydx-chain.png", + "squidIntegratorId": "dYdX-api", + "isMainNet": false, + "endpoints": { + "indexers": [ { - "api":"https://indexer.v4dev4.dydx.exchange", - "socket":"wss://indexer.v4dev4.dydx.exchange" + "api": "https://indexer.v4dev4.dydx.exchange", + "socket": "wss://indexer.v4dev4.dydx.exchange" } ], - "validators":[ + "validators": [ "https://validator.v4dev4.dydx.exchange" ], - "0xsquid":"https://testnet.api.0xsquid.com", - "nobleValidator":"https://noble-testnet-rpc.polkachu.com/", - "faucet":"https://faucet.v4dev4.dydx.exchange" + "0xsquid": "https://testnet.api.0xsquid.com", + "nobleValidator": "https://noble-testnet-rpc.polkachu.com/", + "faucet": "https://faucet.v4dev4.dydx.exchange" }, - "featureFlags":{ - "reduceOnlySupported":true + "featureFlags": { + "reduceOnlySupported": true } }, - "dydxprotocol-dev-5":{ - "name":"v4 Dev 5", - "ethereumChainId":"11155111", - "dydxChainId":"dydxprotocol-testnet", - "chainName":"dYdX Chain", - "chainLogo":"/dydx-chain.png", - "squidIntegratorId":"dYdX-api", - "isMainNet":false, - "endpoints":{ - "indexers":[ + "dydxprotocol-dev-5": { + "name": "v4 Dev 5", + "ethereumChainId": "11155111", + "dydxChainId": "dydxprotocol-testnet", + "chainName": "dYdX Chain", + "chainLogo": "/dydx-chain.png", + "squidIntegratorId": "dYdX-api", + "isMainNet": false, + "endpoints": { + "indexers": [ { - "api":"http://dev5-indexer-apne1-lb-public-1721328151.ap-northeast-1.elb.amazonaws.com", - "socket":"ws://dev5-indexer-apne1-lb-public-1721328151.ap-northeast-1.elb.amazonaws.com" + "api": "http://dev5-indexer-apne1-lb-public-1721328151.ap-northeast-1.elb.amazonaws.com", + "socket": "ws://dev5-indexer-apne1-lb-public-1721328151.ap-northeast-1.elb.amazonaws.com" } ], - "validators":[ + "validators": [ "http://18.223.78.50" ], - "0xsquid":"https://testnet.api.0xsquid.com", - "nobleValidator":"https://noble-testnet-rpc.polkachu.com/" + "0xsquid": "https://testnet.api.0xsquid.com", + "nobleValidator": "https://noble-testnet-rpc.polkachu.com/" }, - "featureFlags":{ - "reduceOnlySupported":true + "featureFlags": { + "reduceOnlySupported": true } }, - "dydxprotocol-staging":{ - "name":"v4 Staging", - "ethereumChainId":"11155111", - "dydxChainId":"dydxprotocol-testnet", - "chainName":"dYdX Chain", - "chainLogo":"/dydx-chain.png", - "squidIntegratorId":"dYdX-api", - "isMainNet":false, - "endpoints":{ - "indexers":[ + "dydxprotocol-staging": { + "name": "v4 Staging", + "ethereumChainId": "11155111", + "dydxChainId": "dydxprotocol-testnet", + "chainName": "dYdX Chain", + "chainLogo": "/dydx-chain.png", + "squidIntegratorId": "dYdX-api", + "isMainNet": false, + "endpoints": { + "indexers": [ { - "api":"https://indexer.v4staging.dydx.exchange", - "socket":"wss://indexer.v4staging.dydx.exchange" + "api": "https://indexer.v4staging.dydx.exchange", + "socket": "wss://indexer.v4staging.dydx.exchange" } ], - "faucet":"https://faucet.v4staging.dydx.exchange", - "validators":[ + "faucet": "https://faucet.v4staging.dydx.exchange", + "validators": [ "https://validator.v4staging.dydx.exchange" ], - "0xsquid":"https://testnet.api.squidrouter.com", - "nobleValidator":"https://noble-testnet-rpc.polkachu.com/" + "0xsquid": "https://testnet.api.squidrouter.com", + "nobleValidator": "https://noble-testnet-rpc.polkachu.com/" }, - "featureFlags":{ - "reduceOnlySupported":true + "featureFlags": { + "reduceOnlySupported": true } }, - "dydxprotocol-staging-forced-update":{ - "name":"v4 Staging Forced Update", - "ethereumChainId":"11155111", - "dydxChainId":"dydxprotocol-testnet", - "chainName":"dYdX Chain", - "chainLogo":"/dydx-chain.png", - "squidIntegratorId":"dYdX-api", - "isMainNet":false, - "endpoints":{ - "indexers":[ + "dydxprotocol-staging-forced-update": { + "name": "v4 Staging Forced Update", + "ethereumChainId": "11155111", + "dydxChainId": "dydxprotocol-testnet", + "chainName": "dYdX Chain", + "chainLogo": "/dydx-chain.png", + "squidIntegratorId": "dYdX-api", + "isMainNet": false, + "endpoints": { + "indexers": [ { - "api":"https://indexer.v4staging.dydx.exchange", - "socket":"wss://indexer.v4staging.dydx.exchange" + "api": "https://indexer.v4staging.dydx.exchange", + "socket": "wss://indexer.v4staging.dydx.exchange" } ], - "faucet":"https://faucet.v4staging.dydx.exchange", - "validators":[ + "faucet": "https://faucet.v4staging.dydx.exchange", + "validators": [ "https://validator.v4staging.dydx.exchange" ], - "0xsquid":"https://testnet.api.squidrouter.com", - "nobleValidator":"https://noble-testnet-rpc.polkachu.com/" + "0xsquid": "https://testnet.api.squidrouter.com", + "nobleValidator": "https://noble-testnet-rpc.polkachu.com/" }, - "apps":{ - "ios":{ - "minimalVersion":"1.0", - "build":40000, - "url":"https://apps.apple.com/app/dydx/id1564787350" + "apps": { + "ios": { + "minimalVersion": "1.0", + "build": 40000, + "url": "https://apps.apple.com/app/dydx/id1564787350" } }, - "featureFlags":{ - "reduceOnlySupported":true + "featureFlags": { + "reduceOnlySupported": true } }, - "dydxprotocol-staging-west":{ - "name":"v4 Staging West", - "ethereumChainId":"11155111", - "dydxChainId":"dydxprotocol-testnet", - "chainName":"dYdX Chain", - "chainLogo":"/dydx-chain.png", - "squidIntegratorId":"dYdX-api", - "isMainNet":false, - "endpoints":{ - "indexers":[ + "dydxprotocol-staging-west": { + "name": "v4 Staging West", + "ethereumChainId": "11155111", + "dydxChainId": "dydxprotocol-testnet", + "chainName": "dYdX Chain", + "chainLogo": "/dydx-chain.png", + "squidIntegratorId": "dYdX-api", + "isMainNet": false, + "endpoints": { + "indexers": [ { - "api":"https://indexer.v4staging.dydx.exchange", - "socket":"wss://indexer.v4staging.dydx.exchange" + "api": "https://indexer.v4staging.dydx.exchange", + "socket": "wss://indexer.v4staging.dydx.exchange" } ], - "faucet":"https://faucet.v4staging.dydx.exchange", - "validators":[ + "faucet": "https://faucet.v4staging.dydx.exchange", + "validators": [ "https://validator-uswest1.v4staging.dydx.exchange" ], - "0xsquid":"https://testnet.api.squidrouter.com", - "nobleValidator":"https://noble-testnet-rpc.polkachu.com/" + "0xsquid": "https://testnet.api.squidrouter.com", + "nobleValidator": "https://noble-testnet-rpc.polkachu.com/" }, - "featureFlags":{ - "reduceOnlySupported":true + "featureFlags": { + "reduceOnlySupported": true } }, - "dydxprotocol-testnet":{ - "name":"v4 Public Testnet", - "ethereumChainId":"11155111", - "dydxChainId":"dydx-testnet-4", - "chainName":"dYdX Chain", - "chainLogo":"/dydx-chain.png", - "squidIntegratorId":"dYdX-api", - "isMainNet":false, - "endpoints":{ - "indexers":[ + "dydxprotocol-testnet": { + "name": "v4 Public Testnet", + "ethereumChainId": "11155111", + "dydxChainId": "dydx-testnet-4", + "chainName": "dYdX Chain", + "chainLogo": "/dydx-chain.png", + "squidIntegratorId": "dYdX-api", + "isMainNet": false, + "endpoints": { + "indexers": [ { - "api":"https://indexer.v4testnet.dydx.exchange", - "socket":"wss://indexer.v4testnet.dydx.exchange" + "api": "https://indexer.v4testnet.dydx.exchange", + "socket": "wss://indexer.v4testnet.dydx.exchange" } ], - "validators":[ + "validators": [ "https://dydx-testnet-full-rpc.public.blastapi.io/", "https://dydx-testnet-rpc.polkachu.com/", "https://dydx-testnet.nodefleet.org", "https://test-dydx.kingnodes.com", "https://dydx-rpc.liquify.com/api=8878132/dydx" ], - "0xsquid":"https://testnet.api.squidrouter.com", - "nobleValidator":"https://noble-testnet-rpc.polkachu.com/", - "faucet":"https://faucet.v4testnet.dydx.exchange" + "0xsquid": "https://testnet.api.squidrouter.com", + "nobleValidator": "https://noble-testnet-rpc.polkachu.com/", + "faucet": "https://faucet.v4testnet.dydx.exchange" }, - "featureFlags":{ - "reduceOnlySupported":false + "featureFlags": { + "reduceOnlySupported": false } }, - "dydxprotocol-testnet-dydx":{ - "name":"v4 Public Testnet/dYdX", - "ethereumChainId":"11155111", - "dydxChainId":"dydx-testnet-4", - "chainName":"dYdX Chain", - "chainLogo":"/dydx-chain.png", - "squidIntegratorId":"dYdX-api", - "isMainNet":false, - "endpoints":{ - "indexers":[ + "dydxprotocol-testnet-dydx": { + "name": "v4 Public Testnet/dYdX", + "ethereumChainId": "11155111", + "dydxChainId": "dydx-testnet-4", + "chainName": "dYdX Chain", + "chainLogo": "/dydx-chain.png", + "squidIntegratorId": "dYdX-api", + "isMainNet": false, + "endpoints": { + "indexers": [ { - "api":"https://indexer.v4testnet.dydx.exchange", - "socket":"wss://indexer.v4testnet.dydx.exchange" + "api": "https://indexer.v4testnet.dydx.exchange", + "socket": "wss://indexer.v4testnet.dydx.exchange" } ], - "validators":[ + "validators": [ "https://validator.v4testnet.dydx.exchange" ], - "0xsquid":"https://testnet.api.squidrouter.com", - "nobleValidator":"https://noble-testnet-rpc.polkachu.com/", - "faucet":"https://faucet.v4testnet.dydx.exchange" + "0xsquid": "https://testnet.api.squidrouter.com", + "nobleValidator": "https://noble-testnet-rpc.polkachu.com/", + "faucet": "https://faucet.v4testnet.dydx.exchange" }, - "featureFlags":{ - "reduceOnlySupported":false + "featureFlags": { + "reduceOnlySupported": false } }, - "dydxprotocol-testnet-nodefleet":{ - "name":"v4 Public Testnet/nodefleet", - "ethereumChainId":"11155111", - "dydxChainId":"dydx-testnet-4", - "chainName":"dYdX Chain", - "chainLogo":"/dydx-chain.png", - "squidIntegratorId":"dYdX-api", - "isMainNet":false, - "endpoints":{ - "indexers":[ + "dydxprotocol-testnet-nodefleet": { + "name": "v4 Public Testnet/nodefleet", + "ethereumChainId": "11155111", + "dydxChainId": "dydx-testnet-4", + "chainName": "dYdX Chain", + "chainLogo": "/dydx-chain.png", + "squidIntegratorId": "dYdX-api", + "isMainNet": false, + "endpoints": { + "indexers": [ { - "api":"https://indexer.v4testnet.dydx.exchange", - "socket":"wss://indexer.v4testnet.dydx.exchange" + "api": "https://indexer.v4testnet.dydx.exchange", + "socket": "wss://indexer.v4testnet.dydx.exchange" } ], - "validators":[ + "validators": [ "https://dydx-testnet.nodefleet.org" ], - "0xsquid":"https://testnet.api.squidrouter.com", - "nobleValidator":"https://noble-testnet-rpc.polkachu.com/", - "faucet":"https://faucet.v4testnet.dydx.exchange" + "0xsquid": "https://testnet.api.squidrouter.com", + "nobleValidator": "https://noble-testnet-rpc.polkachu.com/", + "faucet": "https://faucet.v4testnet.dydx.exchange" }, - "featureFlags":{ - "reduceOnlySupported":false + "featureFlags": { + "reduceOnlySupported": false } }, - "dydxprotocol-testnet-kingnodes":{ - "name":"v4 Public Testnet/KingNodes", - "ethereumChainId":"11155111", - "dydxChainId":"dydx-testnet-4", - "chainName":"dYdX Chain", - "chainLogo":"/dydx-chain.png", - "squidIntegratorId":"dYdX-api", - "isMainNet":false, - "endpoints":{ - "indexers":[ + "dydxprotocol-testnet-kingnodes": { + "name": "v4 Public Testnet/KingNodes", + "ethereumChainId": "11155111", + "dydxChainId": "dydx-testnet-4", + "chainName": "dYdX Chain", + "chainLogo": "/dydx-chain.png", + "squidIntegratorId": "dYdX-api", + "isMainNet": false, + "endpoints": { + "indexers": [ { - "api":"https://indexer.v4testnet.dydx.exchange", - "socket":"wss://indexer.v4testnet.dydx.exchange" + "api": "https://indexer.v4testnet.dydx.exchange", + "socket": "wss://indexer.v4testnet.dydx.exchange" } ], - "validators":[ + "validators": [ "https://test-dydx.kingnodes.com" ], - "0xsquid":"https://testnet.api.squidrouter.com", - "nobleValidator":"https://noble-testnet-rpc.polkachu.com/", - "faucet":"https://faucet.v4testnet.dydx.exchange" + "0xsquid": "https://testnet.api.squidrouter.com", + "nobleValidator": "https://noble-testnet-rpc.polkachu.com/", + "faucet": "https://faucet.v4testnet.dydx.exchange" }, - "featureFlags":{ - "reduceOnlySupported":false + "featureFlags": { + "reduceOnlySupported": false } }, - "dydxprotocol-testnet-liquify":{ - "name":"v4 Public Testnet/Liquify", - "ethereumChainId":"11155111", - "dydxChainId":"dydx-testnet-4", - "chainName":"dYdX Chain", - "chainLogo":"/dydx-chain.png", - "squidIntegratorId":"dYdX-api", - "isMainNet":false, - "endpoints":{ - "indexers":[ + "dydxprotocol-testnet-liquify": { + "name": "v4 Public Testnet/Liquify", + "ethereumChainId": "11155111", + "dydxChainId": "dydx-testnet-4", + "chainName": "dYdX Chain", + "chainLogo": "/dydx-chain.png", + "squidIntegratorId": "dYdX-api", + "isMainNet": false, + "endpoints": { + "indexers": [ { - "api":"https://indexer.v4testnet.dydx.exchange", - "socket":"wss://indexer.v4testnet.dydx.exchange" + "api": "https://indexer.v4testnet.dydx.exchange", + "socket": "wss://indexer.v4testnet.dydx.exchange" } ], - "validators":[ + "validators": [ "https://dydx-rpc.liquify.com/api=8878132/dydx" ], - "0xsquid":"https://testnet.api.squidrouter.com", - "nobleValidator":"https://noble-testnet-rpc.polkachu.com/", - "faucet":"https://faucet.v4testnet.dydx.exchange" + "0xsquid": "https://testnet.api.squidrouter.com", + "nobleValidator": "https://noble-testnet-rpc.polkachu.com/", + "faucet": "https://faucet.v4testnet.dydx.exchange" }, - "featureFlags":{ - "reduceOnlySupported":false + "featureFlags": { + "reduceOnlySupported": false } }, - "dydxprotocol-testnet-polkachu":{ - "name":"v4 Public Testnet/Polkahcu", - "ethereumChainId":"11155111", - "dydxChainId":"dydx-testnet-4", - "chainName":"dYdX Chain", - "chainLogo":"/dydx-chain.png", - "squidIntegratorId":"dYdX-api", - "isMainNet":false, - "endpoints":{ - "indexers":[ + "dydxprotocol-testnet-polkachu": { + "name": "v4 Public Testnet/Polkahcu", + "ethereumChainId": "11155111", + "dydxChainId": "dydx-testnet-4", + "chainName": "dYdX Chain", + "chainLogo": "/dydx-chain.png", + "squidIntegratorId": "dYdX-api", + "isMainNet": false, + "endpoints": { + "indexers": [ { - "api":"https://indexer.v4testnet.dydx.exchange", - "socket":"wss://indexer.v4testnet.dydx.exchange" + "api": "https://indexer.v4testnet.dydx.exchange", + "socket": "wss://indexer.v4testnet.dydx.exchange" } ], - "validators":[ + "validators": [ "https://dydx-testnet-rpc.polkachu.com/" ], - "0xsquid":"https://testnet.api.squidrouter.com", - "nobleValidator":"https://noble-testnet-rpc.polkachu.com/", - "faucet":"https://faucet.v4testnet.dydx.exchange" + "0xsquid": "https://testnet.api.squidrouter.com", + "nobleValidator": "https://noble-testnet-rpc.polkachu.com/", + "faucet": "https://faucet.v4testnet.dydx.exchange" }, - "featureFlags":{ - "reduceOnlySupported":false + "featureFlags": { + "reduceOnlySupported": false } }, - "dydxprotocol-testnet-bware":{ - "name":"v4 Public Testnet/BWare", - "ethereumChainId":"11155111", - "dydxChainId":"dydx-testnet-4", - "chainName":"dYdX Chain", - "chainLogo":"/dydx-chain.png", - "squidIntegratorId":"dYdX-api", - "isMainNet":false, - "endpoints":{ - "indexers":[ + "dydxprotocol-testnet-bware": { + "name": "v4 Public Testnet/BWare", + "ethereumChainId": "11155111", + "dydxChainId": "dydx-testnet-4", + "chainName": "dYdX Chain", + "chainLogo": "/dydx-chain.png", + "squidIntegratorId": "dYdX-api", + "isMainNet": false, + "endpoints": { + "indexers": [ { - "api":"https://indexer.v4testnet.dydx.exchange", - "socket":"wss://indexer.v4testnet.dydx.exchange" + "api": "https://indexer.v4testnet.dydx.exchange", + "socket": "wss://indexer.v4testnet.dydx.exchange" } ], - "validators":[ + "validators": [ "https://dydx-testnet-full-rpc.public.blastapi.io/" ], - "0xsquid":"https://testnet.api.squidrouter.com", - "nobleValidator":"https://noble-testnet-rpc.polkachu.com/", - "faucet":"https://faucet.v4testnet.dydx.exchange" + "0xsquid": "https://testnet.api.squidrouter.com", + "nobleValidator": "https://noble-testnet-rpc.polkachu.com/", + "faucet": "https://faucet.v4testnet.dydx.exchange" }, - "featureFlags":{ - "reduceOnlySupported":false + "featureFlags": { + "reduceOnlySupported": false } }, - "dydxprotocol-mainnet":{ - "name":"v4", - "ethereumChainId":"1", - "dydxChainId":"[mainnet chain id]", - "chainName":"dYdX Chain", - "chainLogo":"/dydx-chain.png", - "squidIntegratorId":"[mainnet squid integrator id]", - "isMainNet":true, - "endpoints":{ - "indexers":[ + "dydxprotocol-mainnet": { + "name": "v4", + "ethereumChainId": "1", + "dydxChainId": "[mainnet chain id]", + "chainName": "dYdX Chain", + "chainLogo": "/dydx-chain.png", + "squidIntegratorId": "[mainnet squid integrator id]", + "isMainNet": true, + "endpoints": { + "indexers": [ { - "api":"[REST endpoint]", - "socket":"[Websocket endpoint]" + "api": "[REST endpoint]", + "socket": "[Websocket endpoint]" } ], - "validators":[ + "validators": [ "[Validator endpoint 1", "[Validator endpoint n]" ], - "0xsquid":"[0xSquid endpoint for mainnet]", - "nobleValidator":"[noble validator endpoint for mainnet]" + "0xsquid": "[0xSquid endpoint for mainnet]", + "nobleValidator": "[noble validator endpoint for mainnet]" }, - "featureFlags":{ - "reduceOnlySupported":false + "featureFlags": { + "reduceOnlySupported": false } } } diff --git a/src/constants/networks.ts b/src/constants/networks.ts index 9d624a4..b659440 100644 --- a/src/constants/networks.ts +++ b/src/constants/networks.ts @@ -1,4 +1,4 @@ -import environments from '../../public/configs/env.json'; +import environments from '../../public/configs/v1/env.json'; const CURRENT_MODE = ({ production: 'MAINNET', diff --git a/src/hooks/useSubaccount.tsx b/src/hooks/useSubaccount.tsx index e5900bc..0716c1d 100644 --- a/src/hooks/useSubaccount.tsx +++ b/src/hooks/useSubaccount.tsx @@ -374,6 +374,7 @@ export const useSubaccountContext = ({ localDydxWallet }: { localDydxWallet?: Lo placeOrderParams = abacusStateManager.closePosition(callback); } else { placeOrderParams = abacusStateManager.placeOrder(callback); + } return placeOrderParams;