Forum Replies Created
-
AuthorPosts
-
alexg
KeymasterHello,
Unfortunately assets on Tron network are not supported by this wallet adapter.
The reason is that it would be very hard to implement gas management and there is not enough interest. (Incidentally, this is likely the reason why CP requires a deposit of 1 TRX on each deposit address.)
Sorry to disappoint you.
alexg
KeymasterHello,
It sounds like you edited the plugin’s CSS files directly. It’s not a good practice to do that, for the reason you just described.
There are two ways to add CSS rules and have them stay there. Which one you choose is up to you:
1. Create a child theme for your theme. If you google “child theme”, there are multiple guides on how to do this. It’s super easy. Once you have a child theme, you can add all sorts of things on it that are specific to your site, including CSS rules and any random PHP functions that are only useful on your site.
2. Use the Customizer. Go to Appearance -> Customize -> Additional CSS. Add your CSS rules there and hit “Publish”.
When you add rules, make sure to observe rule specificity. You want your own rules to override the rules of the plugin, so your rules need to be more specific. Again, there’s multiple guides on the web on the topic. The one I usually recommend is this one: https://css-tricks.com/specifics-on-css-specificity/
Hope this helps. Again, please open a new thread if you have other questions.
with regards
alexg
KeymasterHello,
It looks like these are two unrelated errors:
1. The first error is due to faulty HTML somewhere. Without looking at the page’s HTML, it’s impossible to say what. Did you edit the templates by any chance? If you want me to check the HTML, email me with a link to the page (and also let me know if you edited any php files).
2. This is due to a transfer to, or from, a user who does not have the
has_wallets
capability. You should assign thehas_wallets
capability to the user role or roles that correspond with your users. See:Settings -> Bitcoin & Altcoin Wallets -> Capabilities – > General Capabilities
For a discussion about capabilities, please read the documentation. You can find the documentation in the plugin, or at:
– https://github.com/dashed-slug/wallets/blob/6.1.8/docs/settings.md#capabilities-caps
– https://github.com/dashed-slug/wallets/blob/6.1.8/docs/frontend.md#uis-overviewHope this helps. Let me know if you have any more questions about any of this.
P.S. In the future, can you please try to open a new thread for each new issue you encounter? These guidelines are for the benefit of others reading this forum. Thank you.
alexg
KeymasterI also tried to enter an exclusion in the “Public REST APIs” box:
wp-json/wp/dswallets/v1/transactions/validate/<id>
But it didn’t work. Perhaps you can ask them how to exclude a public GET endpoint such as:
https://www.example.com/wp-json/dswallets/v1/transactions/validate/tKTENjpMfzZCtjaJ
Then you wouldn’t have to turn the “Private REST APIs” setting off.
alexg
KeymasterHello,
I got a chance to install BuddyBoss and try this out.
The problem you encountered occurs when the following setting is turned on:
BuddyBoss -> Settings -> Privacy -> Private REST APIs
If you turn this off, then validation links will work again.
The response you got appears to me as if it’s canned. I am not sure if they checked their code. Did you explain to them everything I posted here, including the fact that the REST API of other plugins (Event Tickets and Registration) is affected? The plugin is actively disrupting access of other plugins to the WP REST API. If it’s a security feature then maybe it works as intended, but it seems a little strange to me.
In any case, you can turn off this setting and use both plugins together.
Hope this helps.
with regards
alexg
KeymasterHello,
I could not see your screenshot because it’s too big for upload. Can you downscale it, or maybe copy the text?
In any case, I already explained the situation to you: As far as I can tell, BuddyPoss seems to disallow all calls to the WP REST API except for a few ones that they need. Hence the problem with other plugins as well. It really seems like it’s something that they should fix, unless if I’m somehow mistaken, which is possible.
What you should do is tell them what I told you. They should be able to either fix the issue, or at least explain to you why it’s not their fault. You can open an issue at their github.
I don’t see how you can go around this as long as their plugin is enabled.
alexg
KeymasterHello,
Thank you for reporting this error.
It looks like this error is related to BuddyBoss, since it has also been reported in the past for a completely different plugin (Event Tickets and Registration):
https://wordpress.org/support/topic/error-when-connecting-to-stripe-or-paypal/
The validation link is normally handled by a WP-REST API endpoint in the wallets plugin. It does not require you to be logged in or authenticated. The only requirement is that you are the bearer of the correct nonce.
For some reason, BuddyBoss doesn’t like other plugins using the WP-REST API.
This function removes all REST API endpoints, except for their own endpoings:
This is hooked to rest_request_before_callbacks. See here:
https://github.com/buddyboss/buddyboss-platform/blob/2.3.90/src/bp-core/bp-core-actions.php#L486
So basically the BuddyBoss plugin doesn’t seem to allow other plugins to use the WordPress REST API. Not very nice of them. Please tell them.
with regards
alexg
KeymasterHello,
Ethereum is an often requested feature, mainly because people want to offer ERC-20s.
I have debated this back and forth for some time, and I have decided against it. I have ranted elsewhere on this forum on the difficulties, but to keep it short, the main problem is the accounts model. The plugin needs all the user funds to be in one pot, not on separate accounts, because:
1. it does a lot of off-chain transactions, and
2. it helps you do cold storage, so not all funds can be onlineIn short, an Ethereum wallet would have to manage transfers of deposits to a central address, and that costs gas which has to be somehow managed and this is very flaky and hard to implement. But if someone is interested to implement a wallet adapter that does this, I am happy to provide help.
If what you’re looking for is to introduce custom tokens, then this is not possible at the moment.
I am planning to soon release LND support. After that, I will look into maybe integrating Tarot, which introduces custom tokens/assets on the Lightning network.
If what you’re interested in is smart contracts, then this is definitely out of scope of this plugin, and would require a different plugin altogether.
Thanks for understanding. Let me know if you have any more thoughts on this.
with regards
alexg
KeymasterHello,
This plugin holds user balances on its own DB-based ledger.
It can interface with hot wallets such as Bitcoin core. The complete list of available wallet adapters is here: https://www.dashed-slug.net/howto-choose-between-available-wallet-adapters/
Users can deposit and withdraw to and from the blockchain (including exchange wallets) using the UIs
[wallets_deposit]
and[wallets_withdraw]
. You can see screenshots of the UIs here: https://wordpress.org/plugins/wallets/#screenshotsIf you are interested in connecting to a full node wallet, then you need to setup a Bitcoin core wallet on a server with sufficient resources (static public-facing IP, enough disk space for the blockchain, uninterrupted power supply). See: https://github.com/dashed-slug/wallets/blob/master/docs/install.md
Note that there will soon be a new wallet adapter for this plugin, based on LND by Lightning Labs. This will allow you to offer deposit/withdraw functionality to Bitcoin Layer1 and Layer2 (lightning network). Since LND will be usable via a wallet adapter, there will be the possibility to back your Bitcoin (or Litecoin) wallets with a lightweight Neutrino client. This means that, even if you are not interested in Lightning integration, you can use this to offer Layer 1 Bitcoin services without requiring a server with a huge disk. Neutrino does not download the blockchain but instead uses Bloom filters.
This new option will be available very soon. If you follow the dashed-slug on facebook or twitter, you will see the release announcement.
Please let me know if you have more questions about the plugin. I reply to all queries once per day, Monday to Friday.
with regards
alexg
KeymasterHello. My apologies for the late reply. For some reason I didn’t see your question.
You can head over to https://www.dashed-slug.net/dashed-slug/membership-plans/ and follow the instructions.
Please let me know if you have any more questions.
with regards
alexg
KeymasterHello,
It’s true that CoinPayments is no longer available in the United States.
You can use Bitcoin or Monero with your own full node, or with any full node that is compatible with one of these two technologies (Litecoin, Bitcoin cash, Dogecoin, etc), as described here: https://www.dashed-slug.net/howto-choose-between-available-wallet-adapters/
There is no Kraken or Coinbase integration for technical reasons.
There will not be any additinal support for ERC-20 tokens unfortunately. The only ERC-20 support is for a few select tokens via CoinPayments, and only if you are not based in one of the restricted countries.
In a few days or a couple of weeks tops, I will be releasing a Bitcoin Lightning adapter I have been developing, which is compatible with lnd. The advantage here is that you can have Layer1 and/or Layer2 bitcoin transactions without setting up a Bitcoin core full node which requires a lot of resources. This is because lnd can be installed with a light neutrino client which is based on bloom filters. More on that on the blog on the time of the release. If you follow the dashed-slug on facebook or twitter you won’t miss it.
Hope this helps. Please let me know if you have any more questions.
with regards
alexg
KeymasterFor the record, this has been resolved in version
2.0.0
of the Exchange (and later), which is compatible with version6.0.0
of the parent plugin (and later). Sorry for the long delay guys.alexg
KeymasterHello,
I have since developed this stand-alone script.
Please study the instructions in the script carefully. If you decide to use it, take a backup of your site first.
The script will migrate balances only, not transactions. There is currently no way to migrate transactions quickly. If you have any questions, please let me know.
with regards,
AlexMarch 20, 2023 at 12:03 pm in reply to: CoinPayments API key error: insufficient permission for get_basic_info #12814alexg
KeymasterHello,
My apologies for the late reply. Your message was marked as spam for some reason.
Thanks for bringing this to my attention.
There were several issues involved. One was that it was not possible to disable the tor setting once enabled. However, tor was not being actually used unless you had it enabled in the plugin’s HTTP settings (Settings -> Bitcoin and Altcoin Wallets -> HTTP settings -> Tor enabled).
Please update the parent plugin to
6.1.1
and the CoinPayments wallet adapter to2.0.6
. These updates fix the issues mentioned above.However, I do not believe that this will the issue you report (i.e. API key not having permission for
get_basic_info
). You should definitely re-check the permissions on the API key you are using.Additionally, it is possible that this is a cached error. In the screen with the wallet adapter settings, click on “Clear Cache”.
If you do all of the above and you continue to face problems, please let me know.
with regards,
Alexalexg
KeymasterHello,
Thank you for your continued interest in the plugins.
As per GDPR regulations, I delete all accounts with more than 2 years of inactivity.
Was your account inactive? If so, you would need to pay for new membership.
If you have been paying for membership until now and your account was deleted, please email me.
with regards
-
AuthorPosts