2017 © Pedro Peláez
 

library nanopool

Nanopool.org api wrapper for Laravel 5.5

image

krorten/nanopool

Nanopool.org api wrapper for Laravel 5.5

  • Wednesday, October 18, 2017
  • by krorten
  • Repository
  • 1 Watchers
  • 0 Stars
  • 18 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Nanopool

Laravel wrapper for Nanopool API, (*1)

Nanopool is a nanopool api wrapper for Laravel 5.5, (*2)

Install

composer require krorten/nanopool

Post Install

After installing, register the Krorten\Nanopool\Providers\CryptocompProvider in your config/app.php configuration file:, (*3)

'providers' => [
    // Other service providers...

    Krorten\Nanopool\Providers\NanopoolProvider::class,
],

Also, add the Nanopool facade to the aliases array in your app configuration file:, (*4)

'Nanopool' => Krorten\Nanopool\Facades\NanopoolFacade::class,    

See the API documentation for more information about the endpoints and responses. (replace coin with i.e: zec, eth, sia or etc), (*5)

Examples

You need to set the type of coin before you can retreive any info., (*6)

//Get user(wallet addr) general summary
Nanopool::setType('zec')->user($wallet_address);
//Get list of workers with connected to user(wallet addr)
Nanopool::setType('eth')->workers($wallet_address);

//Other actions to use
->hashrate
->balancehs
->payments
->calculator

License

Nanopool API Wrapper is open-sourced software licensed under the MIT license, (*7)

The Versions

18/10 2017

dev-master

9999999-dev https://github.com/krorten/nanopool

Nanopool.org api wrapper for Laravel 5.5

  Sources   Download

MIT

The Requires

 

by Kai Rune Orten

laravel bitcoin altcoin nanopool