Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs for SOR using Docker #67

Merged
merged 4 commits into from
Dec 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,9 +351,29 @@ 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) --mainnet
```

(For running in preprod, replace `--mainnet` with `--testnet-magic 1`)

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

Alternatively, the UTXO information can also be obtained from a block explorer service such as https://cexplorer.io/

#### Deployed Contract

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