diff --git a/README.md b/README.md index 6b05529..ab5beae 100644 --- a/README.md +++ b/README.md @@ -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.