vcash / rpc
v.cash rpc client
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/vcash/rpc
Requires
- php: >=5.5.9
- ext-curl: *
This package is not auto-updated.
Last update: 2025-09-28 00:18:47 UTC
README
how to use
- Clone the project from github.
- Run
$ composer install
- Create your own file to consume, follow a sample.
<?php require_once('./vendor/autoload.php'); $server = '127.0.0.1'; $port = '9195'; try { $myVcash = new Vcash\Rpc ($server, $port); $id = 1337; $myRpcGetinfo = $myVcash->getinfo($id); $myRpcGetincentiveinfo = $myVcash->getincentiveinfo(); echo '<h2>Get Info:</h2><pre>'.$myRpcGetinfo.'</pre><br>'; echo '<h2>Get Icentive Info:</h2><pre>'.$myRpcGetincentiveinfo.'</pre><br>'; } catch (Exception $e) { echo 'Error: ', $e->getMessage() . PHP_EOL; } ?>
Donations
- Vcash.: VoocuUCPkz6GnPkimoEjYabvKNSorUJi8m
- Decred.: DsTipY2uLUWWHy8joQkhGRxnNygow9PZw5b
- Bitcoin: 1FFvqvprQ1e6YBNoZHfDZvV3Qibph9s2dK