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

Implement efficient airdrops in split #4081

Open
raphjaph opened this issue Nov 15, 2024 · 8 comments
Open

Implement efficient airdrops in split #4081

raphjaph opened this issue Nov 15, 2024 · 8 comments

Comments

@raphjaph
Copy link
Collaborator

This can either be done implicitly by recognizing that the split.yaml is airdropping the same amount to multiple outputs or explictly by introduction a mode in the split file called even or airdrop.

For reference #3658

@bingryan
Copy link
Contributor

#3886

@kelven7224
Copy link

#3886

1 similar comment
@kelven7224
Copy link

#3886

@dcorral
Copy link

dcorral commented Nov 22, 2024

What is the limit for a split?
How many outputs (aprox) can you fit in one split.yml?

@raphjaph
Copy link
Collaborator Author

Probably around 9000 P2TR outputs with 2 P2TR inputs and an 83 byte OP_RETURN

https://bitcoinops.org/en/tools/calc-size/

@blieb
Copy link

blieb commented Nov 23, 2024

Was testing it on testnet, when I added more than 5 it did not fit in op_return anymore

when I did it with 100 outputs:
error: runestone size 3351 over maximum standard OP_RETURN size 83

@dcorral
Copy link

dcorral commented Nov 24, 2024

when I did it with 100 outputs: error: runestone size 3351 over maximum standard OP_RETURN size 83

Exactly.

What I really meant is how many explicit edicts can you add to a split file? I guess it depends on the amount size of the edicts?

@raphjaph
Copy link
Collaborator Author

raphjaph commented Nov 26, 2024

Probably around 9000 P2TR outputs with 2 P2TR inputs and an 83 byte OP_RETURN

https://bitcoinops.org/en/tools/calc-size/

This is wrong, I was assuming a max standard size of 400000 Bytes but it's actually 100000 Bytes. So I think that would be around 2300 outputs.

What I really meant is how many explicit edicts can you add to a split file? I guess it depends on the amount size of the edicts?

At the moment the split file does one edict per entry so you reach the OP_RETURN standardness limit of 83 bytes after around 10 edict. If you do an even split you can however do less edicts. See #3658

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Runes
Development

No branches or pull requests

5 participants