dashed-slug.net
Forum Replies Created
-
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] Show Bitcoin Altcoin balance in frontendyou’re welcome
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] Show Bitcoin Altcoin balance in frontend1. There is currently no way to show the balance of only one coin. The wallet displays the balances of all enabled coin adapters. If only one coin is enabled, the dropdown is not shown. I will add your request to the backlog.
2. The balances shown are indeed the balances of the current user.
3. There is currently no shortcode to display the exchange rate data, but I do intend to add one in the near future.
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] Show Bitcoin Altcoin balance in frontendHi,
There’s three ways to show user balances:
1. Use the
[wallets_balance]shortcode.2. Use the respective balances widget in your theme’s widget area. Go to Appearance -> Widgets to do that.
3. Add the special menu item provided in Appearance -> Menus -> Bitcoin and Altcoin Wallets balances.
regards
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] The Bitcoin RPC API cannot be contacted.You are very welcome. Glad you got it working.
If you do have another issue with the main plugin, open a new thread here. If you face an issue with the coin adapter, you can post it at the support forum: https://www.dashed-slug.net/forums/forum/coinpayments-net-coin-adapter-extension-support/
regards
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] The Bitcoin RPC API cannot be contacted.Great, you’re almost there! I see you have been following the instructions at https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/coinpayments-adapter-extension/
On that same page you will find the download for the CoinPayments adapter.
You will need to disable the bitcoin core adapter. The plugin will warn you about this.
Keep in mind that once you get it working, you will have a number of problems and questions with the plugin. Do read the website and documentation. It’s there to save you time.
kind regards
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] The Bitcoin RPC API cannot be contacted.A link to installation instructions for bitcoin core is provided in the plugin’s readme.
General knowledge of system administration is outside the scope of the documentation I provide for the plugin. If you are having trouble doing this, I will again recommend that you install a cloud wallet instead. Connecting to a local wallet is mostly for people who are comfortable with the Linux command line and networking. I’m only mentioning this to save you from some frustration.
If you have good reasons to want to proceed with connecting to your own bitcoin wallet, you can use nc to check that the port is open. Whether you are on a mac or pc is irrelevant. You will need to ssh to the WordPress machine and use nc like so:
https://superuser.com/questions/621870/test-if-a-port-on-a-remote-system-is-reachable-without-telnet
You are not only looking at whether the port is open or not, but also if it is reachable from your WordPress machine. What server are you running the bitcoin daemon on?
If on the other hand you find it difficult to setup your network, you can always install the CoinPayments adapter: https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/coinpayments-adapter-extension/
regards
- This reply was modified 8 years, 6 months ago by dashed-slug.net. Reason: added mention of install instructions for bitcoin core
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] The Bitcoin RPC API cannot be contacted.Have you eliminated all the other issues I mentioned? Connectivity, linux firewalls, etc? Have you checked that your daemon is running? Have you restarted the daemon after changing your conf file? Can you perform a connection from WordPress to the port you opened via other means (telnet, nc, etc)?
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] The Bitcoin RPC API cannot be contacted.Since it seems like you are getting started, I believe you would benefit from reading the glossary section in the documentation. The concept of coin adapters and app extensions, which is central to the plugin, is explained there. It will save you some time. The plugin has one coin adapter built-in, the one for bitcoin core. Other coin adapters are installed as separate WordPress plugins.
You will also benefit from downloading the free PDF because there is a troubleshooting section in there. I have assembled a list of the most common problems that people have when first installing the plugin.
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] The Bitcoin RPC API cannot be contacted.Either use
rpcuserandrpcpassword, or instead userpcauth(rpcauth is better because your credentials are salted). This is detailed in the bitcoin documentation https://en.bitcoin.it/wiki/Running_Bitcoin#Bitcoin.conf_Configuration_FileEnter your credentials in your coin adapter settings. Then copy the information presented to you into the conf file.
The video is from a time before I implemented salted credentials into the plugin.
regards
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] The Bitcoin RPC API cannot be contacted.The video is for people who want to install and maintain their own bitcoin wallet running on their own server. If this is what you want to do, and you understand the implications, then you did well to follow that video.
The error you see is a generic error for when connectivity between your WordPress and the bitcoin wallet doesn’t work, for whatever reason (think firewalls, invalid credentials, misconfiguration of the wallet, etc).
As I mentioned earlier, it seems you have not entered a username in your adapter settings. I say this because in the auth line there should be a username between
=and:. You must enter the same username, password and TCP port as you did in bitcoin.conf.Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] The Bitcoin RPC API cannot be contacted.Hello,
What exactly is the problem? Are you trying to connect to a local bitcoin wallet daemon? It seems you have not entered a username into the built-in coin adapter settings.
If you don’t know what all of that is, perhaps you should use one of the cloud wallets. Please read the readme to see what’s available. There is also a discussion of coin adapters. Most people nowadays use the CoinPayments adapter extension, because it’s much easier.
There’s also PDF documentation with a troubleshooting section. See the bundle download on the dashed-slug website.
kind regards,
AlexThis is now solved in 2.10.0
Glad to hear that your immediate problem was solved.
I will continue to look for an explanation as to why this happened because at least two more people had the problem.
regards
AlexOK apologies, I see now that I created some confusion by pasting SQL code here. All of the errors you report above are due to quotes being reencoded with different quote characters. Please try this instead
(for prefix
ccmd_): https://pastebin.com/Ssybv1qY
(for prefixwp_): https://pastebin.com/huhbVPDTIf these commands give you any error, please report it here.
- This reply was modified 8 years, 7 months ago by dashed-slug.net.
It looks like the quotes were not correctly copied.