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_ADDRESSES for comma-separated addresses, and merge them to the test account addresses array
- Extend
LocalNetworkConfig (or replace its current testAccount: boolean)
Example Use Case
PREFUND_ADDRESSES=0xMyHappyAddress aztec start --localnetwork
Alternative Solutions
No response
Additional Context
No response
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
PREFUND_ADDRESSESfor comma-separated addresses, and merge them to the test account addresses arrayLocalNetworkConfig(or replace its currenttestAccount: boolean)Example Use Case
PREFUND_ADDRESSES=0xMyHappyAddress aztec start --localnetworkAlternative Solutions
No response
Additional Context
No response