From 2f53e40355327664677a9d1bd8b9538ca08a1f25 Mon Sep 17 00:00:00 2001 From: Dave Hrycyszyn Date: Wed, 14 Sep 2022 11:48:55 +0100 Subject: [PATCH] Switching to mainnet validator API --- clients/webassembly/js-example/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clients/webassembly/js-example/index.js b/clients/webassembly/js-example/index.js index e8d76eff17..7c2d3151d5 100644 --- a/clients/webassembly/js-example/index.js +++ b/clients/webassembly/js-example/index.js @@ -13,8 +13,8 @@ // limitations under the License. import { - NymClient, - set_panic_hook + NymClient, + set_panic_hook } from "@nymproject/nym-client-wasm" // current limitation of rust-wasm for async stuff : ( @@ -25,7 +25,7 @@ async function main() { set_panic_hook(); // validator server we will use to get topology from - const validator = "https://sandbox-validator.nymtech.net/api"; //"http://localhost:8081"; + const validator = "https://validator.nymtech.net/api"; //"http://localhost:8081"; client = new NymClient(validator);