From 061aa6b7bde7ee0832611d7d7eb5a0e6db54bd15 Mon Sep 17 00:00:00 2001 From: Tommy Verrall Date: Fri, 8 Dec 2023 15:10:26 +0100 Subject: [PATCH 1/2] update sandbox references --- .../dev-portal/src/tutorials/cosmos-service/lib.md | 2 +- documentation/docs/src/bandwidth-credentials.md | 6 +++--- documentation/operators/src/nodes/validator-setup.md | 8 ++++---- envs/sandbox.env | 2 +- explorer-api/.env.dev | 2 +- explorer/.env.dev | 2 +- nym-wallet/nym-wallet-types/src/network/sandbox.rs | 2 +- sdk/typescript/docs/components/client/index.ts | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/documentation/dev-portal/src/tutorials/cosmos-service/lib.md b/documentation/dev-portal/src/tutorials/cosmos-service/lib.md index 9982403657..0e8e2ad050 100644 --- a/documentation/dev-portal/src/tutorials/cosmos-service/lib.md +++ b/documentation/dev-portal/src/tutorials/cosmos-service/lib.md @@ -26,7 +26,7 @@ Since this is the file where client creation and message parsing are handled, th Below this are the chain-related `const` variables. These have been hardcoded for this demo. ```rust -pub const DEFAULT_VALIDATOR_RPC: &str = "https://sandbox-validator1.nymtech.net"; +pub const DEFAULT_VALIDATOR_RPC: &str = "https://rpc.sandbox.nymtech.net"; pub const DEFAULT_DENOM: &str = "unym"; pub const DEFAULT_PREFIX: &str = "n"; ``` diff --git a/documentation/docs/src/bandwidth-credentials.md b/documentation/docs/src/bandwidth-credentials.md index f267cb045d..f7ee0ff087 100644 --- a/documentation/docs/src/bandwidth-credentials.md +++ b/documentation/docs/src/bandwidth-credentials.md @@ -28,7 +28,7 @@ COCONUT_DKG_CONTRACT_ADDRESS="nymt1gwk6muhmzeuxje7df7rjvqwl2vex0kj4t2hwuzmyx5k62 GROUP_CONTRACT_ADDRESS="nymt14ry36mwauycz08v8ndcujghxz4hmua5epxcn0mamlr3suqe0l2qsqx5ya2" STATISTICS_SERVICE_DOMAIN_ADDRESS="http://0.0.0.0" -NYXD="https://sandbox-validator1.nymtech.net" +NYXD="https://rpc.sandbox.nymtech.net" NYM_API="https://sandbox-validator1-api.nymtech.net/api" ``` @@ -44,7 +44,7 @@ Next, you init the nym-client with the enabled credentials mode set to true: Using the new credentials binary, purchase some credentials for the client. The recovery directory is a directory where the credentials will be temporarily stored in case the request fails. -```./credential --config-env-file sandbox.env run --client-home-directory --nyxd-url https://sandbox-validator1.nymtech.net --mnemonic "" --amount 50 --recovery-dir ``` +```./credential --config-env-file sandbox.env run --client-home-directory --nyxd-url https://rpc.sandbox.nymtech.net --mnemonic "" --amount 50 --recovery-dir ``` You can redeem this now by running the nym-client, in enabled credentials mode: @@ -62,7 +62,7 @@ Now time to init the socks5 client: Purchase credentials for this now too: -`./credential --config-env-file sandbox.env run --client-home-directory --nyxd-url https://sandbox-validator1.nymtech.net --mnemonic "" --amount 100 --recovery-dir ` +`./credential --config-env-file sandbox.env run --client-home-directory --nyxd-url https://rpc.sandbox.nymtech.net --mnemonic "" --amount 100 --recovery-dir ` Run the socks5 client: diff --git a/documentation/operators/src/nodes/validator-setup.md b/documentation/operators/src/nodes/validator-setup.md index 53f979019f..406f5fbea7 100644 --- a/documentation/operators/src/nodes/validator-setup.md +++ b/documentation/operators/src/nodes/validator-setup.md @@ -216,7 +216,7 @@ You can use the following command to download them for the correct network: wget -O $HOME/.nyxd/config/genesis.json https://nymtech.net/genesis/genesis.json # Sandbox testnet -wget -O $HOME/.nyxd/config/genesis.json https://sandbox-validator1.nymtech.net/snapshots/genesis.json | jq '.result.genesis' +wget -O $HOME/.nyxd/config/genesis.json https://rpc.sandbox.nymtech.net/snapshots/genesis.json | jq '.result.genesis' ``` ### `config.toml` configuration @@ -232,7 +232,7 @@ laddr = "tcp://0.0.0.0:26656" ``` # Sandbox testnet cors_allowed_origins = ["*"] -persistent_peers = "26f7782aff699457c8e6dd9a845e5054c9b0707e@sandbox-validator1.nymtech.net:26666" +persistent_peers = "26f7782aff699457c8e6dd9a845e5054c9b0707e@rpc.sandbox.nymtech.net:26666" laddr = "tcp://0.0.0.0:26656" ``` @@ -346,7 +346,7 @@ sudo apt install snapd -y sudo snap install lz4 # download the snapshot -wget -O nyxd-sandbox-snapshot-data.tar.lz4 https://sandbox-validator1.nymtech.net/snapshots/nyxd-sandbox-snapshot-data.tar.lz4 +wget -O nyxd-sandbox-snapshot-data.tar.lz4 https://rpc.sandbox.nymtech.net/snapshots/nyxd-sandbox-snapshot-data.tar.lz4 # reset your validator state nyxd tendermint unsafe-reset-all @@ -398,7 +398,7 @@ nyxd tx staking create-validator --gas-adjustment=1.15 --gas-prices=0.025unyx --from=<"KEYRING_NAME"> - --node https://sandbox-validator1.nymtech.net:443 + --node https://rpc.sandbox.nymtech.net:443 ``` You'll need Nyx tokens on mainnet / sandbox to perform the above tasks. diff --git a/envs/sandbox.env b/envs/sandbox.env index 2ce9298766..856550cca0 100644 --- a/envs/sandbox.env +++ b/envs/sandbox.env @@ -23,5 +23,5 @@ SERVICE_PROVIDER_DIRECTORY_CONTRACT_ADDRESS=n1ps5yutd7sufwg058qd7ac7ldnlazsvmhzq STATISTICS_SERVICE_DOMAIN_ADDRESS="http://0.0.0.0" EXPLORER_API=https://sandbox-explorer.nymtech.net/api -NYXD="https://sandbox-validator1.nymtech.net" +NYXD="https://rpc.sandbox.nymtech.net" NYM_API="https://sandbox-nym-api1.nymtech.net/api" diff --git a/explorer-api/.env.dev b/explorer-api/.env.dev index 0020aba233..7cb2d5a1db 100644 --- a/explorer-api/.env.dev +++ b/explorer-api/.env.dev @@ -22,7 +22,7 @@ NAME_SERVICE_CONTRACT_ADDRESS=n12ne7qtmdwd0j03t9t5es8md66wq4e5xg9neladrsag8fx3y8 SERVICE_PROVIDER_DIRECTORY_CONTRACT_ADDRESS=n1ps5yutd7sufwg058qd7ac7ldnlazsvmhzqwucsfxmm445d70u8asqxpur4 STATISTICS_SERVICE_DOMAIN_ADDRESS="http://0.0.0.0" -NYXD="https://sandbox-validator1.nymtech.net" +NYXD="https://rpc.sandbox.nymtech.net" NYM_API="https://sandbox-nym-api1.nymtech.net/api" GEOIP_DB_PATH=geo_ip/GeoLite2-City.mmdb diff --git a/explorer/.env.dev b/explorer/.env.dev index fe4119f671..3cc86ae00c 100644 --- a/explorer/.env.dev +++ b/explorer/.env.dev @@ -3,7 +3,7 @@ EXPLORER_API_URL=https://sandbox-explorer.nymtech.net/api/v1 NYM_API_URL=https://sandbox-nym-api1.nymtech.net -VALIDATOR_URL=https://sandbox-validator1.nymtech.net +VALIDATOR_URL=https://rpc.sandbox.nymtech.net BIG_DIPPER_URL=https://sandbox-blocks.nymtech.net CURRENCY_DENOM=unym CURRENCY_STAKING_DENOM=unyx diff --git a/nym-wallet/nym-wallet-types/src/network/sandbox.rs b/nym-wallet/nym-wallet-types/src/network/sandbox.rs index ace2ff7663..1186c07eac 100644 --- a/nym-wallet/nym-wallet-types/src/network/sandbox.rs +++ b/nym-wallet/nym-wallet-types/src/network/sandbox.rs @@ -30,7 +30,7 @@ pub(crate) const EPHEMERA_CONTRACT_ADDRESS: &str = pub(crate) fn validators() -> Vec { vec![ValidatorDetails::new( - "https://sandbox-validator1.nymtech.net", + "https://rpc.sandbox.nymtech.net", Some("https://sandbox-nym-api1.nymtech.net/api"), )] } diff --git a/sdk/typescript/docs/components/client/index.ts b/sdk/typescript/docs/components/client/index.ts index afaf1253e8..ba7a70ef76 100644 --- a/sdk/typescript/docs/components/client/index.ts +++ b/sdk/typescript/docs/components/client/index.ts @@ -6,7 +6,7 @@ export const mainnetSettings = { }; export const qaSettings = { - url: 'wss://sandbox-validator1.nymtech.net/', + url: 'wss://rpc.sandbox.nymtech.net', mixnetContractAddress: 'n1xr3rq8yvd7qplsw5yx90ftsr2zdhg4e9z60h5duusgxpv72hud3sjkxkav', mnemonic: process.env.QA_MNEMONIC, address: 'n13uryxldwdllpakevsmt6n0uyfn3kgr2wvj5dnf', From 9ea2eafb2cc3062806dcf94cec3f7492ff6f6bb2 Mon Sep 17 00:00:00 2001 From: Tommy Verrall <60836166+tommyv1987@users.noreply.github.com> Date: Fri, 8 Dec 2023 15:25:26 +0100 Subject: [PATCH 2/2] Update documentation/operators/src/nodes/validator-setup.md Co-authored-by: Sachin Kamath --- documentation/operators/src/nodes/validator-setup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/operators/src/nodes/validator-setup.md b/documentation/operators/src/nodes/validator-setup.md index 406f5fbea7..5f1ddf161c 100644 --- a/documentation/operators/src/nodes/validator-setup.md +++ b/documentation/operators/src/nodes/validator-setup.md @@ -232,7 +232,7 @@ laddr = "tcp://0.0.0.0:26656" ``` # Sandbox testnet cors_allowed_origins = ["*"] -persistent_peers = "26f7782aff699457c8e6dd9a845e5054c9b0707e@rpc.sandbox.nymtech.net:26666" +persistent_peers = "26f7782aff699457c8e6dd9a845e5054c9b0707e@:3.72.19.120:26656" laddr = "tcp://0.0.0.0:26656" ```