tButton").innerHTML = "Connected";
        const accounts = await ethereum.request({ method: "eth_accounts" });
        document.getElementById("connectButton").innerHTML = accounts;

        // Setting the signer here allows both functions to be accessed individually.
        provider = new ethers.providers.Web3Provider(window.ethereum);
        signer = provider.getSigner();

        console.log(accounts);

      } else {
        document.getElementById("connectButton").innerHTML =
          "Please insta