Documentation

AbstractWallet
in package

AbstractYes

AbstractWallet serves as the base class for wallet implementations.

It provides basic type for wallet usage. Any new form of wallet needs to extend this class.

Tags
author

DubbaThony

Table of Contents

Properties

$key  : Key

Methods

getAddress()  : Address
Returns the wallet's associated Ethereum address.
getKeyRaw()  : string
Returns the raw private key in binary or hexadecimal format.
key()  : Key
Returns the underlying private key object stored in the wallet.

Properties

Methods

getKeyRaw()

Returns the raw private key in binary or hexadecimal format.

public getKeyRaw([bool $bin = false ]) : string
Parameters
$bin : bool = false

If true, returns in binary. Otherwise, returns in hexadecimal.

Return values
string

The raw key.

key()

Returns the underlying private key object stored in the wallet.

public key() : Key
Return values
Key

The Key object.


        
On this page

Search results