This laravel project help you to work with Bitcoin Core server. It's use laravel-bitcoinrpc project - Bitcoin JSON-RPC client powered by GuzzleHttp.
Install Composer
Run
git clone git@github.com:ivrm/btc.git
and run
composer install
Rename .env.example
to .env
To connect to Bitcoin Core you'll need to add at least following parameters in .env file
BITCOIND_SCHEME=(scheme from bitcoin.conf)
BITCOIND_HOST=(host from bitcoin.conf)
BITCOIND_PORT=(port from bitcoin.conf)
BITCOIND_USER=(rpcuser from bitcoin.conf)
BITCOIND_PASSWORD=(rpcpassword from bitcoin.conf)
- PHP 7.0 or higher
- Laravel 5.1 or higher
You can perform request to Bitcoin Core using buttons listed below:
- Connect to server
- Get new address
- Get last block
This product is distributed under MIT license.