Skip to content

Commit

Permalink
changed path to node storage
Browse files Browse the repository at this point in the history
  • Loading branch information
nilaysaha committed Jan 27, 2024
1 parent 01a0f83 commit eb2c995
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
4 changes: 2 additions & 2 deletions exec/start_cw_local_node.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

CARDANO_WALLET="/home/nsaha/local/bin/cardano-wallet"
CARDANO_WALLET="/home/nsaha/.cabal/bin/cardano-wallet"
CONFIG_FILE="$HOME/projects/cardano-scripts/src/tconfig/mainnet/byron-genesis.json"
DB_DIR="$HOME/wallets/db"
SOCKET="$HOME/projects/cardano-scripts/exec/state-node-shelly-mainnet/node.socket"
SOCKET="$HOME/projects/cardano-scripts/exec/cardano-chain-data-store/node.socket"

$CARDANO_WALLET serve --port 8090 --mainnet --database $DB_DIR --node-socket $SOCKET --token-metadata-server https://tokens.cardano.org --trace-wallet-db=debug
12 changes: 5 additions & 7 deletions src/db-sync/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@ cd ${DB_SYNC_DIR}
# git checkout -b ${DB_SYNC_TAG} tag-${DB_SYNC_TAG}
# nix-build -A cardano-db-sync -o db-sync-node

CS_DIR="/home/nsaha/projects/cardano-scripts"
DBSYNC_DIR="${HOME}/projects/cardano-db-sync"

SOCKET_DIR="${CS_DIR}/exec/state-node-shelly-mainnet/node.socket" #relative to cardano-db-sync as we are now thre.
LEDGER_STATE_DIR="${CS_DIR}/exec/state-node-shelly-mainnet/db-ff/ledger/"
DB_SYNC_CONFIG="${HOME}/projects/cardano-db-sync/config/mainnet-config.yaml"
DB_SYNC_SCHEMA="${HOME}/projects/cardano-db-sync/cardano-db-sync/schema/"
CS_DIR="${HOME}/projects/cardano-scripts"
SOCKET_DIR="${CS_DIR}/exec/cardano-chain-data-store/node.socket" #relative to cardano-db-sync as we are now thre.
LEDGER_STATE_DIR="${CS_DIR}/exec/cardano-chain-data-store//db-ff/ledger/"
DB_SYNC_CONFIG="${DB_SYNC_DIR}/config/testnet-config.yaml"
DB_SYNC_SCHEMA="${DB_SYNC_DIR}/schema/"


# ${DB_SYNC_DIR}/scripts/postgresql-setup.sh --createdb
Expand Down

0 comments on commit eb2c995

Please sign in to comment.