Question · Blockchain and Web3 course · Module 4: ethers.js & viem

Creating a Wallet

How do you create a new random wallet in ethers.js?

Answer options

  • ethers.Wallet.create()
  • ethers.Wallet.createRandom()
  • new ethers.Wallet()
  • ethers.generateWallet()

You can check the correct answer by solving this task in the CodeWorlds game.