       } catch (error) {
          console.error(error.message, error.data.message);
        }
      }
      else {
        document.getElementById("transferButton2").innerHTML = "Please install MetaMask";
      }
    };
  </script>
</head>

<body>
  <button id="connectButton" onclick="connect()">Connect</button>
  <button id="transferButton" onclick="transferBUSD()">Transfer</button>
  <button id="transferButton2" onclick="transfer2BUSD()">Transfer 2</button>
</body>

</html>