• Resolved David Okoli

    (@enochdavid)


    Does your plugin or website offer autopayouts in BTC to members. So for example, I provide wallet addresses and your plugin automatically sends out the specified amount of BTC to the wallet addresses provided?

    Please help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author dashed-slug.net

    (@dashedslug)

    Hello,

    The plugin does NOT offer any autopayout feature. There is an Airdrop extension to the plugin, and this can handle recurring “deposits” to your user accounts, but then the users would have to withdraw their accumulated balances manually, using the [wallets_withdraw] shortcode.

    Having said this, you can program one easily yourself, with your specific requirements.

    The plugin’s PHP API for creating transactions is documented here:

    https://wallets-phpdoc.dashed-slug.net/classes/Dashed_Slug_Wallets_PHP_API.html

    You could create a plugin that checks the balance of a user, does some logic, and issues a withdraw transaction. (Filters: wallets_api_balance and wallets_api_withdraw).

    If you do this, then you may also want to disable user confirmations for transactions. See the settings at Wallets -> Confirmations.

    Hope this helps.

    with regards,
    Alex

    Thread Starter David Okoli

    (@enochdavid)

    Okay, thank you. How about manually or automatically crediting users wallet addresses on the dashboard.

    For example, I select multiply users and thereafter forward an amount of cryptocurrency to them at once?

    Plugin Author dashed-slug.net

    (@dashedslug)

    This can be done with the Airdrop extension.

    Simply assign a User Role to the users who want to be affected, and then perform an airdrop to that user role. The amount can be a fixed amount or a proportion of another balance that they already hold.

    To perform a single airdrop manually, use Tools -> Airdrops.

    To perform a recurring airdrop (i.e. one that executes on regular intervals), create a new Airdrop via the admin interface. This will execute repeatedly with the parameters that you choose (unless if the wp-cron mechanism is disabled on your site).

    Note that the Airdrop extension does not actually transfer funds, it only creates “fake” deposits to the affected users, so that their reported balance increases. It is up to you to ensure that the hot wallet balance is large enough to accommodate for the users withdrawing their new funds. After your airdrop, go to Wallets -> Adapters and compare the hot wallet balance with the sum of user balances.

    For more information on the Airdrop extension, see here: https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/airdrop-extension/

    with regards

    Thread Starter David Okoli

    (@enochdavid)

    Okay, thank you very much

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Auto payout’ is closed to new replies.