Forum Replies Created
-
AuthorPosts
-
alexgKeymaster
Hello Adonis,
1. First, can you please check the Troubleshooting section in the documentation under “I do not see the UI elements in the frontend.”?
2. To be clear, does the rest of your site work apart from the shortcodes?
3. Does the problem persist if you deactivate the block.io adapter? You should be fine if you use the CoinPayments adapter instead.
Let me know please.
kind regards
alexgKeymasterHello Adonis,
There are detailed instructions on how to provide translations in the PDF manual. Please see the section Localization. The manual is available when you get the bundle download of the plugin.
kind regards
alexgKeymasterThanks for the additional info.
From the error message it is obvious that the techan library was not loaded. It is likely that this is due to XSS protection. I will include a copy of the library in the next patch release of the extension. Thank you very much for reporting this.
If you wish to see what the candlesticks look like, you can have a look at the techan library: http://techanjs.org/
Technical indicators are not implemented, but there are candlesticks, volume bars, and arrows at the user’s buy and sell positions.
regards
alexgKeymasterHello,
Thanks for testing first of all. What exactly happens when you try to enter an order? The expected behavior is that you should get back an order id in an alert box and the order should be added to the orderbook.
1. Once you hit “buy” or “sell”, do you see the alert box?
2. Do you see any error message?
3. Is your market enabled?
Let me know please. Thanks
alexgKeymasterGreat to hear that you got deposits working.
1. Does the problem persist if you switch to another theme?
2. Can you email me a screenshot of this black square?
Looking forward to your reply.
kind regards
alexgKeymaster@bigblue: Is your market in the enabled state? Are there any JavaScript errors in your console?
About the Tip the Author extension, please use its support forum as it is probably a different issue.
kind regards
alexgKeymasterHello Hamaru,
Users who have the
has_wallets
capability can deposit cryptocurrencies via the[wallets_deposit]
shortcode.You can have a look here for the wallet shortcodes: https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/shortcodes/
The frontend UIs are explained in more detail in the PDF documentation under the section “Frontend”.
Hope this helps.
Please do let me know if you have further questions.
kind regards
alexgKeymasterHello San,
Before we can fix this we must first identify the problem.
1. To be clear, does the problem occur when you are using the page editor in the admin screens?
2. When you inspect the network in your browser’s console, which XHR requests slow down the page?
3. Have you tried the recommendations in the trouble shooting section under the title “When I activate the plugin, my WordPress becomes somewhat slow but is still usable.”?
thanks
alexgKeymasterHello 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
- The coin that exchange rates are given against is indicated by
-
AuthorPosts