In this tutorial you will learn how to prepare your ICO website on WordPress to sell ERC20 tokens for fiat money like
EUR, etc. and for cryptocurrencies other than
First of all, you need to develop and deploy a ERC20 token contract to sell these tokens from your site.
You can use the Crowdsale Contract and ERC20 Token Development Service to let us do this job for you.
The Free version is enough to sell Ether. It is convenient to familiarize yourself with this plugin. However, it is not capable to sell ERC20 tokens. You are recommended to upgrade to the PRO version to sell your ERC20 tokens.
See here for a full differences description: Free vs PRO version differences
Install PRO Cryptocurrency WordPress Plugin for WooCommerce
See here if you need to install the Free plugin version: Install Free Cryptocurrency WordPress Plugin for WooCommerce plugin
If you have not installed the WooCommerce plugin yet, use this guide to do it: WooCommerce Installation Guide
See here if you need to upgrade from free to PRO version: Upgrade Free to PRO version
First of all, make sure you have purchased the PRO version and downloaded the cryptocurrency-product-for-woocommerce.zip file.
Then open the Add New plugin page and press the Upload Plugin button:
Click the Upload Plugin button and choose the cryptocurrency-product-for-woocommerce.zip file for upload, then click the Install Now button:
Wait for the Plugin installed successfully sentence, then press the Activate Plugin button:
If some error occur during plugin activation, check the System Requirements page for solutions please.
You will be redirected to the Installed Plugins page. Find the Cryptocurrency Product for WooCommerce plugin card and click the Settings link in the card.
It will open the Cryptocurrency Product Settings page.
Note that you can access the Cryptocurrency Product Settings page under a general site settings section too.
See full configuration settings reference here please: Configuration Settings
Minimally required ERC20 token sale website configuration is described here. Learn more from the full Configuration Settings documentation please.
We will use test Token smart contract deployed in the
Ropsten test network in this section. You can do the same to check your configuration, and change it to your own ERC20 token contract later, or use it from the ground.
We will set the Blockchain setting to the
Ropsten test network:
Ethereum wallet address
Set the Ethereum wallet address setting to the address of your Hot Ethereum wallet. It is absolutely recommended to make new wallet address for that purpose. You can do it in the MetaMask, or in the MEW.
Ethereum wallet private key
After configuring the Cryptocurrency WordPress Plugin for WooCommerce, you can create any number of products to sell your ERC20 tokens.
Go to the
Add New and press the
Create your first product! button.
On the page opened fill in the product
Then scroll down and check the
Fill in the
Regular price field with a price per token in USD or any other currency you have configured in the WooCommerce plugin settings. Decimal values like
0.01 are allowed too.
ERC20 option in
The cryptocurrency dropdown:
TSX token in the
Ropsten network address (
0x6Fe928d427b0E339DB6FF1c7a852dc31b651bD3a) in the
ERC20 token address field.
If you have some TSX tokens on your Hot Wallet address, You’ll see non-zero value in the
Scroll top and press the
Now you have the WooCommerce product for your ERC20 token. You still need to make a deposit to make it work. See the next section for the detailed deposit guide.
The final step is to make a token deposit. Check the
Make a deposit chekbox. The
Deposit amount field would be shown. Choose any value here. Leave as is if unsure.
Only the chosen amount of tokens in the
Deposit amountfield would be available for sale.
Scroll up and press the
If you’ll open the
Cryptocurrency tab again you’ll see the wait icon like this:
After the transaction would be confirmed, the
Balance on deposit field would become non-zero:
Congratulations! From this point your ERC20 token is ready to be purchased by your clients.
Deposit is an amount of cryptocurrency on your wallet that you want to sell. The plugin won’t sell all cryptocurrency from your wallet, but only the deposited amount. It protects you from some obvious mistakes. You always can refund your deposit. In this case there would be no cryptocurrency available for sell.
You need to have some Ether amount on your wallet even if you want to sell only ERC20/ERC223 tokens. It is required to pay Ethereum transactions fees.