mysteriumnetwork/node

Beneficiary eventual change

Closed this issue · 4 comments

As user it would be nice to be able to change beneficiary wallet in NodeUI without performing withdrawal.

Currently NodeUI needs to call withdraw with beneficiary change endpoint.
Idea: have an endpoint that just accepts beneficiary address without performing withdrawal. Then when next withdrawal is performed (automatic or manual) use the last set beneficiary wallet to perform withdraw with beneficiary change if needed.

n10ty commented

We already have some endpoints in Tequilla API to store and get payout address:
GetPayoutAddress
SavePayoutAddress

This will fail in this scenario:

  1. User sets a new beneficiary using the endpoints
  2. User triggers a settle event using the /transactor/settle/sync or /transactor/settle/sync

In that case the locally saved beneficiary will not be used and user will receive an error or settle the funds in an undesired wallet

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This issue has been automatically closed because it has not had activity for a long time. If this issue is still valid, please ping a maintainer and ask them to label it as "pinned". Thank you for your contributions.