hevm-0.51.1: Ethereum virtual machine evaluator
Safe HaskellSafe-Inferred
LanguageGHC2021

EVM.Sign

Description

 
Synopsis

Documentation

ethsign :: PrivateKey -> Digest Keccak_256 -> Signature Source #

We don't want to introduce the machinery needed to sign with a random nonce, so we just use the same nonce every time (420). This is obviously very insecure, but fine for testing purposes.