2017 © Pedro Peláez
 

library laravel-multichain

Multichain Wrapper for Laravel 5

image

gustavorglima/laravel-multichain

Multichain Wrapper for Laravel 5

  • Wednesday, March 21, 2018
  • by gustavorglima
  • Repository
  • 1 Watchers
  • 1 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 55 % Grown

The README.md

Laravel Multichain

Multichain Wrapper for Laravel 5, (*1)

Installation

First of all you need to require the package:, (*2)

composer require gustavorglima/laravel-multichain

Now open config/app.php to add the provider and alias:, (*3)

'providers' => [
    ...
    GustavoLima\Multichain\MultiChainServiceProvider::class,
]
'aliases' => [
    ...
    'MultiChain' => GustavoLima\Multichain\Facade\MultiChain::class,
]

Configuration

Add the lines bellow on your .env file and edit with your credentials:, (*4)

# MULTICHAIN
MULTICHAIN_RPC_HOST=127.0.0.1
MULTICHAIN_RPC_PORT=7358
MULTICHAIN_RPC_USERNAME=
MULTICHAIN_RPC_PASSWORD=

Test

$multichain = MultiChain::getInfo();

Documentation

  1. Multichain JSON-RPC API commands (http://www.multichain.com/developers/json-rpc-api/)
  2. Kunstmaan PHP library (https://github.com/Kunstmaan/libphp-multichain)

Credits

All credits for Kunstmaan Labs who wrote the original php library., (*5)

The Versions

21/03 2018

dev-master

9999999-dev

Multichain Wrapper for Laravel 5

  Sources   Download

MIT

The Requires

 

by Gustavo Lima

laravel blockchain multichain

21/03 2018

1.0.1

1.0.1.0

Multichain Wrapper for Laravel 5

  Sources   Download

MIT

The Requires

 

by Gustavo Lima

laravel blockchain multichain

21/03 2018

1.0.0

1.0.0.0

Multichain Wrapper for Laravel 5

  Sources   Download

MIT

The Requires

 

by Gustavo Lima

laravel blockchain multichain