dashed-slug.net › Forums › CoinPayments.net Wallet Adapter extension support › CoinPayments Adapter failed to discover list of available coin
Tagged: censorship, coinpayments, GeoIP, tor
- This topic has 9 replies, 2 voices, and was last updated 2 years, 5 months ago by alexg.
December 7, 2020 at 5:29 pm #9552
I have activated more coins recently. everything pertaining to BTC and eth has been disabled from the user frontend.
Suddenly I got the error on wp-admin
“CoinPayments Adapter failed to discover a list of available coins: The API call returned an error: Invalid user associated with this key”
coinpayment has now blacklisted my country,coinpayment can no longer serve to my country… so I can’t log in to coinpayment again.
I have tried deactivating and reactivating the coinpayment plugin, but still the same error.
@alex, is there a way to solve this issue from the admin panel ???? pls help me?December 8, 2020 at 8:39 am #9554
There are several users of the plugin in your country, but this is the first time I hear about this. If what you say is true, several users will encounter issues.
A quick look confirms that your country is in the list of restricted countries: https://www.coinpayments.net/help-restricted
Your country was not on the list on the 1st of November: https://web.archive.org/web/20201101144751/https://www.coinpayments.net/help-restricted
But it was added on the 19th of November, so it must have been added within that timeframe: https://web.archive.org/web/20201119111917/https://www.coinpayments.net/help-restricted
There are two problems here. One is technical (your IP is being geo-filtered), and one legal (you are legally not allowed to access the service from your country).
There is little you can do for the legal aspect besides moving to another country. It’s their service and they can do whatever they want. But I would be surprised if they did not somehow return the coins to you. You should at least contact them about that.
This is exactly the reason why full node wallets are needed in the world: a full node wallet is borderless and un-censorable. If you use a third-party service you must play by their rules.
Unfortunately not all the coins supported on CoinPayments can be connected as full node wallets to the plugin, only the types of coins listed here: https://www.dashed-slug.net/howto-choose-between-available-coin-adapters/ Most notably, there is no ERC-20 adapter for the plugin at the moment.
For Bitcoin, Litecoin and other such coins, you could set up full node wallets and connect to them. If you do this, I can help you through by answering any questions you may have about the process. To see how you can swap a coin adapter with an alternative one, please see the FAQ under “I want to replace an adapter with another one.”
Hope this helps a little. Please let me know if you have any more questions for me.
P.S. As a sidenote, technically, you could bypass the GeoIP filter, if you used tor as an HTTP proxy. The CoinPayments platform allows anonymous connections via https://coinpaymtstgtibr.onion/. The CoinPayments adapter allows you to set a tor proxy under “Wallets” -> “CoinPayments” -> “HTTP Settings”. All of this is theoretical. I cannot actually recommend that you do this, because it might be illegal; I am not a lawyer, so I’m not sure. All I know is that if someone were to connect to the CoinPayments platform via tor, the platform would likely not know which country the connection was coming from. You would probably need to run a tor node on a server and connect to it. Again, this might not be allowed, so don’t do it if it’s not!December 8, 2020 at 3:25 pm #9557
Thank God, I have moved all coin before the blocking
But, Over 200+ members rely on their wallets (and it’s not showing anymore).
but, we have sent a broadcast mail to our members saying we are going through the technical problem(for now).
if this doesn’t get resolved ASAP. My company gonna look as fake
BEFORE I TRIED FULL NODE, I have a few questions, so that I can quickly get users_balance to show ASAP
can I connect another coinpayment account that has a non-restrict GEoIP?
and if it did connect successfully, will user balance show aggain?December 8, 2020 at 6:09 pm #9559
It’s great to hear that you have the coins. That’s the important thing.
If you connect to an account that is not restricted, you could get blocked again, if you are contacting again from a now restricted country. As long as they can see a connection coming from an IP that belongs to your country, they can immediately ban the new account as far as we know. I am not sure about this, because I do not know how CoinPayments chooses to enforce their terms of service. If you were to use a server outside of your country that may be considered OK, but again I don’t know how their terms of service are interpreted.
If you manage to connect the plugin to a new account, however you do it, then the plugin will again show the same user balances and transactions. Here’s what you should do:
1. Go through the setup process for the new account: https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/installation-instructions-web-wallet/
Set the account’s API key permissions. Set the new secrets in the plugin settings. Enable the same coins on CoinPayments. And finally enable the same coins in the plugin settings.
2. Transfer all the user funds to the wallets of that new account. This will fill up the hot wallet balance.
3. Check to see, for each coin, that the hot wallet balance is equal to or larger than the sum of user balances.
Now the users can use the plugin again and/or withdraw their funds. You can inform them about this.
I hope to have helped, I understand that situations like these can be stressful. But all the data is in your database, and you have the funds. If it is possible for you to connect from an account that is allowed on the platform, then you can recreate the wallets without too much work.
Please contact me if you have any more questions.
regards and good luckDecember 9, 2020 at 5:16 am #9562
I need to get started with the full node you recommended earlier..
Pls help me out,how to set up.the full node.
Kindly find the attached file, is that the first step to download the node??
Attachments:You must be logged in to view attached files.December 9, 2020 at 8:06 am #9564
You would need to setup one wallet for each coin that is supported. I am not sure how many coins you had enabled. See the coin adapters list to determine which coins you can set up a wallet for. Forks of Bitcoin, Monero, and TurtleCoin are supported, while Ethereum, ERC-20 tokens and most stablecoins are not supported.
Starting with Bitcoin, yes, that is one way of downloading it. Please note that you will need some knowledge of Linux. If not, hire a developer or other technical person to do this. The installation is not hard, but it’s almost impossibly hard if you don’t understand Linux and the shell.
First see the requirements for the server that will run the bitcoin core client.
Set up the server that will run the wallet. Depending on what your Linux distribution is, it’s best to find installation instructions for your particular distro. For example, there are installation instructions for Ubuntu, Debian, CentOS, etc. Follow an article with instructions for your distro. If you need to build from source, you can use the github release from here, to be safe: https://github.com/bitcoin/bitcoin/releases/tag/v0.20.1
The plugin comes with a built-in adapter for Bitcoin core. (“Wallets” -> “Bitcoin Core Node (BTC)”) Enable it and configure it. I have some instructions here on how to do this: https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/installation-instructions/
If the wallet server is different to the WordPress server, you will also need to take care of any firewalls blocking communication.
Note that you should also turn the wallet into a service on your system. If the wallet crashes or if the system restarts, you want the wallet to be restarted and to be available again for the plugin. How you do this will again depend on your distribution. I have put some instructions here for systemd: https://www.dashed-slug.net/forums/topic/ssh-install/#post-6619
Hope this helps. As always, let me know if you have any questions.
P.S. For general information about installing Bitcoin Core, you can also get help from https://bitcointalk.org, https://reddit.com/r/Bitcoin/ and https://bitcoin.stackexchange.com/ The stackexchange QA site is excellent, lots of good info there.December 10, 2020 at 9:03 am #9573
before I fully configure the full node.. I have partially installed Block.io to keep the user balance shown.
but..configuring the node, I will need ur help.. pls
after downloading and installing the node on my window pc.. that is what shown??
Question: does that mean that I have to wait till all transaction have been downloaded on my pc, before i could perform any operation??
Attachments:You must be logged in to view attached files.December 10, 2020 at 9:17 am #9575
You cannot run it on your Windows PC at home and expect to connect from your WordPress server.
You need to hire a dedicated Linux server to run it online. Also note the hardware requirements.December 10, 2020 at 3:34 pm #9582
thanks for the honest reply @alex
however, will this article help to install on linux server?December 11, 2020 at 8:20 am #9583
This article guides you to:
1. install bitcoin from source
2. allow bitcoin on ufw
3. setup cron to start bitcoin on reboot
The instructions for installing from source are good.
The instructions for ufw are good if you are using ufw. This is a popular firewall for Ubuntu. If you are running a different distribution, you may have another firewall. This is why I suggested that you find an article for your distribution.
Also note that your hosting provider might be running firewalls around their network too that block access to your wallet’s RPC port.
The cron trick is something I haven’t tried, I usually set bitcoin as a service on systemd, but this may work too.
Please remember, system administration is not something that you can pick up from an article. It’s the details that get you. Can you set online backups for your wallet file? Can you check the logs if something breaks? Can you fix permission issues? Can you harden the security of your distribution? Can you keep the distribution packages updated to maintain security? All of these things are relevant when you are doing administration work.
If you are unsure about what you’re doing, then ask a professional for help. Otherwise you will be frustrated with all the details.
Best of luck
- You must be logged in to reply to this topic.