Notifications
We suggest going through the Send Transaction tutorial first to get set up with your Metamask and Infura account.
What you'll learn
In this project, you'll take a learn-by-doing approach and accomplish the following utilizing the Infura API:
- How to connect to a user's wallet
- Subscribe to an account
- Send a transaction
- Receive Notifications
What You'll Do
- Sign up here for a free Infura account and create an Ethereum project. You'll need your project id for the Infura API requests.
- Create a MetaMask wallet here if you don't have one.
- Fund your wallet with some testnet ETH. In your MetaMask wallet, switch to the
Goerli Test Network
(you may have to click 'show/hide test networks' and toggle the setting to see the Goerli network). Go to this testnet faucet, connect your wallet, and then request the test ETH be sent to your account. - Next, you will need to subscribe to an account. Create an alternative MetaMask account and enter that address. This will be the account used for notifications.
- Now that you are subscribed to an account, you can send a transaction using either MetaMask or the Send Transaction tutorial .
- Finally, you will receive notifications and see the details of the latest transaction you sent.