dashed-slug.net
Forum Replies Created
-
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] links in transaction tableI have been meaning to do this for months now, but due to the large number of support requests I get, I prioritize tasks and this never gets done because it’s non-critical. Never edit the plugin code directly. I release updates often. Whatever patches you apply you would have to apply to every release. This is not sustainable.
Your code will not work because you’re trying to bind an
hrefattribute to atdnode.I will try to add this in the next patch.
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] getting strange 500 errorYes this is correct. Currently the wallet needs to be unlocked but this is obviously not ideal. I am currently working on this.
Allowing for a passphrase should also enable people to use the blockchain.info wallet which is RPC compatible. I will try to put this into the next release.
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] PHP/Json ApiThe only thing you need to install is the plugin zip file.
The phpDOCs are there only to help you. You can open
index.htmlin your browser.Replay attacks are not possible, since you should be using SSL. Furthermore the actions are protected across users by WordPress nonces.
The JSON API is called from
assets/wallets-ko.js. It’s a knockout script for the frontend UIs.https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/json-api/
https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/php-api/Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] Deposit address blankDeposit addresses are generated by the wallet when they do not exist. One address per user per coin. It’s all explained in more detail in the Glossary section of the docs.
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] Deposit address blankYes, you could.
Whenever switching adapters, always make sure to clear your deposit addresses, so that they refresh. This is detailed in the FAQ section under I want to replace an adapter with another one..
- This reply was modified 8 years, 6 months ago by dashed-slug.net.
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] Deposit address blankHello,
The plugin was not developed for this API. As you can see,
getnewaddressrequires that you enter your second password along with that command. It is likely that the other commands will have the same problem, especiallysendtoaddresswhich is used for withdrawals.I’ve been meaning to provide a blockchain.info adapter but have not yet done so. I will notify you here if I find the time to do this.
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] adding a new coinGreat news that you got it working.
This info will be in the next release of the documentation.
I will now close this thread, please open a new one for any other inquiries.
regards
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] Database questionsThe best course of action would be to bind to the actions you found in the notifications. The insert SQLs are in
transactions.php, where you can see the names of the notification actions called withdo_action():wallets_action_withdraw
wallets_action_move_send
wallets_action_move_receive
wallets_action_deposit
wallets_action_withdraw_failed
wallets_action_move_send_failedThis way ensures you don’t have to edit any plugin code. You can code the bindings in your own plugin or theme.
- This reply was modified 8 years, 6 months ago by dashed-slug.net. Reason: added rationale
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] adding a new coinHello,
Thanks for your kind words. It sounds like you’re already on the right track.
The changes should be relatively obvious – just change Litecoin to Falconcoin, LTC to whatever the symbol for Falcon coin is, etc… Make sure to preserve case, i.e. “litecoin” -> “falconcoin”, “Litecoin” -> “Falconcoin”. Do this both in
wallets-litecoin.phpand inincludes/wallets-litecoin-adapter.php.More importantly you will need to modify the values in the
action_activate()function to match your coin’s details. There is a value for the TCP port number, and sane defaults for the deposit and internal transfer fees, and for required number of network confirmations.Finally, as this is your coin adapter, not mine, you should remove
ds-update.phpas I will not be providing updates for your plugin extension.I will make a note to add all of this information in the documentation as soon as possible.
kind regards
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] bilingual or multilingual walletOn my machine the translations work on shortcodes and on widgets. Can you try clearing your WordPress cache and try again?
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] Page and Admin Dashboard slowing downFor the benefit of anyone else reading this:
After email communication we determined that the issue was caused by a TCP connection timeout caused by a firewall.
TCP timeouts can slow down the plugin to a halt, so check your firewalls and any firewalls set up by your host.
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] bilingual or multilingual walletThe localization issue is now fixed.
Please see the following release notice and the PDF documentation for instructions on how to translate the plugin.
https://www.dashed-slug.net/translate-to-your-language/
regards
AlexForum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] Page and Admin Dashboard slowing downMy email is here:
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] Page and Admin Dashboard slowing downThere shouldn’t be an infinite loop, but if you had configured the Bitcoin core adapter incorrectly it is possible that the connection fails without timing out.
Sounds like a connectivity issue. Where are you running your Bitcoin daemon? Is the TCP port reachable from your WordPress?
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] bilingual or multilingual walletAfter doing some tests I see that you are correct, there is an issue with translations. I will diagnose and fix this as soon as possible and get back to you. Thank you for reporting this and my apologies for the trouble.
Alex