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 assets to multiple tokens with single call #55

Closed
bobo-k2 opened this issue Mar 20, 2023 · 0 comments · Fixed by #62
Closed

Add assets to multiple tokens with single call #55

bobo-k2 opened this issue Mar 20, 2023 · 0 comments · Fixed by #62

Comments

@bobo-k2
Copy link
Contributor

bobo-k2 commented Mar 20, 2023

I am using a script for RMRK collection building process. The script mints all tokens to a single account and at one point it is calls addAssetToToken, for each token in the collection. I think there should be a way to have a single call to add assets to multiple tokens, because otherwise building a RMRK collection can take a very long time.
E.g. in my case I need to build 20000 tokens collection. If I batch addAssetToToken calls and execute batches, it will took me more than 16 hours to build the collection. Currently, it is possible to add max. 4 addAssetToToken calls to a batch because of weight (proofSize) limitation.

@Maar-io Maar-io linked a pull request Apr 22, 2023 that will close this issue
3 tasks
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 a pull request may close this issue.

1 participant