gustavorglima / laravel-multichain
Multichain Wrapper for Laravel 5
Installs: 42
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/gustavorglima/laravel-multichain
Requires
This package is not auto-updated.
Last update: 2025-10-04 01:17:08 UTC
README
Multichain Wrapper for Laravel 5
Installation
First of all you need to require the package:
composer require gustavorglima/laravel-multichain
Now open config/app.php
to add the provider and alias:
'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:
# MULTICHAIN
MULTICHAIN_RPC_HOST=127.0.0.1
MULTICHAIN_RPC_PORT=7358
MULTICHAIN_RPC_USERNAME=
MULTICHAIN_RPC_PASSWORD=
Test
$multichain = MultiChain::getInfo();
Documentation
- Multichain JSON-RPC API commands (http://www.multichain.com/developers/json-rpc-api/)
- Kunstmaan PHP library (https://github.com/Kunstmaan/libphp-multichain)
Credits
All credits for Kunstmaan Labs who wrote the original php library.