evan45245/laracrypto

Laravel cryptocurrency integration

dev-master 2018-04-16 08:21 UTC

README

Latest Version on Packagist Software License Total Downloads

Add integration between Laravel and cryptocurrency services.

Structure

src/
tests/
vendor/

Install

Via Composer

$ composer require andskur/laracrypto

Usage

First you'll need to set up your configuration using your .env file.

Bitcoin

The Bitcoin interface utilises the Blockchain Wallet API.

This will need to be running using the port specified in your laracrypto config.

Item Description
BLOCKCHAIN_GUID The GUID of your wallet.
BLOCKCHAIN_PASS The password for accessing your local API.
BLOCKCHAIN_API Deprecated
BLOCKCHAIN_PASS2 Deprecated

Ethereum

The Ethereum interface utilises the Ethereum JSON-RPC API.

This will need to be running using the port specified in your laracrypto config.

Item Description
ETHEREUM_URI The base URI that the RPC is running on.
ETHEREUM_PORT The port that the RPC is running on.

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

$ composer test

Credits

License

The MIT License (MIT). Please see License File for more information.