-
Notifications
You must be signed in to change notification settings - Fork 59
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
feat: add batch compress tokens #1563
base: main
Are you sure you want to change the base?
Conversation
66c2bdf
to
37359e5
Compare
programs/compressed-token/src/lib.rs
Outdated
process_mint_to::<COMPRESS>( | ||
ctx, | ||
inputs.pubkeys.as_slice(), | ||
inputs.amounts.as_slice(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ananas-block is inputs.amounts
having multiple amounts?
ideally for this ix we just have a single inputs.amount
and apply it for all recipients
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah I can add an option for that
State