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

New token mint fails on first attempt (insufficient funds) #222

Closed
nathanleclaire opened this issue Jul 13, 2022 · 1 comment · Fixed by #253
Closed

New token mint fails on first attempt (insufficient funds) #222

nathanleclaire opened this issue Jul 13, 2022 · 1 comment · Fixed by #253
Assignees
Milestone

Comments

@nathanleclaire
Copy link
Contributor

nathanleclaire commented Jul 13, 2022

Excited to mint my first token in the UI, I went to the page and clicked the button ... and fell flat on my face.

Screen Shot 2022-07-13 at 2 37 52 PM

I happened to know, this was because my wallet was not funded, but users are not going to know that.

see #59 -- I strongly think we should airdrop SOL to accounts that will be paying for things automatically (or load them with Amman as such). Yes, it is educational to airdrop yourself, but --

  1. It is extremely annoying if you do a state reset of the local validator, and
  2. It adds at least the ~15 seconds to confirm the airdrop txn to the "time to first magic" metric
  3. Having a smooth onboarding is more important and users can learn this feature later if needed
@nathanleclaire nathanleclaire added this to the 0.4.0 milestone Jul 13, 2022
@SvenDowideit
Copy link
Member

yeah - this is an expansion on #203 - atm, i'm not disabling buttons that the user can't afford - aridropping on startup doesn't solve this, because it still fails later, when they run out again.

fun fact is that i'm doing quite a few tests on things with intentionally unfunded / underfunded accounts - as it seems very few dapps i've used have actually been tested for this, and their error handling is woeful.

the funnest senarios are where there are many transactions, and your account runs out mid way - no-one (so far) seems to recover and restart - so you've just lost a bunch of time and SOL.

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.

2 participants