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

Minting in background. #321

Open
ankur2136 opened this issue Feb 22, 2023 · 0 comments
Open

Minting in background. #321

ankur2136 opened this issue Feb 22, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@ankur2136
Copy link
Collaborator

The user flow right now is a bit blocking.
They have to sign the first message which uploads the file to IPFS and then sign another transaction to mint the NFT.
In between then need to wait for the upload and processing steps.

In an alternative world, how about we do the signing immediately and launch the upload and minting on a background thread. Once both completes, we pop a notification that the mint is complete. The user is technically free to leave the screen at that point and go mint something else. If something fails in between, we can put in retry logic for uploads and if there is a severe issue we could always cache the intermediate steps.

@ankur2136 ankur2136 added the enhancement New feature or request label Feb 22, 2023
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