-
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.
- Loading branch information
Showing
44 changed files
with
35,478 additions
and
13,348 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
Empty file.
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
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
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/mainnet/byron-genesis.json" | ||
DB_DIR="$HOME/wallets/db" | ||
SOCKET="$HOME/projects/cardano-scripts/exec/state-node-shelly-mainnet/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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
SUBMIT_API="$HOME/.cabal/bin/cardano-submit-api" | ||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) | ||
SUBMIT_API_CONFIG="${SCRIPT_DIR}/../tconfig/preview/submit-api-config.json" | ||
CARDANO_NODE_SOCKET_PATH='/home/nsaha/projects/cardano-scripts/exec/cardano-chain-data-store/./node.socket' | ||
|
||
${SUBMIT_API} --config $SUBMIT_API_CONFIG --shelley-mode --socket-path $CARDANO_NODE_SOCKET_PATH --testnet-magic 2 --listen-address 127.0.0.1 --port 9001 |
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,22 @@ | ||
[Unit] | ||
Description=cardano-submit-api | ||
|
||
[Service] | ||
User=nsaha | ||
Group=nsaha | ||
TimeoutStartSec=300 | ||
Type=simple | ||
KillMode=process | ||
Environment=LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH": | ||
WorkingDirectory=/home/nsaha/projects/cardano-scripts/src/cardano-submit-api | ||
ExecStart=/home/nsaha/projects/cardano-scripts/src/cardano-submit-api/start.sh | ||
ExecStop=/usr/bin/pkill -2 cardano-submit-api | ||
Restart=always | ||
RestartSec=5s | ||
|
||
[Service] | ||
# Configures the time to wait before service is stopped forcefully. | ||
TimeoutStopSec=300 | ||
|
||
[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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"amount": 5000000000, | ||
"cost": 340000000, | ||
"margin": 0.99 | ||
"margin": 0.25 | ||
} |
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
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.