2017 © Pedro Peláez
 

library laravel-zcash-rpc

Zcash JSON-RPC Service Provider for Laravel

image

wzzirro/laravel-zcash-rpc

Zcash JSON-RPC Service Provider for Laravel

  • Sunday, July 15, 2018
  • by wzzirro
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Zcash JSON-RPC Service Provider for Laravel

Install

$ composer require wzzirro/laravel-zcash-rpc

Settings

ZCASHD_HOST=127.0.0.1
ZCASHD_PORT=8232
ZCASHD_USER=rpc_user
ZCASHD_PASSWORD=rpc_password

Using

<?php

Route::get('/', function () {
    return response()->json(zcashd()->getinfo()->get());
});

Responce:, (*1)

{
  "version": 1010250,
  "protocolversion": 170006,
  "walletversion": 60000,
  "balance": 12.44500001,
  "blocks": 358561,
  "timeoffset": 0,
  "connections": 8,
  "proxy": "",
  "difficulty": 10496786.60417338,
  "testnet": false,
  "keypoololdest": 1530986182,
  "keypoolsize": 101,
  "paytxfee": 0,
  "relayfee": 0.000001,
  "errors": ""
}

The Versions

15/07 2018

dev-master

9999999-dev

Zcash JSON-RPC Service Provider for Laravel

  Sources   Download

The Requires