-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathfetch_config_files.sh
More file actions
executable file
·23 lines (18 loc) · 1.03 KB
/
fetch_config_files.sh
File metadata and controls
executable file
·23 lines (18 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
# Script to fetch cardano-node and cardano-db-sync config files
# This script should be executed from the root directory
#create a directory to hold the config files
mkdir -p $HOME/cardano/preview-config
#download the config files
cd $HOME/cardano/preview-config
curl -O https://book.world.dev.cardano.org/environments/preview/config.json
curl -O https://book.world.dev.cardano.org/environments/preview/topology.json
curl -O https://book.world.dev.cardano.org/environments/preview/db-sync-config.json
curl -O https://book.world.dev.cardano.org/environments/preview/submit-api-config.json
curl -O https://book.world.dev.cardano.org/environments/preview/byron-genesis.json
curl -O https://book.world.dev.cardano.org/environments/preview/shelley-genesis.json
curl -O https://book.world.dev.cardano.org/environments/preview/alonzo-genesis.json
curl -O https://book.world.dev.cardano.org/environments/preview/conway-genesis.json
curl -O https://book.world.dev.cardano.org/environments/preview/db-sync-config.json
#go back to project root
cd -