New answers tagged

1

The ecrecover address is: 0x01 Without assembly you can call the ecrecover function like that: function recoverEC_Method1 (bytes32 _hash, bytes32 _r, bytes32 _s, uint8 _v) public pure returns (address) { bytes memory prefix = "\x19Ethereum Signed Message:\n32"; bytes32 prefixedHash = keccak256(abi.encodePacked(prefix, _hash)); return ecrecover(...


Top 50 recent answers are included