-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/nilaysaha/cardano-scripts
- Loading branch information
Showing
8 changed files
with
17,336 additions
and
17,972 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
CARDANO_WALLET="/home/nsaha/.cabal/bin/cardano-wallet" | ||
CONFIG_FILE="$HOME/projects/cardano-scripts/src/tconfig/preview/byron-genesis.json" | ||
DB_DIR="$HOME/wallets/db" | ||
SOCKET="$HOME/projects/cardano-scripts/exec/cardano-chain-data-store/node.socket" | ||
|
||
$CARDANO_WALLET serve --port 8090 --testnet $CONFIG_FILE --database $DB_DIR --node-socket $SOCKET --token-metadata-server https://tokens.cardano.org --trace-wallet-db=debug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[Unit] | ||
Description=Shelly-testnet cardano wallet service. Relies on a relay being run locally. | ||
|
||
[Service] | ||
User=nsaha | ||
Group=nsaha | ||
TimeoutStartSec=0 | ||
Type=simple | ||
KillMode=process | ||
Environment=LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH": | ||
WorkingDirectory=/home/nsaha/project/cardano-scripts/exec | ||
ExecStart=/home/nsaha/project/cardano-scripts/exec/start_cw_local_node_preview.sh | ||
ExecStop=/usr/bin/pkill -15 cardano-wallet | ||
|
||
[Service] | ||
|
||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.