gx
queenwuli
2022-03-24 6dd420689426de8f978aa7d3816bf332520e4937
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]+'换啦')