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

refactor: allow for scripts that create notes with multiple assets #440

Open
tomyrd opened this issue Jul 17, 2024 · 0 comments
Open

refactor: allow for scripts that create notes with multiple assets #440

tomyrd opened this issue Jul 17, 2024 · 0 comments

Comments

@tomyrd
Copy link
Collaborator

tomyrd commented Jul 17, 2024

I think this will create as many notes as there are notes * assets combinations. For now, I think we should assume that each note has only 1 asset and return an error otherwise (for faucets that should always be the case anyway).
The proper way to make this work is to add send_note procedure the BasicWallet interface. This would work similarly to the current send_asset but it would allow creating notes with 0 or more assets.

Originally posted by @bobbinth in #438 (comment)

This issue also requires a new procedure for basic wallets to be implemented first in miden base.

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

No branches or pull requests

1 participant