-
Notifications
You must be signed in to change notification settings - Fork 105
Add miden-node bundled dev command for local development #1874
Copy link
Copy link
Open
Description
To whom is this feature for?
App developer
Why is is this feature needed?
Currently, getting a local Miden node running requires multiple steps: bootstrapping genesis, configuring validator keys, setting up the data directory. This slows down developers who just want a local network to test against.
How is this feature used?
A developer runs a single command miden-node bundled dev - similar to Foundry's anvil, and gets a fully running local Miden network. On every invocation the command:
- Clean the data directory - on every invocation to ensure a fresh state.
- Bootstrap genesis — use a genesis config (ex. 5 wallets with 10,000 MIDEN tokens each) and the insecure development key. Also, accept a custom --genesis-config-file.
- Start all components — launch RPC, block producer, store, and validator as in bundled start.
- Print created accounts (address + name) and the RPC URL so the developer knows what's available.
Anything else?
This is part of the midenup improvement proposal: 0xMiden/midenup#108
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels