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

Converting ETH Values

Write code that converts ETH to Wei (the smallest unit)

Task

Implement a conversion from ETH to Wei using ethers.js: