You are here:
< Back

In this tutorial you will learn how to prepare your ICO website on WordPress to sell ERC20 tokens for fiat money like USD, EUR, etc. and for cryptocurrencies other than Ether, like Bitcoin, Litecoin, etc.

Step 1. Smart contracts

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.

Step 2. Installation

Install a Free or a PRO Cryptocurrency WordPress Plugin for WooCommerce.

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

You are here:
< Back

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:

Cryptocurrency WordPress Plugin for WooCommerce

Click the Upload Plugin button and choose the cryptocurrency-product-for-woocommerce.zip file for upload, then click the Install Now button:

Cryptocurrency WordPress Plugin for WooCommerce

Wait for the Plugin installed successfully sentence, then press the Activate Plugin button:

Cryptocurrency WordPress Plugin for WooCommerce

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.

Cryptocurrency WordPress Plugin for WooCommerce

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.

Cryptocurrency WordPress Plugin for WooCommerce

See full configuration settings reference here please: Configuration Settings

Step 3. ERC20 token sale website Configuration

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.

Blockchain

We will set the Blockchain setting to the Ropsten test network:

ico website

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.

ico website

Ethereum wallet private key

Set the Ethereum wallet private key setting to the value of the private key for the address of your Hot Ethereum wallet you have set for the Ethereum wallet address setting before.

ico website

Step 4. ERC20 token product Configuration

After configuring the Cryptocurrency WordPress Plugin for WooCommerce, you can create any number of products to sell your ERC20 tokens.

Step 4.1. Create ERC20 token product

Go to the Products -> Add New and press the Create your first product! button.

On the page opened fill in the product Name an Description fields:

Then scroll down and check the Cryptocurrency and Virtual checkboxes:

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.

Open the Cryptocurrency tab:

Choose the ERC20 option in The cryptocurrency dropdown:

Input the 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 Balance field:

Scroll top and press the Publish button:

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.

Step 4.2. Make a ERC20 token deposit

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 amount field would be available for sale.

Scroll up and press the Update button:

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.

Categories:

Help-Desk