SYNOPSIS

This is a child for Crypt::Perl::ECDSA::PrivateKey to overwrite the function _sign that on the parent module returns only $r and $s, this version returns the $y_parity as well, what simplifies signing the transaction.

You don't want to use this directly, use instead Blockchain::Ethereum::Keystore::Key

METHODS

_sign

Overwrites Crypt::Perl::ECDSA::PrivateKey adding the y-parity to the response

Usage:

_sign($rlp_encoded_transaction) -> (Math::BigInt $r, Math::BigInt $s, $v)
  • message - Message to be signed

Crypt::Perl::BigInt r, Crypt::Perl::BigInt s, uint y_parity

AUTHOR

Reginaldo Costa, <refeco at cpan.org>

BUGS

Please report any bugs or feature requests to https://github.com/refeco/perl-ethereum-keystore

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Blockchain::Ethereum::Keystore::Key::PrivateKey

LICENSE AND COPYRIGHT

This software is Copyright (c) 2023 by REFECO.

This is free software, licensed under:

The MIT License