mirror of
https://github.com/rottenwheel/moner.ooo.git
synced 2025-03-26 00:58:45 +00:00
readme updates
This commit is contained in:
parent
b5dbe19617
commit
8c2cef87c2
1 changed files with 3 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||

|
||||

|
||||
|
||||
# Revuo Monero Calc
|
||||
|
||||
|
@ -117,18 +117,17 @@ return [
|
|||
];
|
||||
```
|
||||
|
||||
Create a `secrets.php` file in the root directory to store CoinGecko API keys. Example:
|
||||
Create a `secrets.php` file in the root directory to store CoinGecko API keys. `use_api_key` can be set to false for testing locally. Example:
|
||||
|
||||
```php
|
||||
<?php
|
||||
return [
|
||||
'coingecko_api_key' => 'CG-xxxx',
|
||||
'coingecko_key_is_demo' => true,
|
||||
'use_api_key' => true,
|
||||
];
|
||||
```
|
||||
|
||||
**Note:** The `secrets.dist.php` file should not be accessible from the web server.
|
||||
|
||||
### Fetching Exchange Rates
|
||||
|
||||
Exchange rates are fetched from the CoinGecko API. The `coingecko.php` file handles the API requests and attempts to update exchange rates every 5 seconds. Due to the rate limits of the CoinGecko API, actual update intervals may vary and are closer to 60 seconds.
|
||||
|
|
Loading…
Reference in a new issue