Closed meramsey closed 2 years ago
It looks like there is a setting for saving an XMR address here: https://github.com/monero-integrations/monerowhmcs/blob/master/modules/gateways/monero.php#L20
Curious if the intention of this was for future use to have something auto withdraw from merchant wallet to external wallet(cold/offline)?
I also see what looks to be a transfer function which has not been used as of yet but seems like it could be used? https://github.com/monero-integrations/monerowhmcs/blob/master/modules/gateways/monero/library.php#L325-L333
If so it seems like we should be able to just do a sweep_all periodically if that address is defined https://www.getmonero.org/resources/developer-guides/wallet-rpc.html#sweep_all
via
Figured I'd ask before maybe giving it a stab
Closing this as the feature was included in https://github.com/monero-integrations/monerowhmcs/pull/42
It looks like there is a setting for saving an XMR address here: https://github.com/monero-integrations/monerowhmcs/blob/master/modules/gateways/monero.php#L20
Curious if the intention of this was for future use to have something auto withdraw from merchant wallet to external wallet(cold/offline)?
I also see what looks to be a transfer function which has not been used as of yet but seems like it could be used? https://github.com/monero-integrations/monerowhmcs/blob/master/modules/gateways/monero/library.php#L325-L333
If so it seems like we should be able to just do a sweep_all periodically if that address is defined https://www.getmonero.org/resources/developer-guides/wallet-rpc.html#sweep_all
via
Figured I'd ask before maybe giving it a stab