Skip to main content

New answers tagged

1 vote

ethers hashMessage and solidity keccak256

As in Solidity, keccak256 hashing is used. So, you need to use the same while hashing the message in your app (off-chain). So, in your app, replace this line: const hash = ethers.hashMessage(msg+'-'+...
SYED ASAD KAZMI's user avatar

Top 50 recent answers are included