Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 562 Bytes

README.md

File metadata and controls

30 lines (18 loc) · 562 Bytes

metaverse-systems/multichain-php-client

PHP package for communicating with MultiChain node

  • Install
composer require metaverse-systems/multichain-php-client
  • Publish config file
php artisan vendor:publish --provider="MetaverseSystems\MultiChain\MultiChainProvider" --tag=config
  • To use:
use MetaverseSystems\MultiChain\Facades\MultiChain;

print_r(MultiChain::getinfo());

print_r(MultiChain::liststreams());

// Create a stream call 'mystream', make it an open stream (true)

MultiChain::create("stream", "mystream", true);