Is there a way for me to merge allocations from multiple addresses too? I forgot to do it. - buinhuan

What are you trying to do?
Is there a way for me to merge allocations from multiple addresses too? I forgot to do it.

What’s not working or unclear?
please help me

What have you tried so far?
please help me

Add any relevant code or error messages.
please help me

1 Like

Yes, you can merge allocations from multiple addresses but it has to be done one address at a time. There are some requirement needed which are: Recipient address, Donor address(es), A Cardano wallet or tool that can produce valid CIP-8 or CIP-30 signatures over messages for each Donor address and Access to a terminal or command line interface, or an API platform that can structure and execute API calls, such as Postman.

To consolidate allocations, you use the Scavenger Mine API’s donate_to endpoint. This lets you “donate” the rewards from one Donor address to a Recipient address.
Both addresses must already be registered under the Scavenger Mine rules.

Once a donation is made, all NIGHT tokens earned by that Donor both past and future will automatically be merged into the Recipient address when the phase ends.

Because the API only takes one Donor and one Recipient per call, you’ll need to repeat this process for each address you want to merge. There’s no single call that consolidates multiple Donor addresses at once.
Once you choose which address will be the Recipient and which ones are the Donor addresses, here’s what you need to do for each Donor address:

  1. Prove you own the Donor address
    Create a CIP-8 or CIP-30 signature using the message provided.
    This is just a way to confirm the address really belongs to you.

  2. Open your command line or API tool
    You can use your computer’s terminal or any API platform you prefer.

  3. Run the donate_to API call
    This call tells the system to move the Donor’s allocation to the Recipient address.

  4. Check the API response
    Make sure it says the donation was successful.

  5. Repeat for every Donor address
    The API only handles one Donor → one Recipient per call, so you just redo the same steps for each address you want to merge.

    I believe this would help.:wink:

2 Likes

A tool to automate this is needed.

2 Likes