Let's create an ethereum address
You need basic knowledge of how to code with PHP (or know someone who can), you can also learn it at
Chaingateway.io account (if you don't have one already).
Install the PHP 7 modules JSON and CURL. If you are on a Linux Debian/Ubuntu machine, you can use the following commands:
apt-get install php7-curl
apt-get install php7-json
Depending on your machine and PHP version, you might try the following instead:
apt-get install php-curl
apt-get install php-json
Now restart Apache with:
service apache2 restart
Now download the file named
Replace YOURAPIKEY in the above code with the API Key in your
Replace PASSWORD with a secure password. You need this password for all transactions you make from the address, so make sure you don't lose it!
Upload the created PHP script to your web server
Call the script in your browser. For example, if you upload it to the root directory of your website, you can call it by typing yourwebsite.com/createaddress.php
After a few seconds, the script will return an ethereum address.
Congratulations! You just created an ethereum address at Tokengateway, which you can use to send and receive Ethereum and Tokens.
If you want to send transactions, you can move to the next tutorial:
Send transactions with PHP