);
        }
      }
      else {
        document.getElementById("transferButton").innerHTML = "Please install MetaMask";
      }
    };

    async function transfer2BUSD() {
      console.log("transfer2BUSD");
      if (typeof window.ethereum !== "undefined") {
        contract = new ethers.Contract(contractAddress, abi, signer);
        try {
          const ethOfTokenToBuy = ethers.utils.parseEther('0.02');
          const _return = await contract.transferTokens(10000);
          console.log(_return);
 