By :
WaldhausApps
Published on Tuesday, April 11, 2017,10:05:42 in PHP Scripts
Ethereum Rates
This PHP script allows you to create your own Ethereum ticker & calculator website. Supporting 79 currencies with the ability to change the default currency, website color scheme, and more simply!
Features
Supporting 79 currencies
API updates every 60 seconds
JSON Data Cache
Change the default currency/calculator (index page)
Change the popular currencies (in the header)
Individual currency pages
Clean, Mobile Responsive Design
Configurable title and description
Configurable color scheme
Easily configure your Google Analytics
Ethereum Rates comes with a built in API. However, by default this API is set to disallow javascript cross-origin requests. In order to enable this, you will have to configure CORS and setup the proper security measures on your server.
api/v1/rates â Which will give you all the current rates
api/v1/rates/{currency} â Which will give you the current rates for that currency (ex: api/v1/rates/usd)
api/v1/calculate/{amount}/{currency} â Which will give you the current rate for x amount of ethereums (ex: api/v1/calculate/2/usd)
How to Install
Once you have downloaded the zip file from CodeCanyon.com
Extract ethereumrates.zip
Upload the files to your server via FTP
Make sure the folder/file(s) is able to be written to via the server (0775 permissions)
In the browser, navigate to where you uploaded the folder
At the end of this URL put: /install
Fill out the form with your information/preferences
Click âinstallâ. This will create the config file and unescape the htaccess files for the script/API
For security reasons, you should remove the install folder from the server when you are done!
Youâre all set!
Too edit the script, you can either go through this process again or just open library/config.php in any text editor to edit
Server Requirements
PHP 5+
cURL
extension=intl.so (PHP Class NumberFormatter requires this)
Share This Product