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

Switching the Blockchain Network

Write code to switch the blockchain network in MetaMask

Task

Implement a function that switches to the Polygon network: