Coding task · Blockchain and Web3 course · Module 5: Wallets & Transactions

Monitoring Wallet Events

Write code that listens for an account change in MetaMask

Task

Implement a listener that reacts to a change of the active account: