File tree 8 files changed +6
-13
lines changed
8 files changed +6
-13
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ export UTXO_SKEY="${UTXO_SKEY:-example/utxo-keys/utxo1.skey}"
15
15
export RESULT_FILE=" ${RESULT_FILE:- $WORK / result.out} "
16
16
17
17
echo " Socket path: $CARDANO_NODE_SOCKET_PATH "
18
- echo " Socket path: $( pwd) "
19
18
20
19
ls -al " $CARDANO_NODE_SOCKET_PATH "
21
20
@@ -110,7 +109,7 @@ $CARDANO_CLI query utxo --address $plutusspendingscriptaddr --testnet-magic "$TE
110
109
plutuslockedutxotxin=$( jq -r ' keys[0]' $WORK /plutusutxo.json)
111
110
lovelaceatplutusspendingscriptaddr=$( jq -r " .[\" $plutuslockedutxotxin \" ].value.lovelace" $WORK /plutusutxo.json)
112
111
113
- # Get read only reference input
112
+ # Get read only reference input
114
113
$CARDANO_CLI query utxo --address " $readonlyaddress " --cardano-mode \
115
114
--testnet-magic " $TESTNET_MAGIC " --out-file $WORK /read-only-ref-input-utxo.json
116
115
readonlyrefinput=$( jq -r ' keys[0]' $WORK /read-only-ref-input-utxo.json)
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ export RESULT_FILE="${RESULT_FILE:-$WORK/result.out}"
17
17
mkdir -p " $WORK "
18
18
19
19
echo " Socket path: $CARDANO_NODE_SOCKET_PATH "
20
- echo " Socket path: $( pwd) "
21
20
22
21
ls -al " $CARDANO_NODE_SOCKET_PATH "
23
22
@@ -40,6 +39,7 @@ cardano-cli stake-address registration-certificate \
40
39
41
40
42
41
plutusscriptaddr=$( $CARDANO_CLI address build --payment-script-file " $plutusscriptinuse " --testnet-magic " $TESTNET_MAGIC " )
42
+ # The input at the readonlyaddress will be used as a reference input
43
43
readonlyaddress=addr_test1vz3t3f2kgy2re66tnhgxc4t8jgylw2cqfnxdwlrq9agfmtstxxkm5
44
44
45
45
mkdir -p " $WORK "
@@ -96,14 +96,14 @@ dummyaddress=addr_test1vpqgspvmh6m2m5pwangvdg499srfzre2dd96qq57nlnw6yctpasy4
96
96
97
97
lovelaceatplutusscriptaddr=$( jq -r " .[\" $plutusutxotxin \" ].value.lovelace" $WORK /plutusutxo.json)
98
98
99
- # Get read only reference input
99
+ # Get read only reference input
100
100
$CARDANO_CLI query utxo --address " $readonlyaddress " --cardano-mode \
101
101
--testnet-magic " $TESTNET_MAGIC " --out-file $WORK /read-only-ref-input-utxo.json
102
102
readonlyrefinput=$( jq -r ' keys[0]' $WORK /read-only-ref-input-utxo.json)
103
103
104
104
105
105
106
- # We need to generate a dummy redeemer in order to create a txbody from which we can generate
106
+ # We need to generate a dummy redeemer (the cli demands a redeemer) in order to create a txbody from which we can generate
107
107
# a tx and then derive the correct redeemer.
108
108
create-script-context --plutus-v2 --out-file " $WORK /script-context.redeemer"
109
109
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ export RESULT_FILE="${RESULT_FILE:-$WORK/result.out}"
17
17
mkdir -p " $WORK "
18
18
19
19
echo " Socket path: $CARDANO_NODE_SOCKET_PATH "
20
- echo " Socket path: $( pwd) "
21
20
22
21
ls -al " $CARDANO_NODE_SOCKET_PATH "
23
22
@@ -70,7 +69,7 @@ txinfunding1=$(jq -r 'keys[1]' $WORK/utxo-2.json)
70
69
dummyaddress=addr_test1vpqgspvmh6m2m5pwangvdg499srfzre2dd96qq57nlnw6yctpasy4
71
70
72
71
73
- # We need to generate a dummy redeemer in order to create a txbody from which we can generate
72
+ # We need to generate a dummy redeemer (the cli demands a redeemer) in order to create a txbody from which we can generate
74
73
# a tx and then derive the correct redeemer.
75
74
create-script-context --plutus-v2 --out-file " $WORK /script-context.redeemer"
76
75
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ export RESULT_FILE_TARGET="${RESULT_FILE:-$WORK/target.out}"
16
16
export RESULT_FILE_CHANGE=" ${RESULT_FILE:- $WORK / change.out} "
17
17
18
18
echo " Socket path: $CARDANO_NODE_SOCKET_PATH "
19
- echo " Socket path: $( pwd) "
20
19
21
20
ls -al " $CARDANO_NODE_SOCKET_PATH "
22
21
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ export RESULT_FILE_TARGET="${RESULT_FILE:-$WORK/target.out}"
17
17
export RESULT_FILE_CHANGE=" ${RESULT_FILE:- $WORK / change.out} "
18
18
19
19
echo " Socket path: $CARDANO_NODE_SOCKET_PATH "
20
- echo " Socket path: $( pwd) "
21
20
22
21
count=" ${1:- 1000000} "
23
22
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ export RESULT_FILE="${RESULT_FILE:-$WORK/result.out}"
16
16
export PV=v1 # Plutus Script Version
17
17
18
18
echo " Socket path: $CARDANO_NODE_SOCKET_PATH "
19
- echo " Socket path: $( pwd) "
20
19
21
20
ls -al " $CARDANO_NODE_SOCKET_PATH "
22
21
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ export UTXO_SKEY="${UTXO_SKEY:-example/utxo-keys/utxo1.skey}"
15
15
export RESULT_FILE=" ${RESULT_FILE:- $WORK / result.out} "
16
16
17
17
echo " Socket path: $CARDANO_NODE_SOCKET_PATH "
18
- echo " Socket path: $( pwd) "
19
18
20
19
ls -al " $CARDANO_NODE_SOCKET_PATH "
21
20
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ export RESULT_FILE="${RESULT_FILE:-$WORK/result.out}"
16
16
export PV=v1 # Plutus Script Version
17
17
18
18
echo " Socket path: $CARDANO_NODE_SOCKET_PATH "
19
- echo " Socket path: $( pwd) "
20
19
21
20
ls -al " $CARDANO_NODE_SOCKET_PATH "
22
21
@@ -94,7 +93,7 @@ echo "$plutusutxotxin"
94
93
echo " Collateral"
95
94
echo " $txinCollateral "
96
95
97
- # We need to generate a dummy redeemer in order to create a txbody from which we can generate
96
+ # We need to generate a dummy redeemer (the cli demands a redeemer) in order to create a txbody from which we can generate
98
97
# a tx and then derive the correct redeemer.
99
98
create-script-context --out-file " $WORK /script-context.redeemer"
100
99
You can’t perform that action at this time.
0 commit comments