blockchainrndhub/bitcoin-bundle

Bitcoin bundle provide us to use bitcoin services.

Installs: 84

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 4

Forks: 1

Type:symfony-bundle

1.0.0 2017-09-12 10:40 UTC

This package is not auto-updated.

Last update: 2024-10-27 03:21:25 UTC


README

Instalation

Install via composer

composer require blockchainrndhub/bitcoin-bundle

Enable the bundle in your kernel

# app/AppKernel.php
$bundles = [
    //...
    new Blockchainrndhub\BitcoinBundle\BlockchainrndhubBitcoinBundle(),
    //...
];

Add config

# app/config/config.yml
  
    blockchainrndhub_bitcoin:
        bitcoin_api_key: '%bitcoin_api_key%'

Add parameters

# app/config/parameters.yml
  
    parameters:
        bitcoin_api_key: YOUR_API_KEY

Usage

  $bitcoinscan = $this->container->get('bitcoin_scan');