The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Blockchain::Ethereum::Keystore::Keyfile

VERSION

version 0.009

SYNOPSIS

...

OVERVIEW

This is an Ethereum keyfile abstraction that provides a way of change/read the keyfile information.

Currently only supports version 3 keyfiles.

METHODS

import_file

Import a v3 keyfile

  • file_path - string path for the keyfile

self

change_password

Change the imported keyfile password

  • old_password - Current password for the keyfile

  • new_password - New password to be set

self

import_key

Import a Blockchain::Ethereum::keystore::Key

self

write_to_file

Write the imported keyfile/private_key to a keyfile in the file system

  • file_path - file path to save the data

returns 1 upon successfully writing the file or undef if it encountered an error

AUTHOR

Reginaldo Costa <refeco@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2023 by REFECO.

This is free software, licensed under:

  The MIT (X11) License