Skip to content

Commit f5186a0

Browse files
authored
Revise README: correct configuration files for 10.6.1
Updated instructions for running the Cardano node on the preprod network, including changes to directory structure and curl commands.
1 parent dd3bd59 commit f5186a0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ To actually try the node and CLI:
5858
- start the node
5959

6060
```bash
61-
mkdir -p testnet/db && cd testnet
62-
curl -O -J "https://book.play.dev.cardano.org/environments/preprod/{config,db-sync-config,submit-api-config,topology,byron-genesis,shelley-genesis,alonzo-genesis,conway-genesis,peer-snapshot}.json"
63-
cardano-node run --topology topology.json --config config.json --database-path db --socket-path node.socket --port 3001
61+
mkdir -p preprod/{db,conf} && cd preprod
62+
curl --output-dir conf --remote-name-all --variable prefix=https://book.play.dev.cardano.org/environments-pre/preprod --expand-url "{{prefix}}/{config,tracer-config,db-sync-config,submit-api-config,topology,byron-genesis,shelley-genesis,alonzo-genesis,conway-genesis,peer-snapshot}.json" --expand-url "{{prefix}}/guardrails-script.plutus"
63+
cardano-node run --topology conf/topology.json --config conf/config.json --database-path db --socket-path node.socket --port 3001
6464

6565
```
6666

@@ -69,7 +69,7 @@ You should see the output showing that the node is syncing.
6969
In a separate terminal, use the CLI to query the tip of your node (you may need to `brew install watch` before running the following command):
7070

7171
```bash
72-
CARDANO_NODE_SOCKET_PATH=testnet/node.socket watch cardano-cli query tip --testnet-magic 1
72+
CARDANO_NODE_SOCKET_PATH=preprod/node.socket watch cardano-cli query tip --testnet-magic 1
7373
```
7474

7575
## See also

0 commit comments

Comments
 (0)