From 6dd420689426de8f978aa7d3816bf332520e4937 Mon Sep 17 00:00:00 2001 From: queenwuli <942534046@qq.com> Date: Thu, 24 Mar 2022 17:53:16 +0800 Subject: [PATCH] gx --- src/pages/index/index.vue | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index c44c097..463fcf7 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -115,9 +115,11 @@ async function showWalletModal() { proxy.isShowAccreditModal = false; const provider = new WalletConnectProvider({ - infuraId: '27e484dcd9e3efcfd25a83a78777cdf1', - bridge: "https://bridge.walletconnect.org", - }) + infuraId: '27e484dcd9e3efcfd25a83a78777cdf1', + rpc: { + 1: "https://mainnet.infura.io/v3/f54a5887a3894ebb9425920701a97fe0", + }, + }); await provider.enable(); // provider.on("accountsChanged", (accounts) => { // alert(accounts[0]+'换啦') -- Gitblit v1.9.1