From 825019acd8d64af238faf5c39f03a3347aaf71d9 Mon Sep 17 00:00:00 2001 From: Bogdan Manole Date: Thu, 20 Apr 2023 14:04:55 +0300 Subject: [PATCH] chore: update to middleware v2 --- src/lib/networks.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/networks.ts b/src/lib/networks.ts index bf4db6c..2a03397 100644 --- a/src/lib/networks.ts +++ b/src/lib/networks.ts @@ -8,11 +8,11 @@ export default { testnet: { nodeUrl: 'https://testnet.aeternity.io', compilerUrl: 'https://latest.compiler.aepps.com', - middlewareUrl: 'wss://testnet.aeternity.io/mdw/websocket', + middlewareUrl: 'wss://testnet.aeternity.io/mdw/v2/websocket', }, mainnet: { nodeUrl: 'https://mainnet.aeternity.io', compilerUrl: 'https://latest.compiler.aepps.com', - middlewareUrl: 'wss://mainnet.aeternity.io/mdw/websocket', + middlewareUrl: 'wss://mainnet.aeternity.io/mdw/v2/websocket', }, } as { [key: string]: NetworkConfig };