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

Faucet transfers from extension #347

Closed
jurevans opened this issue Jul 28, 2023 · 0 comments · Fixed by #372
Closed

Faucet transfers from extension #347

jurevans opened this issue Jul 28, 2023 · 0 comments · Fixed by #372

Comments

@jurevans
Copy link
Collaborator

jurevans commented Jul 28, 2023

Opening this issue to discuss how we might bring back faucet transfers the interface (or now, extension), as that would simplify testing for users when connected to a devnet.

We originally had a check in the interface when running yarn dev:local that would automatically fund accounts with 1000 tokens (NAM/ETH/BTC/etc). It might be better to simply have an additional UI button and Amount form available when connected to a devnet. As transactions are executed in the extension, it would make sense that they are initiated there, and could dispatch an event to update balances in the interface (if it is currently connected).

Also, as we need to add balances to the Extension accounts overview, it would be more clear that an account has been funded if it was immediately apparent in the extension itself.

NOTE We could just use the presence of a env variable for faucet address to determine if we display a fund via faucet form to users - would be the simplest approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Tested in Devnet
Development

Successfully merging a pull request may close this issue.

1 participant