Skip to content

Commit 98d8073

Browse files
committed
Update deps and fix fund script
1 parent 7914be8 commit 98d8073

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

cabal.project

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ source-repository-package
8585
type: git
8686
location: https://github.com/intersectmbo/cardano-api
8787
-- master @ Fri Jul 25 18:47:11 2025
88-
tag: 4a6ce60b0028e3062d666980574aebf6acfee9b3
89-
--sha256: sha256-N+eiMtiKvNyzSa9uMZjdGGhYwEpXvI0oXH5GOvp5WyE=
88+
tag: 1765e37a04a8ed3dd7455e0434c1b2b09fa609a5
89+
--sha256: sha256-XkoP1eBoyQGjmq1n3Oma0OJgxRos5oW4QCQ8HSfAexo=
9090
subdir: cardano-api
9191
cardano-api-gen
9292
cardano-rpc

scripts-demo/fund.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ run_cardano_cli() {
1414
export CARDANO_NODE_SOCKET_PATH=./testnet-data/socket/node1/sock
1515
export CARDANO_NODE_NETWORK_ID=42
1616
SRC_ADDR=$(cat testnet-data/utxo-keys/utxo1/utxo.addr)
17-
SRC_UTXO=$(run_cardano-cli latest query utxo --address "$SRC_ADDR" | jq -r 'keys[0]')
18-
run_cardano-cli latest transaction build --tx-in "$SRC_UTXO" --tx-out "$1+$2" --change-address "$SRC_ADDR" --out-file funding.txbody
19-
run_cardano-cli latest transaction sign --tx-body-file funding.txbody --signing-key-file testnet-data/utxo-keys/utxo1/utxo.skey --out-file funding.tx
20-
run_cardano-cli latest transaction submit --tx-file funding.tx
17+
SRC_UTXO=$(run_cardano_cli latest query utxo --address "$SRC_ADDR" | jq -r 'keys[0]')
18+
run_cardano_cli latest transaction build --tx-in "$SRC_UTXO" --tx-out "$1+$2" --change-address "$SRC_ADDR" --out-file funding.txbody
19+
run_cardano_cli latest transaction sign --tx-body-file funding.txbody --signing-key-file testnet-data/utxo-keys/utxo1/utxo.skey --out-file funding.tx
20+
run_cardano_cli latest transaction submit --tx-file funding.tx

0 commit comments

Comments
 (0)