krorten / nanopool
Nanopool.org api wrapper for Laravel 5.5
Installs: 25
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/krorten/nanopool
Requires
- guzzlehttp/guzzle: ^6.2
- laravel/framework: >=5.5.0
This package is not auto-updated.
Last update: 2025-09-27 14:58:06 UTC
README
Laravel wrapper for Nanopool API
Nanopool is a nanopool api wrapper for Laravel 5.5
Install
composer require krorten/nanopool
Post Install
After installing, register the Krorten\Nanopool\Providers\CryptocompProvider
in your config/app.php
configuration file:
'providers' => [ // Other service providers... Krorten\Nanopool\Providers\NanopoolProvider::class, ],
Also, add the Nanopool
facade to the aliases
array in your app
configuration file:
'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)
Examples
You need to set the type of coin before you can retreive any info.
//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