Forum Replies Created
-
AuthorPosts
-
alexg
KeymasterHello,
For RPC-based wallets, the wallet is re-scanned every 8 hours or so for all the incoming deposits. Please see here: https://github.com/dashed-slug/wallets/blob/3.7.2/includes/coin-adapter-rpc.php#L693-L746
Withdrawals cannot be loaded from the wallet because only the plugin knows the associations between withdrawals and users.
If you wish to trigger a re-scan of all deposits, you can delete manually the
wallets_listtxs_last_txid_XXX
transient, where XXX is the symbol for your coin. You should not need to do this normally.kind regards
alexg
KeymasterYour deposit should be added to the hot wallet balance, but not to any of the user balances. Did your hot wallet balance not increase? The hot wallet balance is shown in the adapters list page.
alexg
KeymasterGlad you resolved this!
alexg
KeymasterI have same issue – user has deposited coins to its generated adress with us – transaction history shows the deposit on coinpayments – the coins are added to our main wallet ( can be showed in the cold storage (online wallet balance) – but the user newer receives it in their account.
I have wordfence installed and working smoothly – have installed a couple plugins that is not related to your plugin – ( i installed flamingo and contactform 7)
Please advise – wallet shows ZERO for user.
kind regards
alexg
KeymasterHello Alex…
We followed you instructions – all is corrected – thank you.
kind regards
alexg
KeymasterHello,
This is expected behavior. In the settings you specify how much each user will receive.
To revert an airdrop is easy. Every airdrop is assigned a unique tag. You can do this:
1. Backup your database.
2. Log on to your MySQL console (or phpmyadmin)
3. Find your transactions table. Normally it is
wp_wallets_txs
if you have the standardwp_
DB table prefix.4. Figure out a row that corresponds to your airdrop. It will be a recent row with
category='deposit'
and tags “airdrop” and something like “ad-5af46085d815d”. This is the unique id assigned to your airdrop.5. To delete the airdrop given as an example above, do this:
DELETE FROM wp_wallets_txs WHERE tags LIKE '%ad-5af46085d815d%';
That’s it.
alexg
KeymasterWe also have noticed a error on coinpayments wallet that is connected to wallet on our wordpress main wallet.
The sufficient amount that has been paid out to 32 users in the airdrop – was sent from our tron wallet (desktop client) to our main account on website. Landed on our coinpayments account and credit to our tron wallet on coinpayments. However it never was sent to our “wordpress main wallet and showed on the main user there” ..
The airdrop was done – credited 32 users with 2000 tron to each user – instead of sharing 2000 tron between 32 users.
How can we correct this – ever user has now 2000 tron – instead of 32/2000 = 62.5 tron
How do we roll back – correct the users wallet.
How do we make sure the correct amount (2000 tron) is sent to our main WordPress wallet.Kind regards
alexg
KeymasterTo correct –
We paid out to much to each user – instead of one amount to be shared by all users.
We have deactivated the specific wallet.
Can i change the airdrop – roll back , delete from database – withdraw from users account ?
Kind regards
alexg
KeymasterThank you for sharing your code. This is indeed how you would use the exchange’s PHP API to pull the minimum bid and maximum ask prices for a market. You can also have access to the latest price exchanged with
$market_summary->last_price
.Once quick comment, you are checking for
if ($ask == " ") {
. This might work, but to be safe, I would writeif ( ! $ask ) {
. You are not interested in whether$ask
is empty but whether it is truthy or falsy. (See http://php.net/manual/en/language.types.boolean.php)kind regards
alexg
KeymasterThank you very much for reporting your findings.
Yes, the role editor is useful only if you need to edit roles, otherwise the roles you have will remain as they are even without the plugin.
Glad to hear that you got it working!
regards
alexg
KeymasterHello,
This would only happen if you have entered a different username/password in your coin adapter than in your wallet.
There are two ways you can set a username and password in a bitcoin-like wallet, these are
1.
rpcuser
andrpcpassword
, and
2.rpcauth
Make sure that you are using only one or the other type.
Then go to your adapter settings and check that you have entered the same values in the “user” and “password” fields.
Please let me know if you encounter more problems.
kind regards
Alexalexg
KeymasterAs an admin, please see the instructions at https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/fiat-coin-adapter-extension/
As a user, you cannot perform fiat deposits by yourself.
kind regards
alexg
KeymasterIn version
3.7.2
of the plugin, exchange rates are now shown with 4 decimals.alexg
KeymasterIn version
3.7.2
of the plugin, exchange rates are now shown with 4 decimals.alexg
KeymasterThe URL for the reload button is now dynamic, and will work even if the site is in a subdirectory in version
3.7.2
. -
AuthorPosts