stellar / stellar-disbursement-platform-backend

Stellar Disbursement Platform Backend
Apache License 2.0
36 stars 22 forks source link

Feature Request: Known Wallet Address Support #410

Open marwen-abid opened 2 months ago

marwen-abid commented 2 months ago

Support using an existing wallet address for disbursements as an alternative to receiver registration.

What problem does your feature solve?

Currently, the SDP requires receiver registration through SEP-24 before disbursing funds. This process can be redundant when the organizations disbursing funds already have access to the receiver's wallet address, leading to unnecessary steps and delays.

What would you like to see?

We propose adding support for Known Wallet Address in the disbursement process. Specifically, we should:

  1. Add a new column named wallet_address to the CSV file containing the disbursement instructions.
  2. Upon initiating the disbursement and creating the receiver and receiver_wallet, we automatically set the receiver wallet status to REGISTERED.
  3. When a wallet_address is provided, bypass the SEP-24 registration process and directly disburse the funds to the receiver's wallet if the wallet is valid (i.e. it exists on the network, has the appropriate trustlines, etc.)
Oyase-shinobi commented 2 months ago

hello @marwen-abid I can fix this issue may I take the issue?