@@ -132,7 +132,6 @@ sendAda = do
132
132
, [text |
133
133
cardano-cli transaction build-raw --alonzo-era
134
134
--tx-in ${inTxId}#0
135
- --tx-in-collateral ${inTxId}#0
136
135
--tx-out ${addr2}+1000
137
136
--required-signer ./signing-keys/signing-key-${pkh1'}.skey
138
137
--fee 0
@@ -157,7 +156,6 @@ sendAda = do
157
156
, [text |
158
157
cardano-cli transaction build-raw --alonzo-era
159
158
--tx-in ${inTxId}#0
160
- --tx-in-collateral ${inTxId}#0
161
159
--tx-out ${addr1}+50
162
160
--tx-out ${addr2}+1000
163
161
--required-signer ./signing-keys/signing-key-${pkh1'}.skey
@@ -197,7 +195,6 @@ sendAdaNoChange = do
197
195
, [text |
198
196
cardano-cli transaction build-raw --alonzo-era
199
197
--tx-in ${inTxId}#0
200
- --tx-in-collateral ${inTxId}#0
201
198
--tx-out ${addr2}+1000
202
199
--required-signer ./signing-keys/signing-key-${pkh1'}.skey
203
200
--fee 200
@@ -246,7 +243,6 @@ sendAdaStaking = do
246
243
, [text |
247
244
cardano-cli transaction build-raw --alonzo-era
248
245
--tx-in ${inTxId}#0
249
- --tx-in-collateral ${inTxId}#0
250
246
--tx-out ${addr2Staking}+1000
251
247
--required-signer ./signing-keys/signing-key-${pkh1'}.skey
252
248
--fee 0
@@ -270,7 +266,6 @@ sendAdaStaking = do
270
266
, [text |
271
267
cardano-cli transaction build-raw --alonzo-era
272
268
--tx-in ${inTxId}#0
273
- --tx-in-collateral ${inTxId}#0
274
269
--tx-out ${addr2Staking}+1000
275
270
--required-signer ./signing-keys/signing-key-${pkh1'}.skey
276
271
--fee 200
@@ -323,7 +318,6 @@ multisigSupport = do
323
318
, [text |
324
319
cardano-cli transaction build-raw --alonzo-era
325
320
--tx-in ${inTxId}#0
326
- --tx-in-collateral ${inTxId}#0
327
321
--tx-out ${addr2}+1000
328
322
--required-signer ./signing-keys/signing-key-${pkh1'}.skey
329
323
--required-signer ./signing-keys/signing-key-${pkh3'}.skey
@@ -374,7 +368,6 @@ withoutSigning = do
374
368
, [text |
375
369
cardano-cli transaction build-raw --alonzo-era
376
370
--tx-in ${inTxId}#0
377
- --tx-in-collateral ${inTxId}#0
378
371
--tx-out ${addr2}+1000
379
372
--required-signer ./signing-keys/signing-key-${pkh1'}.skey
380
373
--required-signer-hash ${pkh3'}
@@ -401,7 +394,6 @@ sendTokens = do
401
394
Nothing
402
395
initState = def & utxos .~ [(txOutRef1, txOut1), (txOutRef2, txOut2)]
403
396
inTxId1 = encodeByteString $ fromBuiltin $ TxId. getTxId $ Tx. txOutRefId txOutRef1
404
- inTxId2 = encodeByteString $ fromBuiltin $ TxId. getTxId $ Tx. txOutRefId txOutRef2
405
397
406
398
contract :: Contract () (Endpoint " SendAda" () ) Text CardanoTx
407
399
contract = do
@@ -419,7 +411,6 @@ sendTokens = do
419
411
, [text |
420
412
cardano-cli transaction build-raw --alonzo-era
421
413
--tx-in ${inTxId1}#0
422
- --tx-in-collateral ${inTxId2}#1
423
414
--tx-out ${addr1}+50 + 95 abcd1234.74657374546F6B656E
424
415
--tx-out ${addr2}+1000 + 5 abcd1234.74657374546F6B656E
425
416
--required-signer ./signing-keys/signing-key-${pkh1'}.skey
@@ -445,7 +436,6 @@ sendTokensWithoutName = do
445
436
Nothing
446
437
initState = def & utxos .~ [(txOutRef1, txOut1), (txOutRef2, txOut2)]
447
438
inTxId1 = encodeByteString $ fromBuiltin $ TxId. getTxId $ Tx. txOutRefId txOutRef1
448
- inTxId2 = encodeByteString $ fromBuiltin $ TxId. getTxId $ Tx. txOutRefId txOutRef2
449
439
450
440
contract :: Contract () (Endpoint " SendAda" () ) Text CardanoTx
451
441
contract = do
@@ -463,7 +453,6 @@ sendTokensWithoutName = do
463
453
, [text |
464
454
cardano-cli transaction build-raw --alonzo-era
465
455
--tx-in ${inTxId1}#0
466
- --tx-in-collateral ${inTxId2}#1
467
456
--tx-out ${addr1}+50 + 95 abcd1234
468
457
--tx-out ${addr2}+1000 + 5 abcd1234
469
458
--required-signer ./signing-keys/signing-key-${pkh1'}.skey
@@ -608,7 +597,6 @@ spendToValidator = do
608
597
, [text |
609
598
cardano-cli transaction build-raw --alonzo-era
610
599
--tx-in ${inTxId}#0
611
- --tx-in-collateral ${inTxId}#0
612
600
--tx-out ${valAddr'}+500
613
601
--tx-out-datum-embed-file ./result-scripts/datum-${datumHash'}.json
614
602
--required-signer ./signing-keys/signing-key-${pkh1'}.skey
@@ -621,7 +609,6 @@ spendToValidator = do
621
609
, [text |
622
610
cardano-cli transaction build-raw --alonzo-era
623
611
--tx-in ${inTxId}#0
624
- --tx-in-collateral ${inTxId}#0
625
612
--tx-out ${addr1}+200
626
613
--tx-out ${valAddr'}+500
627
614
--tx-out-datum-embed-file ./result-scripts/datum-${datumHash'}.json
@@ -790,7 +777,6 @@ withValidRange = do
790
777
, [text |
791
778
cardano-cli transaction build-raw --alonzo-era
792
779
--tx-in ${inTxId}#0
793
- --tx-in-collateral ${inTxId}#0
794
780
--tx-out ${addr2}+1000
795
781
--invalid-before 47577202
796
782
--invalid-hereafter 50255602
@@ -804,7 +790,6 @@ withValidRange = do
804
790
, [text |
805
791
cardano-cli transaction build-raw --alonzo-era
806
792
--tx-in ${inTxId}#0
807
- --tx-in-collateral ${inTxId}#0
808
793
--tx-out ${addr2}+1000
809
794
--invalid-before 47577202
810
795
--invalid-hereafter 50255602
0 commit comments