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

Utilise addPartList instead of addPart #3

Open
Yuripetusko opened this issue Apr 30, 2024 · 0 comments
Open

Utilise addPartList instead of addPart #3

Yuripetusko opened this issue Apr 30, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Yuripetusko
Copy link
Member

Is your feature request related to a problem? Please describe.
When adding many parts I don't want to sign many transactions for each part.

Describe the solution you'd like
We can utilise addPartList method. We should let user set parts and store them in localStorage (using zustand persist middleware) or index db (using idb-keys). And when user is ready to set them on-chain, we can split them in batches by ~15 and use addPartList method instead

Describe alternatives you've considered
Alternatively we can let user choose which option to use. Either save onchain immediatly, or risk losing progress and keep adding parts and save them later

Additional context
Add any other context or screenshots about the feature request here.

@Yuripetusko Yuripetusko added the enhancement New feature or request label Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant