Skip to content

Commit

Permalink
TRCL-2676 Update const for testnet3
Browse files Browse the repository at this point in the history
  • Loading branch information
johnqh committed Sep 13, 2023
1 parent 7fd58d8 commit 141ebf7
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 19 deletions.
12 changes: 6 additions & 6 deletions v4-client-js/__native__/__ios__/v4-native-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -194739,35 +194739,35 @@ var IndexerApiHost;
(function (IndexerApiHost) {
IndexerApiHost["DEV"] = "https://indexer.v4dev.dydx.exchange";
IndexerApiHost["STAGING"] = "https://indexer.v4staging.dydx.exchange";
IndexerApiHost["TESTNET"] = "https://indexer.v4testnet2.dydx.exchange";
IndexerApiHost["TESTNET"] = "https://indexer.v4testnet.dydx.exchange";
// TODO: Add MAINNET
})(IndexerApiHost = exports.IndexerApiHost || (exports.IndexerApiHost = {}));
var IndexerWSHost;
(function (IndexerWSHost) {
IndexerWSHost["DEV"] = "wss://indexer.v4dev.dydx.exchange/v4/ws";
IndexerWSHost["STAGING"] = "wss://indexer.v4staging.dydx.exchange/v4/ws";
IndexerWSHost["TESTNET"] = "wss://indexer.v4testnet2.dydx.exchange/v4/ws";
IndexerWSHost["TESTNET"] = "wss://indexer.v4testnet.dydx.exchange/v4/ws";
// TODO: Add MAINNET
})(IndexerWSHost = exports.IndexerWSHost || (exports.IndexerWSHost = {}));
var FaucetApiHost;
(function (FaucetApiHost) {
FaucetApiHost["DEV"] = "https://faucet.v4dev.expotrading.com";
FaucetApiHost["STAGING"] = "https://faucet.v4staging.dydx.exchange";
FaucetApiHost["TESTNET"] = "https://faucet.v4testnet2.dydx.exchange";
FaucetApiHost["TESTNET"] = "https://faucet.v4testnet.dydx.exchange";
})(FaucetApiHost = exports.FaucetApiHost || (exports.FaucetApiHost = {}));
var ValidatorApiHost;
(function (ValidatorApiHost) {
ValidatorApiHost["DEV"] = "https://validator.v4dev.dydx.exchange";
ValidatorApiHost["STAGING"] = "https://validator.v4staging.dydx.exchange";
ValidatorApiHost["TESTNET"] = "https://validator.v4testnet2.dydx.exchange";
ValidatorApiHost["TESTNET"] = "https://validator.v4testnet.dydx.exchange";
// TODO: Add MAINNET
})(ValidatorApiHost = exports.ValidatorApiHost || (exports.ValidatorApiHost = {}));
// ------------ Network IDs ------------
var NetworkId;
(function (NetworkId) {
NetworkId["DEV"] = "dydxprotocol-testnet";
NetworkId["STAGING"] = "dydxprotocol-testnet";
NetworkId["TESTNET"] = "dydx-testnet-2";
NetworkId["TESTNET"] = "dydx-testnet-3";
// TODO: Add MAINNET
})(NetworkId = exports.NetworkId || (exports.NetworkId = {}));
exports.NETWORK_ID_MAINNET = null;
Expand Down Expand Up @@ -194896,7 +194896,7 @@ class Network {
}
}
exports.Network = Network;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uc3RhbnRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2NsaWVudHMvY29uc3RhbnRzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQ0EsZ0RBQXdCO0FBSXhCLG1EQUFpQztBQUVqQyxXQUFXO0FBQ0UsUUFBQSxZQUFZLEdBQUcsc0JBQXNCLENBQUM7QUFDdEMsUUFBQSxnQkFBZ0IsR0FBRyxzQkFBc0IsQ0FBQztBQUMxQyxRQUFBLGdCQUFnQixHQUFHLGdCQUFnQixDQUFDO0FBRWpELHFDQUFxQztBQUNyQyxJQUFZLGNBS1g7QUFMRCxXQUFZLGNBQWM7SUFDeEIsNkRBQTJDLENBQUE7SUFDM0MscUVBQW1ELENBQUE7SUFDbkQsc0VBQW9ELENBQUE7SUFDcEQsb0JBQW9CO0FBQ3RCLENBQUMsRUFMVyxjQUFjLEdBQWQsc0JBQWMsS0FBZCxzQkFBYyxRQUt6QjtBQUVELElBQVksYUFLWDtBQUxELFdBQVksYUFBYTtJQUN2QixnRUF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yxPQUFPLEVBQUUsd0JBQWdCLENBQUMsQ0FBQztRQUN4RixPQUFPLElBQUksT0FBTyxDQUFDLFNBQVMsRUFBRSxhQUFhLEVBQUUsZUFBZSxDQUFDLENBQUM7SUFDaEUsQ0FBQztJQUVELCtCQUErQjtJQUUvQixTQUFTO1FBQ1AsT0FBTyxJQUFJLENBQUMsR0FBRyxDQUFDO0lBQ2xCLENBQUM7Q0FDRjtBQXZDRCwwQkF1Q0MifQ==

/***/ }),

Expand Down
1 change: 0 additions & 1 deletion v4-client-js/__native__/__ios__/v4-native-client.js.map

This file was deleted.

2 changes: 1 addition & 1 deletion v4-client-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dydxprotocol/v4-client-js",
"version": "0.34.0",
"version": "0.35.0",
"description": "General client library for the new dYdX system (v4 decentralized)",
"main": "build/src/index.js",
"scripts": {
Expand Down
10 changes: 5 additions & 5 deletions v4-client-js/src/clients/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,27 @@ export const TESTNET_CHAIN_ID = 'dydx-testnet-2';
export enum IndexerApiHost {
DEV = 'https://indexer.v4dev.dydx.exchange',
STAGING = 'https://indexer.v4staging.dydx.exchange',
TESTNET = 'https://indexer.v4testnet2.dydx.exchange',
TESTNET = 'https://indexer.v4testnet.dydx.exchange',
// TODO: Add MAINNET
}

export enum IndexerWSHost {
DEV = 'wss://indexer.v4dev.dydx.exchange/v4/ws',
STAGING = 'wss://indexer.v4staging.dydx.exchange/v4/ws',
TESTNET = 'wss://indexer.v4testnet2.dydx.exchange/v4/ws',
TESTNET = 'wss://indexer.v4testnet.dydx.exchange/v4/ws',
// TODO: Add MAINNET
}

export enum FaucetApiHost {
DEV = 'https://faucet.v4dev.expotrading.com',
STAGING = 'https://faucet.v4staging.dydx.exchange',
TESTNET = 'https://faucet.v4testnet2.dydx.exchange',
TESTNET = 'https://faucet.v4testnet.dydx.exchange',
}

export enum ValidatorApiHost {
DEV = 'https://validator.v4dev.dydx.exchange',
STAGING = 'https://validator.v4staging.dydx.exchange',
TESTNET = 'https://validator.v4testnet2.dydx.exchange',
TESTNET = 'https://validator.v4testnet.dydx.exchange',
// TODO: Add MAINNET
}

Expand All @@ -43,7 +43,7 @@ export enum ValidatorApiHost {
export enum NetworkId {
DEV = 'dydxprotocol-testnet',
STAGING = 'dydxprotocol-testnet',
TESTNET = 'dydx-testnet-2',
TESTNET = 'dydx-testnet-3',
// TODO: Add MAINNET
}
export const NETWORK_ID_MAINNET: string | null = null;
Expand Down
2 changes: 1 addition & 1 deletion v4-client-py/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package-dir = {"" = "v4_client_py"}

[tool.poetry]
name = "v4-client-py"
version = "0.4.1"
version = "0.5.0"
description = "dYdX v4 Client"
authors = ["John Huang <contact@dydx.exchange>"]
license = "BSL-1.1"
Expand Down
10 changes: 5 additions & 5 deletions v4-client-py/v4_client_py/clients/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@

# ------------ API URLs ------------
INDEXER_API_HOST_MAINNET = None
INDEXER_API_HOST_TESTNET = 'https://indexer.v4testnet2.dydx.exchange'
INDEXER_API_HOST_TESTNET = 'https://indexer.v4testnet.dydx.exchange'
INDEXER_API_HOST_STAGING = 'https://indexer.v4staging.dydx.exchange'
INDEXER_API_HOST_DEV = 'https://indexer.v4dev.dydx.exchange'
INDEXER_WS_HOST_MAINNET = None
INDEXER_WS_HOST_TESTNET = 'wss://indexer.v4testnet2.dydx.exchange/v4/ws'
INDEXER_WS_HOST_TESTNET = 'wss://indexer.v4testnet.dydx.exchange/v4/ws'
INDEXER_WS_HOST_STAGING = 'wss://indexer.v4staging.dydx.exchange/v4/ws'
INDEXER_WS_HOST_DEV = 'wss://indexer.v4dev.dydx.exchange/v4/ws'

FAUCET_API_HOST_TESTNET = 'https://faucet.v4testnet2.dydx.exchange'
FAUCET_API_HOST_TESTNET = 'https://faucet.v4testnet.dydx.exchange'
FAUCET_API_HOST_STAGING = 'https://faucet.v4staging.dydx.exchange'
FAUCET_API_HOST_DEV = 'https://faucet.v4dev.expotrading.com'

VALIDATOR_API_HOST_MAINNET = None
VALIDATOR_API_HOST_TESTNET = 'https://validator.v4testnet2.dydx.exchange'
VALIDATOR_API_HOST_TESTNET = 'https://validator.v4testnet.dydx.exchange'
VALIDATOR_API_HOST_STAGING = 'https://validator.v4staging.dydx.exchange'
VALIDATOR_API_HOST_DEV = 'https://validator.v4dev.dydx.exchange'

Expand All @@ -28,7 +28,7 @@

# ------------ Ethereum Network IDs ------------
NETWORK_ID_MAINNET = None
NETWORK_ID_TESTNET = 'dydx-testnet-2'
NETWORK_ID_TESTNET = 'dydx-testnet-3'
NETWORK_ID_STAGING = 'dydxprotocol-testnet'
NETWORK_ID_DEV = 'dydxprotocol-testnet'

Expand Down

0 comments on commit 141ebf7

Please sign in to comment.