Forum Replies Created
-
AuthorPosts
-
alexgKeymaster
Hello,
1. Which version of the parent plugin are you using?
2. Which version of the adapter are you using? (versions of the wallet adapter before3.0.0
are for versions of the parent plugin before6.0.0
)
3. What do you mean by “it does not allow me to enter”? What do you see on the screen?Let me know. Thank you.
alexgKeymasterHello,
Sorry but everything in this plugin is built specifically to use its own ledger, not MyCred. I have moved from using a ledger based on custom SQL tables to using CPTs as a ledger, and this has its advantages, but this change required 2 years of work and a complete rewrite of the plugin. What you are thinking of would be an extension to MyCred, which would be a different thing altogether. It’s out of the question for me to do this.
Perhaps someone interested in building MyCred extensions can do this. Interfacing with the wallets is the easy part.
with regards
P.S. Apologies for the late reply. I wasn’t notifies about this thread. I will look into this.
alexgKeymasterHello,
What coins you can add depend on the wallet adapters available. (coin adapters before wallets 6.0.0)
If you are a PHP developer you can develop your own adapters. If not, then you can add coins that are forks of Bitcoin, Monero, or Turtlecoin at the moment. No ERC-20 or other tokens, besides what is available via the CoinPayments adapter.
It is not possible to use exchanges such as Binance API as wallet backends for the plugin. This is because these APIs do not allow you to manage multiple deposit addresses, and this is needed to differentiate between deposits of different users.
with regards
P.S. Apologies for the late reply. I wasn’t notifies about this thread. I will look into this.
alexgKeymasterHello,
The scripts are for WordPress only.
with regards
P.S. Apologies for the late reply. I wasn’t notifies about this thread. I will look into this.
alexgKeymasterHello,
This is very easy to do with wallets 6.0.0 from the admin interface. In previous versions of the plugin you had to insert rows to the database or perform an airdrop.
with regards
P.S. Apologies for the late reply. I wasn’t notifies about this thread. I will look into this.
alexgKeymasterHello, hope you are well!
Thank you for asking about the development, it’s going well!
I actually have recently completed all development, and documentation is also finished. I have focused on writing more clear PHP code and more clear and simple English text at the same time. Hopefully the plugin and its features will be more accessible and less obscure, thanks to the improved documentation. I haven’t yet started improving the website texts but I plan to do this next.
I still have quite a few tickets in my backlog, but it’s all integration testing tickets. I’m trying to anticipate as many problems as possible before the release. I had high hopes of improving correctness with better unit test coverage. But I am quickly gaining more practical experience on this. Contrary to what they teach you in university, unit tests are not all that useful, at least compared to integration tests. If you know how to code defensively, defects are rarely due to errors in the system, usually defects arise at the interface between systems (WordPress API, other plugins, themes, web browser, web server limitations, database peculiarities, etc).
After every major software release, there’s an avalanche of defects that will surface, once more people test on different environments with other themes and plugins. I am trying to mitigate that effort and make the transition smooth for all of us, by formulating a rational release plan.
So for now, I continue testing and preparing the necessary website changes for a few more weeks, then I’ll upload an RC1 version on the dashed-slug website. Then people can test again, likely leading to more Release Candidates. When a release candidate looks stable enough, I’ll upload it to wordpress.org and focus on the complaints that users will inevitably have.
Once support requests die down (sometime in the summer, hopefully right in the middle of the bear market), I will focus on more improvements and will resume advertising and promotion campaigns.
I know I said earlier that I would put my focus on ERC-20, and it might still make sense to do so. My gut feeling is that Eth2 will come out and scale and will displace all the “ethereum killers”. But with the recent Luna fiasco and upcoming regulation, interest in tokens will inevitably deflate somewhat. I believe Bitcoin emerges again as the king of crypto, and maybe I should focus first on interconnection with the Lightning Network before anything else.
On the app side, I have ideas about a paywall extension. This would be similar to the *Tip the Author* extension: it would let you see a page or article only after you pay for it. It should be a simple extension to develop, but with many commercial applications.
I realize that this transition has taken way too long, much longer than expected, and that I have become less responsive to feature requests. But as I work on this project, I am evolving my thinking in terms of what a business is, how to provide a good quality product, and the economics of it all. I’m now trying to take things slow and focus on quality and correctness. Let’s see how it goes.
I know some of you are anxious to see wallets6, I have hyped it a lot lately, because I am excited with it as well.
As always, it will be ready “soon”™ 🙂
with regards
alexgKeymasterThank you @Plug for sharing your success with YellowPencil. I have never tried it but it looks cool.
@timah1993, if you decide to write CSS directly, instead of using a styling tool, just be mindful of rule specificity. If you are trying to do something specific with CSS, perhaps I can help with the rules.
alexgKeymasterHello,
Sorry about this. The UIs are not meant to be used on mobile, since I am not a mobile developer! The UIs simply output some markup and you, the web developer, can style them any way you want. The UIs have all the classes you need to apply CSS easily.
The way I see it there are two ways to approach this problem:
1. One is to reduce the font size and reduce the padding size, hoping that all the information will fit on the screen. The easiest way to control the text and padding sizes is via the Customizer, but you can also use CSS for this.
2. The other way would be to display the balances first, then display the available balances in another UI. You can do this by using the shortcode twice, consecutively: First hide one column in the first UI, then hide the other column in the second UI.
Here’s how you would hide the available balance from one UI and the total balance from the other UI:
.dashed-slug-wallets.balance.balance-list:nth-child(odd) table .available_balance { display: none; }
.dashed-slug-wallets.balance.balance-list:nth-child(even) table .balance { display: none; }
You can always add your CSS rules in: “Customizer” -> “Additional CSS”.
Of course, the UIs are overridable, in case you want to provide your own markup. The documentation discusses this in the section: “Frontend” -> “Template modifications” -> “Modifying markup”.
Hope this helps.
with regards
alexgKeymasterNo, this is what the chart looks like.
alexgKeymasterHello,
The matrix shows the editable roles. Normally for an admin this should be all the roles.
Are you logged in with a user that does not have the
edit_users
capability?April 5, 2022 at 5:57 am in reply to: Cannot create new market in settings because add/delete buttons don’t work #11654alexgKeymasterHello @timah1993,
There’s quite a bit of JavaScript bound to these buttons (
wp-contents/plugins/wallets-exchange/assets/scripts/wallets-exchange-admin.js
. If the code didn’t load, or if it caused a plugin conflict, like @plug suggested, this should be visible in the browser’s developer tools.Please open the JavaScript console (F12), go to the console tab, and refresh the page. There should be several warnings, but are there any errors? Can you show me the errors if any?
with regards
alexgKeymasterAn alternative to the above would be to simply add the following in your child theme’s
functions.php
:add_action( 'wp_enqueue_scripts', function() { wp_add_inline_script( 'wallets-exchange', <<<JS jQuery('html').on( 'wallets_ready', function( event, coins, nonces ) { wp.wallets.viewModels.walletsExchangeChart.selectedTimeframe('1d'); } ); JS ); } );
The
JS
characters must be the first characters on the line, because they close a heredoc string.alexgKeymasterI forgot to mention, delete the minified JavaScript file
wallets-exchange-{version}.min.js
so that the plugin will fall back to the code you’ve edited.alexgKeymasterHello,
It is unfortunately not currently possible to change the defaults. (This will be easy in the upcoming release, since the JavaScript code attached to the views will be overridable.)
For now, you can go ahead and edit the file
wp-content/plugins/wallets-exchange/assets/scripts/wallets-exchange.js
on line 1260:self.selectedTimeframe = ko.observable( '30m' );
It’s safe to edit this file because I don’t expect to be releasing any more exchange versions before the wallets6 release.
The chart already uses the TradingView library.
with regards
alexgKeymasterHello,
According to my records, your membership was expired because the latest payment was more than one month ago. If you want to discuss this further, please contact me over email, I’ll be able to show you the details I have. If you believe there has been a mistake we can sort it out.
with regards
-
AuthorPosts