dashed-slug.net › Forums › Full Node Multi Coin Adapter extension support › receive address not displayed
Tagged: deposit, frontend, installation, shortcode, UI
- This topic has 18 replies, 2 voices, and was last updated 6 years, 4 months ago by alexg.
-
AuthorPosts
-
June 22, 2018 at 4:02 am #3288pumpernickelMember
Seems like everything is running and connecting. But it is not displaying a deposit address although it seems to generate a barcode.
June 22, 2018 at 6:26 am #3290alexgKeymasterHi can you please show me a screenshot?
More importantly, are there any errors in your JavaScript console?
Thanks
June 22, 2018 at 7:20 am #3292pumpernickelMemberIt’s not letting me upload my screenshots. I reduced the size to the point it’s not legible.
I tried replying to the email, but its not going though saying invalid email address.
But I get a javascript error on the client side with shortcodes
GET http://scoobycoin.com/wp-content/plugins/wallets-multiadapter/assets/scripts/wallets-multiadapter-validator.min.js?ver=1.0.4 404 (Not Found)
wallets-ko-3.5.0.min.js?ver=3.5.0:1 Uncaught TypeError: b.qrcode is not a function
at c.updateQrCode (wallets-ko-3.5.0.min.js?ver=3.5.0:1)
at Object.complete (wallets-ko-3.5.0.min.js?ver=3.5.0:1)
at i (jquery.js?ver=1.12.4:2)
at Object.fireWith (jquery.js?ver=1.12.4:2)
at y (jquery.js?ver=1.12.4:4)
at XMLHttpRequest.c (jquery.js?ver=1.12.4:4)but no error appears on the admin side when I try to deposit into cold wallets.
But either way, it does not display an address.
Thanks for your help.
June 22, 2018 at 7:37 am #3293alexgKeymasterThanks for yuor reply.
From the errors you reported it is clear that some of the frontend scripts are not loaded.
The frontend script for the address validator is not loaded, and the JQuery qrcode script seems to be missing too. This would explain your issues. Some thoughts that come to mind:
Could it be some problem with a CDN you use?
Or a misconfiguration of your web server? Try to determine why the assets would not load.
Is this a new installation? Did you change something on your server recently? Does the plugin work when you disable other plugins?
June 22, 2018 at 7:39 am #3294alexgKeymasterThe link http://scoobycoin.com/wp-content/plugins/wallets-multiadapter/assets/scripts/wallets-multiadapter-validator.min.js?ver=1.0.4 returns 404 which normally means that the script is not on your server. Could it be that the file is missing from your server directory?
June 22, 2018 at 4:07 pm #3308pumpernickelMemberLooks like there isn’t a wallets-multiadapter directory.
But there is a multiadapter-validator.min.js under the Bitcoin_and_altcoin_wallets__full_node_multi_coin_adapter_extension-1.0.4-wordpress-plugin-3d16976/assets/scripts directoryJune 22, 2018 at 5:38 pm #3309alexgKeymasterHello,
It seems you have not installed the plugin extension correctly. You have extracted the zip file into the plugins directory, retaining the filename as a directory name.
Delete the plugin directory, then go to Plugins -> Add new -> Upload plugin and select the plugin’s zip file for upload.
After this, activate the extension and it should be ready for configuration.
kind regards
June 23, 2018 at 5:43 am #3313pumpernickelMemberYes, I did install it that way.
I renamed my plugin directory and started over.
But I am still getting the same result without any error.
It generates a bar code but no address.
June 25, 2018 at 7:04 am #3334alexgKeymasterOK you have now presumably installed correctly, and activated, the multiadapter extension. Can you please tell me the following:
1. You previously reported an error about the qrcode library not being loaded. Do you still get that error?
2. What do you get when you type the following in your console?
typeof jQuery.fn.qrcode
3. Do you see any errors now in your JavaScript console?
4. Could it be that you have done the same installation mistake with the main plugin? The main plugin should be installed either by uploading the zip file via the “upload plugin” button or directly from wordpress.org via the admin interface. (You could unzip the plugin manually, but in that case you need to make sure that the directory is named “wallets” and that the file permissions and user ownership match those needed by your web server.)
Let me know.
June 30, 2018 at 9:50 pm #3374pumpernickelMemberHi there,
1) no error being reported
2) it responds with “function”
3) still no errors
4)yes, this was installed via the upload plugins page.
5) please check out the test page with all of the wallet links in it.
I am having difficulty attaching a screenshot or replying to the email.
Thanks.
July 2, 2018 at 3:19 pm #3376alexgKeymasterThank you for the additional info. I signed up to your site and had a look at the test page.
As you said, there are no JavaScript errors.
The JSON API does not report a deposit address. This is why it is not shown. When logged in, you can see the response yourself. There is a missing field,
deposit_address
: https://scoobycoin.com/test/?__wallets_apiversion=2&__wallets_action=get_coins_infoThe JSON API code uses the
wallets_api_deposit_address
filter to get the user’s deposit address: https://wallets-phpdoc.dashed-slug.net/classes/Dashed_Slug_Wallets_PHP_API.html#method_api_deposit_address_filterIf an address is not already assigned to the user, a new address is generated by the wallet via the
getnewaddress
RPC command. Then, the address is attached to the JSON API response, like so:https://github.com/dashed-slug/wallets/blob/3.5.4/includes/json-api.php#L612-L618
1. Is it possible that your wallet does not respond to the
getnewaddress
RPC command? Can you call the command from the CLI to check yourself? For Bitcoin, you would do abitcoin-cli getnewaddress
and it would respond with a string that is a new address. You should replacebitcoin-cli
with the name of your wallet’s binary.2. If the RPC command works as expected, it might be worth looking at your PHP logs. You can enable WordPress logging and then look at
wp-contend/debug.log
. Then, check to see if any errors appear while the plugin requests a new address.Please let me know.
kind regards
July 3, 2018 at 7:52 am #3377alexgKeymasterAfter doing some more investigation:
You coin’s symbol is
SCOOBY
. This is 6 characters long and the current DB schema for this plugin allows up to 5 character symbols.https://github.com/dashed-slug/wallets/blob/master/includes/wallets-core.php#L284
https://github.com/dashed-slug/wallets/blob/master/includes/wallets-core.php#L308Can you try with
SCOOB
? It should work.I might increase this limit in the next schema upgrade.
kind regards
July 8, 2018 at 3:38 am #3453pumpernickelMemberYes, I really need this fixed in the next upgrade.
I will have no choice but to wait. As it does not make sense to change the ticker on the main site for this coin.
The ticker should be SCOOBY.
Although I am a paying subscription member, I am willing to give you some scoobycoins for this upgrade.
Thanks!
July 9, 2018 at 8:25 am #3465alexgKeymasterHello,
I will fix this on the next release. The change will require a schema upgrade and will allow up to 8 characters for symbols. This should be sufficient for any coin.
Thank you very much for your membership. I do not require payment for the change. If you wish to donate to the project you are always welcome to do so.
The standard donation addresses are:
Bitcoin Address:
1DaShEDyeAwEc4snWq14hz5EBQXeHrVBxy
DOGE Address:DASHEDj9RrTzQoJvP3WC48cFzUerKcYxHc
LTC Address:LdaShEdER2UuhMPvv33ttDPu89mVgu4Arf
Or you can donate SCOOBY to
SMbCzz6R1k2aGTYanbLZfy5tCcz1DaZP9v
if you wish.July 13, 2018 at 9:25 am #3627alexgKeymasterHello,
The schema upgrade is now rolled out in the 3.5.6 release. You can use coin symbols of up to 8 characters.
kind regards
-
AuthorPosts
- You must be logged in to reply to this topic.