PHP code example of kenowlee / chia-price
1. Go to this page and download the library: Download kenowlee/chia-price 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/ */
kenowlee / chia-price example snippets
Chia\Preco::agora();
//resultado
Array
(
[chia] => 191,34
[real] => 1.024,59
[minhasChias] => 0,00
)
Chia\Preco::agora('6.12411210');
//resultado
Array
(
[chia] => 191,34
[real] => 1.024,59
[minhasChias] => 6.274,69
)