Open afeezaziz opened 11 months ago
Faucet is sending RGB20 or RGB21 assets in batches.
Hi, yes the faucet supports sending RGB20 or RGB25 assets in batches.
How do I enable to receive in batches, instead of one UTXO per receive of asset. Thank you in advance for making this repo public.
To receive multiple asset transfers from the faucet to a single wallet you would need to place several requests to the faucet from the same wallet (in the appropriate time frame), so that the faucet would send the all the related transfers in one batch. The faucet is designed to fulfill one request per wallet, so this is not a "supported" use case, but you can modify the faucet in order to accept multiple requests from the same wallet, then what you propose should be possible.
I see that in https://github.com/RGB-Tools/faucet-rgb/blob/master/faucet_rgb/database.py#L21 you are using the "transfer out" as "Request". Perhaps a "DonationReceived" for the information to receive RGB asset.
Not sure what the question is here. The Request
database table is so named as it stores the requests that the faucet received from clients.
Or I can use the top up RGB asset https://github.com/RGB-Tools/faucet-rgb/blob/master/faucet_rgb/reserve.py#L20 and then check the invoices have been paid or not?
The /top_up_rgb
API is there to enable a faucet administrator to send more RGB assets to the faucet in order to top up its reserves.
You can use the /transfers
API to check the status of the faucet's transfers.
Ok, thank you @nicbus , I will update back with screenshots of sending assets in one batch and receiving assets withint one batch.
Thank you for sharing this repo in public.
Faucet is sending RGB20 or RGB21 assets in batches.
How do I enable to receive in batches, instead of one UTXO per receive of asset. Thank you in advance for making this repo public.
I see that in https://github.com/RGB-Tools/faucet-rgb/blob/master/faucet_rgb/database.py#L21 you are using the "transfer out" as "Request". Perhaps a "DonationReceived" for the information to receive RGB asset.
Or I can use the top up RGB asset https://github.com/RGB-Tools/faucet-rgb/blob/master/faucet_rgb/reserve.py#L20 and then check the invoices have been paid or not?