Forum Replies Created
-
AuthorPosts
-
alexg
KeymasterIf you are referring to the Exchange extension, then no, I do not have a referral program for it yet. This feature has been requested before and is in my backlog.
with regards
alexg
KeymasterStake rewards are not added to the admin account or any other account. Therefore, nothing needs to be written to the DB.
POS rewards are simply added to your hot wallet. This is why you have an indication of total sum of user balances and hot wallet balance: so that you know what portion of the hot wallet balance is available to you and what part is for the users. It is also there so that you know what percentage you have offloaded to cold storage.
The cold storage is a security feature, it has nothing to do with how much money the admin account has. You can read more about it in the documentation.
I will look into sending an email notification to the admin when you receive POS rewards.
with regards
alexg
KeymasterIn version
3.8.0
of Bitcoin and Altcoin Wallets, the deposit UI does not display a QR code for fiat coins. For the plugin to know which coins are fiat it needs a working fixer API key.alexg
KeymasterIn version
3.8.0
of Bitcoin and Altcoin Wallets, user transactions and addresses are now deleted if a user is deleted by an admin.alexg
KeymasterIn version
3.8.0
of wallets there is now a URL that you can use to trigger the cron tasks. Please see the release notes.alexg
KeymasterHello again.
I am not sure that I made the problem clear enough. It is not a matter of technical implementation. The stakes cannot be assigned to users. A stake amount is dependent on the total staked balance amount, not the balances of individual users. There is no 1-to-1 mapping of address balances and user balances. Hence the need for an investment plugin extension, which I have not yet developed.
Deposit transactions are normally discovered by the coin adapters and are transmitted into a handler
Dashed_Slug_Wallets_TXs->action_wallets_transaction()
via thewallets_transaction
action. But this will not help you insert stake rewards into the DB.hope this is a bit more clear
alexg
KeymasterHello,
The
-walletnotify
mechanism is used with Bitcoin-like RPC wallets to notify the plugin that an incoming deposit exists.The plugin does not distribute POS dividents to users, therefore there is no “stake” category for transactions. Any stake earnings are added to the hot wallet balance of the site, not to any user balance.
In the future there might be a divident-paying plugin extension, but this is not implemented yet.
If you would like to be notified of stake rewards from your wallet, you will probably have to find another way. Having said this, maybe you could implement your own code that binds to the
action_wallets_notify_wallet
action. This will receive transaction IDs. You can then check if these correspond to transactions that are POS rewards using some online service or via communication to a wallet. But this something out of scope of the plugin.with regards
alexg
KeymasterThanks for reporting, I will look into this.
alexg
KeymasterSure. The transactions are loaded via the JSON API
get_transactions
.This uses the filter
wallets_api_transactions
. See here for documentation.If you hook to that filter with a priority higher than 10 you can modify all the data that the frontend receives.
You could simply loop through all transactions and if
other_account_name
is the username of the admin, set it to something else. Please let me know if you encounter any problems with this.with regards
alexg
KeymasterAs you point out, the QR code is simply a representation of the deposit code, but it is not very useful as no other app will be able to use it. Since the
get_coins_info
JSON API already distinguishes between fiat and crypto coins, I will change the UI so that the QR code is not shown.November 6, 2018 at 6:51 pm in reply to: Live sites powered by the Bitcoin and Altcoin Wallets WordPress plugin #5009alexg
Keymasteralexg
KeymasterGood to know. Thanks for reporting that you resolved the issue.
alexg
KeymasterIf you are talking about the theme available here, I tested it and it seems to work fine with the plugin on my machine, at least with its default settings. I can see all UIs of the parent plugin and the exchange extension with no problems. Could it be that there are any JavaScript errors in your console?
alexg
Keymasteralexg
KeymasterHello,
Compared to
0.4.1-beta
, the latest version0.4.2-beta
has differences almost exclusively on the order placement code. There are no other significant differences.Did you encounter degraded performance while placing orders? I cannot think of a reason why the exchange would load data slower. Could you try the API requests and see which one is slower? The network tab in your browser will show you any delays.
with regards
-
AuthorPosts