Skip to content

JEstesMining/chia-client-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chia RPC Client

This library allows you to communicate with a Chia RPC server.

Installation

composer require jestesmining/chia-client-php:0.1.x-dev

Usage

use JEstesMining\Component\Chia;

$chia = new Chia\FullNode('https://127.0.0.1:8555', [
    'local_cert' => '/path/to/.chia/mainnet/config/ssl/full_node/private_full_node.crt',
    'local_pk'   => '/path/to/.chia/mainnet/config/ssl/full_node/private_full_node.key',
]);

// @var array $state
$state = $chia->getBlockchainState();

About

Provides the ability to communicate with chia via RPC

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages