Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add airdrop example #7

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

noodzAdmin
Copy link

No description provided.

{
address: defaultSigner.address,
asset: {
alphAmount: DUST_AMOUNT * BigInt(11),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here, we need to consider gas fee.
If we add more ALPH here the test should pass (you can try adding ONE_ALPH for example, which is more than enough)

We will improve the error message 👍

@noodzAdmin noodzAdmin requested a review from h0ngcha0 March 2, 2024 05:16
@h0ngcha0
Copy link
Member

h0ngcha0 commented Mar 7, 2024

Question: What is the advantage of using the airdrop contract compared to simple transfers? Simple transfer can have multiple recipients as well.

@noodzAdmin
Copy link
Author

@h0ngcha0
We did this as part of a hackathon task! Besides that, this serves as a good example.

We have also implemented it using simple transfer. You can try it here. Navigate to the airdrop tab. Click on template to download an example csv you can airdrop to!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants