NAME
Blockchain::Ethereum::Keystore::Key - Private key abstraction
SYNOPSIS
Private key abstraction
If instantiated without a private key, this module uses Crypt::PRNG for the random key generation
my $key = Blockchain::Ethereum::Key->new;
$key->sign_transaction($transaction);
...
sign_transaction
Sign a Blockchain::Ethereum::Transaction object
Usage:
sign_transaction($transaction) -> $$transaction
$transaction
- Blockchain::Ethereum::Transaction subclass
self
address
Export the Blockchain::Ethereum::Keystore::Address from the imported/generated private key
Usage:
address() -> L<Blockchain::Ethereum::Keystore::Address>
Blockchain::Ethereum::Keystore::Address
export
Export the private key bytes
Usage:
export() -> private key bytes
Private key bytes
AUTHOR
Reginaldo Costa, <refeco at cpan.org>
BUGS
Please report any bugs or feature requests to https://github.com/refeco/perl-ethereum-keystore
LICENSE AND COPYRIGHT
This software is Copyright (c) 2023 by REFECO.
This is free software, licensed under:
The MIT License