Forum Replies Created
-
AuthorPosts
-
alexgKeymaster
Hello everyone,
Thanks for your initial feedback.
The chart (
[wallets_exchange_chart]
shortcode) is expected to be empty when you first install the plugin. This is how it should look like:When the UIs are first loaded they are grayed out (opacity set to 50%). Then, as all the data is loaded from the JSON API, the UIs will turn to opacity 100%. If you are seeing the above chart at opacity 100% then all is fine, your orderbook is simply empty. As you know, candlesticks only represent executed orders.
@Bigblue: You cannot set a market to have the same symbol for base and quote currency. If you are testing in a local environment you can set up a bitcoin testnet and litecoin testnet node using the full node multiadapter extension. If you are on a hosted server that you use only for testing( i.e. is closed to the public), you can simply create any markets to test. Even if you use real currencies, no blockchain transactions will be executed unless you choose to withdraw your funds. Therefore you can do your tests and then wipe the DB tables (
wp_wallets_txs
,wp_wallets_adds
,wp_wallets_orders
) once your tests are done.alexgKeymasterThe exchange extension is now released. See the relevant blog post here.
alexgKeymasterThe exchange extension is now released. See the relevant blog post.
alexgKeymasterAfter 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
alexgKeymasterThank 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
alexgKeymasterThis is not exactly possible at the moment.
There will be shortcodes in the future to display coin rates.
At the moment you can do the following in JavaScript on the frontend:
- The coin that exchange rates are given against is indicated by
walletsUserData.fiatSymbol
. This is normally the selection under Wallets > Exchange rates > Default fiat currency but can be overridden in a user’s profile. - The exchange rate for e.g. Litecoin is accessible as
wp.wallets.viewModels.wallets.coins()['LTC'].rate
.
Hope this helps. Once the shortcodes are ready I will report it and there will also be a blog announcement.
kind regards
alexgKeymasterHello,
I previously indicated that I would like to implement something with CoinHive but I have not yet found the time to do so.
The plugin you indicate has a slug of
bitcoin-faucet
and is not developed by me. You need to contact the developer(s) of that plugin for any issues you have.The
wallets-faucet
plugin that I have developed does have some basic adblock detection capabilities, and it uses mockingbird for this: https://github.com/retargetly/mockingbirdkind regards
alexgKeymasterCoingecko is added as an exchange rates provider in
3.5.4
.alexgKeymasterHello,
Yes I will add CoinGecko. Thank you for the suggestion.
Additionally, you should know that I recently added cryptocompare in version 3.5.2 (released a few minutes ago).
kind regards
alexgKeymasterThis has now been rolled out in 3.5.2.
alexgKeymasterHello,
There are two issues here:
1. You can safely disable exchange rates if you uncheck all the checkboxes under Wallets → Exchange rates → Exchange rates providers. The only drawback is that fiat amounts will not be displayed on the frontend, and payment gateways such as the WooCommerce payment gateway extension and Events Manager payment gateway extension will not work. Disabling exchange rates will not affect operation of the ShapeShift extension. But again, fiat amounts will not be shown in the ShapeShift extension’s UI.
2. The free plan for fixer.io gives you 1000 API calls per month. The plugin pulls data from fixer once per hour. For a 30 day month this comes out to be 30×24, or 720 calls per month. The plugin will do these calls whether the site is being used or not, as long as it is online. So you see that you should not exceed the limit, if you are using the plugin only on one site. You can always check your fixer account to see how much of the limit you have been using. Simply login to the service and go to your dashboard to check: https://fixer.io/dashboard
If you are using the same API key with multiple sites then you might have to consider upgrading to another plan. If not, then there should be no problem.
Hope this is clear. Let me know if you have more questions.
alexgKeymasterOK 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.
alexgKeymasterHello San,
Yes I am currently working on the exchange and it will be out soon.
Sorry but I cannot be any more specific.
There will be an announcement on the blog as with all news and releases.
kind regards
alexgKeymasterYes this is possible.
I will do the necessary modifications so that a user can override the site-wide default.
I will let you know here when it is done.
Thank you for the suggestion
kind regards
alexgKeymasterHello,
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
- The coin that exchange rates are given against is indicated by
-
AuthorPosts