Closed nathanleclaire closed 2 years ago
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.
Excited to mint my first token in the UI, I went to the page and clicked the button ... and fell flat on my face.
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 --