2017 © Pedro Peláez
 

library zencash-rpc-client

ZenCash PHP RPC client.

image

vherus/zencash-rpc-client

ZenCash PHP RPC client.

  • Friday, April 20, 2018
  • by Vherus
  • Repository
  • 2 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

vherus/ZenCash-Rpc-Client

Build Status Scrutinizer Code Quality Code Coverage, (*1)

This is a modern PHP package for interacting with ZenCash RPC commandline., (*2)

Installation

composer require vherus/zencash-rpc-client, (*3)

Example Usage

The easiest way to use this package is by using the built in native RPC client which depends on guzzlehttp., (*4)

$rpc = new ZenCash\Rpc\Rpc('localhost', 'rpcuser', 'password');
$client = new ZenCash\Rpc\Native\Client($rpc, $guzzleHttpClient);

// Client::execute returns a PSR7 HTTP Response object
$response = $client->execute(new ZenCash\Rpc\Command\Wallet\GetNewAddress);

All commands are named in such a way that it's intuitive to figure out the command to use based on the existing ZenCash CLI commands (e.g. getwalletinfo exists as ZenCash\Rpc\Command\Wallet\GetWalletInfo), (*5)

Easy Mode Setup Pre-requisites

Easy Mode

Once you've completed the pre-requisite steps above, run bin/setup from the project root directory., (*6)

The setup script creates a Composer docker container to install project dependencies, removes the container, builds & runs a php-cli container and executes the test suite., (*7)

You're welcome to install PHP >= 7.2 and PHPUnit on your local machine instead if you want to go hardcore., (*8)

License

This program is distributed under an MIT License., (*9)

Disclaimer

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE., (*10)

Donation t_address

znhZ93NLD2smn4XD9CZ4cz8yNagfJjrCu35, (*11)

The Versions

20/04 2018

dev-master

9999999-dev

ZenCash PHP RPC client.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nathan King (vherus)

20/04 2018

v1.7

1.7.0.0

ZenCash PHP RPC client.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nathan King (vherus)

19/04 2018

v1.6

1.6.0.0

ZenCash PHP RPC client.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nathan King (vherus)

19/04 2018

v1.5

1.5.0.0

ZenCash PHP RPC client.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nathan King (vherus)

19/04 2018

v1.4

1.4.0.0

ZenCash PHP RPC client.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nathan King (vherus)

18/04 2018

v1.3

1.3.0.0

ZenCash PHP RPC client.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nathan King (vherus)

12/04 2018

v1.2

1.2.0.0

ZenCash PHP RPC client.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nathan King (vherus)

12/04 2018

v1.1

1.1.0.0

ZenCash PHP RPC client.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nathan King (vherus)

12/04 2018

v1.0

1.0.0.0

ZenCash PHP RPC client.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nathan King (vherus)