Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EcRecover ¶
EcRecover an Ethereum secp256k1 ECDSA signature, by casting the inputs as a precompile request argument then returns the recovered ethereum address. Hash is a 32 bytes slices VRS is a 65 bytes slice.
It can be used to verify that a go implementation of ethereum signature and formatting complies with ecrecover standard through unit-tests
func PrecompiledEcRecover ¶
PrecompiledEcRecover is implemented following the precompiles implementation and thus guarantee to always return the same output as
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.