-
Notifications
You must be signed in to change notification settings - Fork 587
Open
Labels
T-feature-requestType: Adding a brand new feature (not to be confused with improving an existing feature).Type: Adding a brand new feature (not to be confused with improving an existing feature).from-communityThis originated from the community :)This originated from the community :)
Description
Problem Statement
What
Add a configuration option to specify additional addresses that should be prefunded with fee juice when starting a local network.
Why
Currently only 3 hardcoded test accounts receive fee juice at genesis. Developers working with custom accounts, pre-deployed contracts, or integration testing need to manually fund addresses after network startup, which adds friction and setup complexity
Proposed Solution
- Add env var
PREFUND_ADDRESSESfor comma-separated addresses, and merge them to the test account addresses array - Extend
LocalNetworkConfig(or replace its currenttestAccount: boolean)
Example Use Case
PREFUND_ADDRESSES=0xMyHappyAddress aztec start --localnetwork
Alternative Solutions
No response
Additional Context
No response
Metadata
Metadata
Assignees
Labels
T-feature-requestType: Adding a brand new feature (not to be confused with improving an existing feature).Type: Adding a brand new feature (not to be confused with improving an existing feature).from-communityThis originated from the community :)This originated from the community :)