January 29, 2019 at 8:56 am #5658
Hi Alex, Great work on the latest updates 🙂
I am having an issue on the frontend not showing all coins exchange rates and fiat values.
In the backend at exchange rates I can see the coins are there and showing their respective exchange rates.
On the front end only few of the coins actually show their rates.
Coin wallets are all responding, deposits withdrawals etc all work as expected, just the exchange rates that are not showing for all coins.
This was from before the update, I did not report as I was hoping maybe update would fix the issue.
Any assistance advice debugging steps will be appreciated.
MeganJanuary 29, 2019 at 9:29 am #5663
I believe that the issue with your coin is that its price is so low that its USD value is rounding to zero. This is something that I will need to fix in the code.
1. Could you please verify that the missing coins all have small unit value? What happens if you attempt to withdraw 1000000000 Rapidscoin? Does the withdrawal form show any USD price then?
thank youJanuary 29, 2019 at 10:07 am #5670
Thank you as always for your quick response 🙂
I am not able to withdraw RPD amount as I do not have many coins, withdraw form just says insufficient funds.
January 29, 2019 at 10:13 am #5672
I am not suggesting that you actually withdraw the coins, simply enter the number. The idea was to look to see if the USD amount is printed below.
However it seems that the RPD coin is not available in the frontend at all. Check the JSON API with:
https://example.com/?__wallets_apiversion=3&__wallets_action=get_coins_info, replacing example.com with your domain. Is RPD in the response? If not:
1. Go to “Wallets” -> “Frontend settings” -> “Disable transients (debug)” and check the option. Does it make a difference? Afterwards, uncheck the option again.
2. Clear your server’s cache. Does the JSON API report your coin now?
Hope this helps. Let me know please if you find something.January 29, 2019 at 10:53 am #5677
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://22.214.171.124/tx/%s/', // Default sprintf() pattern for URI to block explorer address page. Can be overriden with WordPress filter. 'explorer address uri' => 'http://126.96.36.199/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 🙂
MeganJanuary 29, 2019 at 1:58 pm #5679
Yes, the coin’s index in the array must be the coin’s symbol.
I have made the instructions clearer now.
- You must be logged in to reply to this topic.