PHP code example of freddiecoleman / luxstack-razrbit

1. Go to this page and download the library: Download freddiecoleman/luxstack-razrbit library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

freddiecoleman / luxstack-razrbit example snippets



CONST MY_APP_ID     = "A25AOpLUoT";
CONST MY_APP_SECRET = "688e2b77-09a3-4945-9468-bf188ff3de88";


// app/config/app.php

'providers' => [
    '...',
    'Luxstack\Razrbit\RazrbitServiceProvider'
];

Route::get('/', function()
{
	return Razrbit::marketsPrice('USD');
});

$new_address = $razrbit->walletCreateNewAddress();

$balance = $razrbit->getBalanceFromAddress($new_address);

$razrbit->marketsHistoricalPrice("USD","2014-03-03");
date