Prerequisites for the Workshop #
To perform this workshop, you’ll need the following:
Create a Mailchain account.
NOTE ON SECURITY: It’s a good idea to test your code using a non-production account. It’s also important to ensure your account details are never saved in a public place or committed to your git repository. For example, append
-mc-wrkshp
to your favorite usernameInstall and configure Metamask (although Mailchain supports Wallet Connect, Coinbase wallet and a number of other browser-based wallets).
A code editor or IDE. Microsoft Visual Studio Code is recommended and is free.
Download and install NodeJS.
Each part of the workshop also has specific requirements: #
Part 1 - Getting started with the Mailchain SDK #
No further pre-requisites
Part 2 - Sending from an ENS name using the Mailchain SDK #
- An ENS name that resolves and reverse resolves to the
01-workshop
wallet address that is registered with your Mailchain account used in this workshop. We recommend configuring a subdomain to work in test and dev.
Part 3 - Send event-driven notifications to your users, based on on-chain events #
- Sign in or create Alchemy account
- Ngrok account with Ngrok installed on your machine. Ngrok will be used to expose the localhost to the internet in order to be accessible for the webhook, but feel free to use your own solution (e.g. Gitpod.io) to expose the localhost for testing purposes.
Part 4 - Passwordless, signatureless wallet authentication with magic links #
No further pre-requisites
See Also #
- Mailchain Docs for further resources.
- Mailchain’s ETHDenver Hack Pack - 2023 is full of ideas, tools and guides to help buidlers at the buidlathon.