Skip to content

Commit

Permalink
Merge pull request #67 from wowica/docs/update-readme
Browse files Browse the repository at this point in the history
Update docs for SOR using Docker
  • Loading branch information
sourabhxyz authored Dec 24, 2023
2 parents d85f59e + dc35ff3 commit 4a1557d
Showing 1 changed file with 20 additions and 0 deletions.
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

0 comments on commit 4a1557d

Please sign in to comment.