Overview

Namespaces

  • Liberty
  • None

Classes

  • BigInteger
  • Block
  • Blockchain
  • Collection
  • CollectionFileList
  • File
  • Folder
  • INI
  • LECDSA
  • Onecrypt
  • SSV
  • Text
  • Transaction
  • Wallet
  • WebPeer
  • Overview
  • Namespace
  • Class

Class Wallet

Liberty Wallet Class

Namespace: Liberty
Package: Liberty
Category: Cryptocurrency
License: MIT License
Author: Liberty Group cryptolibertygroup@gmail.com
Version: 1.0.0
Since: 2018-01-27
Located at Liberty/Wallet.php
Methods summary
public string|boolean
# __construct( string $fullPath, $password )

Create a new Wallet object.

Create a new Wallet object.

Parameters

$fullPath
The full path to the wallet file.
$password

Returns

string|boolean
An error string or true.
public array
# addressNew( )

Create a new random liberty EC address.

Create a new random liberty EC address.

Returns

array
An array with raw, privk and pubk values.
public
# addressTx( )
public
# addressList( )
public
# address( $privk )
public
# addressImport( $privk )
public
# addressExport( $pubk )
public
# isPasswordValid( )
public
# settingLoad( )
public
# settingSave( )
public static
# getPasswordHash( $password )
public static
# hash512( $password )
public static
# addressFee( $wallet )
Properties summary
protected string $wallet

File where wallet is archived.

File where wallet is archived.

#
public string $password

Wallet password.

Wallet password.

#
public array $addresses

A list of Private Keys

A list of Private Keys

#
API documentation generated by ApiGen