diff --git a/scripts/plutus/example-txin-locking-plutus-script.sh b/scripts/plutus/example-txin-locking-plutus-script.sh index c5fb5076b62..8cefabd77b9 100755 --- a/scripts/plutus/example-txin-locking-plutus-script.sh +++ b/scripts/plutus/example-txin-locking-plutus-script.sh @@ -5,6 +5,8 @@ set -e set -o pipefail +export CARDANO_NODE_SOCKET_PATH="${CARDANO_NODE_SOCKET_PATH:-example/node-bft1/node.sock}" + if [ "$1" == "guessinggame" ]; then # NB: This plutus script uses a "typed" redeemer and "typed" datum. plutusscriptinuse=scripts/plutus/scripts/typed-guessing-game-redeemer-42-datum-42.plutus diff --git a/scripts/plutus/simple-minting-policy.sh b/scripts/plutus/simple-minting-policy.sh index 952ac435d79..fe80a4f5994 100644 --- a/scripts/plutus/simple-minting-policy.sh +++ b/scripts/plutus/simple-minting-policy.sh @@ -13,7 +13,7 @@ set -o pipefail # Step 1 - Send ADA to token script owner -export CARDANO_NODE_SOCKET_PATH=example/node-bft1/node.sock +export CARDANO_NODE_SOCKET_PATH="${CARDANO_NODE_SOCKET_PATH:-example/node-bft1/node.sock}" utxovkey=example/shelley/utxo-keys/utxo1.vkey utxoskey=example/shelley/utxo-keys/utxo1.skey