lara-block-io icon indicating copy to clipboard operation
lara-block-io copied to clipboard

Class 'App\LaraBlockIo' not found

Open prasenjit1011 opened this issue 7 years ago • 2 comments

Hi,

I am trying to implement Block.io get_network_fee_estimate($arr),

when we try return LaraBlockIo::get_network_fee_estimate($arr); we getting error Class 'App\LaraBlockIo' not found,

$arr['amounts'] = 95; $arr['to_addresses'] = '3BFGYeQC7uSp5pfS7ebs8AN2xQ6VCxtAbs'; we already set in larablockio.php 'apiKey' => env('1059-809b-1b8c-4527'), 'pin' => env('Behala345'), 'version' => env('BLOCKIO_VERSION', 2)

prasenjit1011 avatar Nov 11 '17 16:11 prasenjit1011

Hi Prasenjit you need to register the service provider and the Facade in config/app.php then you will be able to use the service. I hope this helps.

alejandro-carstens avatar Dec 16 '17 08:12 alejandro-carstens

Are you not releasing secret credentials? @Prasenjiit

ladaposamuel avatar Feb 10 '18 14:02 ladaposamuel