dashed-slug.net › Forums › General discussion › Not all coins show exchange rates on shortcodes › Reply To: Not all coins show exchange rates on shortcodes
Hi Alex,
No it does not show fiat amount when entering 10000000000
On the API call it does show all the coins.
I did notice however it does show that Rapids is_crypto FALSE, same with DACASH shows is_crypto FALSE see screenshot, This then made me look at the wallets-alt-coins-adapter.php which has all the coins info in.
$coins['RAPIDS'] = array(
// Coin symbol
'symbol' => 'RPD',
// Coin name
'name' => 'Rapidscoin',
// Default withdrawal fee (coin adapter settings override this)
'wd fee' => '0.005',
// Default internal transaction fee (coin adapter settings override this)
'move fee' => '0.0005',
// Default min confirmation count required for deposits (coin adapter settings override this)
'confirms' => 12,
// Default RPC port (coin adapter settings override this)
'port number' => 12345,
// Whether the wallet supports -walletnotify
'tx notify' => 1,
// Whether the wallet supports -blocknotify
'block notify' => 1,
// Whether the wallet supports -alertnotify (some wallets have deprecated this)
'alert notify' => 0,
// Comma separated list of hex bytes, needed for frontend validation of withdraw addresses. Leave blank for no validation.
'versions' => '0x61,0x61',
// An sprintf() pattern for deposit address QR Code URI. If unsure, set to '%s'.
'qr pattern' => 'rapidscoin:%s',
// An sprintf() pattern for displaying amounts. If unsure, leave to '%01.8f'.
'amount pattern' => '%01.8f',
// Default sprintf() pattern for URI to block explorer transaction page. Can be overriden with WordPress filter.
'explorer tx uri' => 'http://209.97.188.183/tx/%s/',
// Default sprintf() pattern for URI to block explorer address page. Can be overriden with WordPress filter.
'explorer address uri' => 'http://209.97.188.183/address/%s/',
// URL to an 64x64 icon for the coin. Or leave empty to pull the icon from 'assets/sprites/SYMBOL.png'.
);
I have now changed the coins name to the symbol name now all works fine 🙂
$coins['RAPIDS'] = array( <---- seems to be the problem
Thank you for helping me find this error.
Maybe on the explanation on using the altcoins plugin mention to users to name everything correctly 🙂
$coins['YOURCOINSYMBOLNAME'] = array( <-----
Hopefully this helps anyone else with the same problem.
Thank you again for your assistance to getting this resolved my end 🙂
Kind Regards
Megan