@@ -41,8 +41,8 @@ leo devnode start [OPTIONS]
4141| ` --socket-addr ` | ` -a ` | ` 127.0.0.1:3030 ` | Address and port for the REST API |
4242| ` --genesis-path ` | ` -g ` | (built-in) | Path to a custom genesis block file |
4343| ` --manual-block-creation ` | ` -m ` | ` false ` | Disable automatic block creation after broadcast |
44- | ` --ledger-path ` | ` -l ` | (in-memory) | Directory for persistent ledger storage. If ` -l ` is given without a path, defaults to ` ./devnode/ ` |
45- | ` --clean ` | ` -c ` | ` false ` | Clear the ledger directory before starting. Requires ` --ledger-path ` |
44+ | ` --storage ` | ` -s ` | (in-memory) | Directory for persistent ledger storage. If ` -l ` is given without a path, defaults to ` ./devnode/ ` |
45+ | ` --clear-storage ` | ` -c ` | ` false ` | Clear the ledger directory before starting. Requires ` --storage ` |
4646
4747** Examples**
4848
@@ -51,14 +51,14 @@ leo devnode start [OPTIONS]
5151leo devnode start
5252
5353# Persistent, default directory (./devnode/)
54- leo devnode start -l
54+ leo devnode start -s
5555
5656# Persistent, custom directory
57- leo devnode start -l ./my-ledger
57+ leo devnode start -s ./my-ledger
5858
5959# Fresh start — wipe existing ledger before starting
60- leo devnode start -l --clean
61- leo devnode start -l ./my-ledger --clean
60+ leo devnode start -s --c
61+ leo devnode start -s ./my-ledger -c
6262
6363# Manual block creation (blocks only advance when explicitly requested)
6464leo devnode start -m
@@ -120,7 +120,7 @@ leo upgrade --skip-deploy-certificate --endpoint http://localhost:3030
120120
121121``` bash
122122# 1. Start a persistent devnode
123- leo devnode start -l
123+ leo devnode start -s
124124
125125# 2. Deploy your program (in another terminal, from your Leo project directory)
126126leo deploy --skip-deploy-certificate --endpoint http://localhost:3030
@@ -129,5 +129,5 @@ leo deploy --skip-deploy-certificate --endpoint http://localhost:3030
129129leo execute < TRANSITION> < INPUTS> --skip-execute-proof --endpoint http://localhost:3030
130130
131131# 4. Reset and start fresh when needed
132- leo devnode start -l --clean
132+ leo devnode start -s -c
133133```
0 commit comments