# How to build your web3 site

By [hairtailling](https://paragraph.com/@hairtailling) · 2021-11-04

---

    // JavaScript
    if(window.ethereum) {
      await ethereum.enable();
      const provider = new ethers.Providers.WebsProvider(window.wthereum);
      const signer = provider.getSigner();
      const hash = await signer.signMessage('Hello, World!');
    } else {
      conso.log("Install metamask please");
    }

---

*Originally published on [hairtailling](https://paragraph.com/@hairtailling/how-to-build-your-web3-site)*
