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

forc-node: local mode should automatically fund the default account or fund #6762

Open
kayagokalp opened this issue Nov 27, 2024 · 0 comments
Labels
enhancement New feature or request forc

Comments

@kayagokalp
Copy link
Member

Currently forc-node local creates a local fuel-core instances that has in-memory db but the user's default account is not funded by default. This would be good and easy addition to forc-node to enable better dev-ex for local developers.

Possible Solutions

  1. Read the local forc-wallet account from default path, if that exists, fund the first account (0th index).
  2. Ask the user if they want to fund a specific account

We can implement one of the options or make them work together and by default we fund the default account if a flag/param exists we can proceed to fund that one too.

@kayagokalp kayagokalp added enhancement New feature or request forc labels Nov 27, 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 forc
Projects
None yet
Development

No branches or pull requests

1 participant