Skip to content

Commit 7054e90

Browse files
committed
Update run signer node guide
1 parent c16d122 commit 7054e90

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

docs/root/manual/getting-started/run-signer-node.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ For more information about the **Mithril Protocol**, please refer to the [About
4949

5050
* Install OpenSSL development libraries, for example on Ubuntu/Debian/Mint run `apt install libssl-dev`
5151

52-
* Ensure the SQLite3 version is at lease `3.35` (released Apr. 2021)
52+
* Ensure the SQLite3 version is at least `3.35` (released Apr. 2021)
53+
54+
* Install a recent version of `jq` (version `1.6+`) `apt install jq`
5355

5456
## Mithril Keys Certification
5557

@@ -195,7 +197,8 @@ Replace this value with the correct user. We assume that the user used to run th
195197
* `CARDANO_CLI_PATH=/app/bin/cardano-cli`: replace with the path to the `cardano-cli` executable
196198
* `DATA_STORES_DIRECTORY=/opt/mithril/stores`: replace with the path to a folder where the **Mithril Signer** will store its data (`/opt/mithril/stores` e.g.)
197199
* `STORE_RETENTION_LIMIT`: if set, this will limit the number of records in some internal stores (5 is a good fit).
198-
200+
* `ERA_READER_ADAPTER_TYPE=cardano-chain`: replace `cardano-chain` with the era reader adapter type used in your Mithril network
201+
* `ERA_READER_ADAPTER_PARAMS={"address": "...", "verification_key": "..."}`: replace `{"address": "...", "verification_key": "..."}` with the era reader params that you need to compute by running the command `jq -nc --arg address $(wget -q -O - **YOUR_ERA_READER_ADDRESS**) --arg verification_key $(wget -q -O - **YOUR_ERA_READER_VERIFICATION_KEY**) '{"address": $address, "verification_key": $verification_key}'`
199202
:::
200203

201204
First create an env file that will be used by the service:
@@ -212,6 +215,8 @@ CARDANO_NODE_SOCKET_PATH=/cardano/ipc/node.socket
212215
CARDANO_CLI_PATH=/app/bin/cardano-cli
213216
DATA_STORES_DIRECTORY=/opt/mithril/stores
214217
STORE_RETENTION_LIMIT=5
218+
ERA_READER_ADAPTER_TYPE=**YOUR_ERA_READER_ADAPTER_TYPE**
219+
ERA_READER_ADAPTER_PARAMS=**YOUR_ERA_READER_ADAPTER_PARAMS**
215220
EOF'
216221
```
217222

docs/versioned_docs/version-maintained/manual/getting-started/run-signer-node.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ For more information about the **Mithril Protocol**, please refer to the [About
4949

5050
* Install OpenSSL development libraries, for example on Ubuntu/Debian/Mint run `apt install libssl-dev`
5151

52-
* Ensure the SQLite3 version is at lease `3.35` (released Apr. 2021)
52+
* Ensure the SQLite3 version is at least `3.35` (released Apr. 2021)
5353

5454
## Mithril Keys Certification
5555

0 commit comments

Comments
 (0)