How Can We Help?
In this ICO Fiat Money tutorial you will learn how to configure the Ethereum ICO WordPress Plugin to display fiat currency like USD instead of the default ETH.
In this mode user still pay with Ether using MetaMask, but all sums are displayed in the currency chosen for user convenience:
Note that this is useful only if you have implemented oraclize.it interface in your Crowdsale smart contract.
You can use the Crowdsale Contract and ERC20 Token Development Service to let us do this job for you.
Also, make sure to configure openexchangerates.org App Id if non-USD fiat currency is used here.
Base currency and symbol – ICO Fiat Money
First of all, look for the Base currency and Base symbol settings:
By default they are configured for Ether, but you always can configure it for any other currency, including fiat currencies, e.g. USD:
Other fields affected – ICO Fiat Money
Make sure to adjust values of these fields, since they are currency dependent:
- Increase/Decrease step,
- Min allowed value,
- Max allowed value,
- The ICO token rate,
- ICO soft cap,
- ICO hard cap,
- Private sale seed.
With Base currency set to USD they should look like this:
It also makes sense to replace USD with ETH in the List of coins setting:
Do not forget to press the
Save Changes
button when ready.
Result – ICO Fiat Money
The token sell widget now accepts sum in USD and displays the currency used:
The Progressbar widget displays the current sum, soft and hard caps with the dollar symbol:
The Amount field in the Purchases table widget is shown in USD with a dollar symbol too:
See also: Install and Configure, Ethereum ICO WordPress Plugin, Cryptocurrency WordPress Plugin for WooCommerce