blockchainrndhub/ethereum-bundle

Ethereum bundle provide us to use ethereum services.

Installs: 90

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 4

Forks: 0

Type:symfony-bundle

1.0.0 2017-09-12 08:59 UTC

This package is not auto-updated.

Last update: 2024-10-27 03:36:55 UTC


README

Instalation

Install via composer

composer require blockchainrndhub/ethereum-bundle

Enable the bundle in your kernel

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

Add config

# app/config/config.yml
  
    blockchainrndhub_ethereum:
        etherscan_api_key: '%etherscan_api_key%'

Add parameters

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

Usage

  $etherscan = $this->container->get('ethereum_etherscan');