Skip to content

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

Open
@kayagokalp

Description

@kayagokalp

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions