Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
Add info on signing key and collateral
  • Loading branch information
caike committed Dec 20, 2023
1 parent d85f59e commit 6f96785
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,9 +351,26 @@ the private signing key, the verification key, and the wallet address on the
preprod testnet. You can claim some **preprod** lovelaces using the
[faucet](https://docs.cardano.org/cardano-testnet/tools/faucet/).

Read the cbor hex for the private signing key using the following command:

```shell
cat bot.skey | jq -r '.cborHex'
```

This is the value assigned to `PAYMENT_SIGNING_KEY_CBOR_HEX` when running the SOR via Docker.

It's **recommended** to create and setup a `collateral`. A UTxO with 5 ADAs will
do the work. But as we mentioned the `collateral` config field is optional.

Use the following command to find and select the UTXO to be used for collateral:

```shell
cardano-cli query utxo --address $(cat bot.preprod.addr) --testnet-magic 1
```

Assign the selected UTXO (hash + index) to `COLLATERAL_UTXO_REF` when running the SOR via Docker.


#### Deployed Contract

The SOR has the ability to use reference scripts on the filling transactions to
Expand Down

0 comments on commit 6f96785

Please sign in to comment.