Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
samricotta committed Dec 11, 2024
1 parent 2489ba6 commit 9b5aa4e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
17 changes: 10 additions & 7 deletions covenant-signer/docs/transition-from-phase1.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,9 @@ One you have the `babylond` binary installed,
navigate to the directory you want to set up your keyring and run:

```shell
babylond keys import-hex cov fe1c56c494c730f13739c0655bf06e615409870200047fc65cdf781837cf7f06 --keyring-backend file
babylond keys import-hex cov fe1c56c494c730f13739c0655bf06e615409870200047fc65cdf781837cf7f06 \
--keyring-backend file \
--keyring-dir /path/to/your/keyring/directory
```

This command:
Expand All @@ -236,10 +238,12 @@ This command:

The passphrase you set here will be needed later on, keep this in mind.

> ⚡ Note: Use the `file` backend to store the private key in encrypted form on
> disk. When running `import-hex` with the encrypted file backend, you will be
> prompted for a passphrase. This passphrase will be required to unlock the signer
> later.
> ⚡ Note: While both `os` and `file` backends are supported, we recommend
using the `file` backend as it has been thoroughly tested across different
environments. The `file` backend stores the private key in encrypted form
on disk. When running `import-hex` with the `file` backend, you will be
prompted for a passphrase. This passphrase will be required to unlock the
signer later.

To confirm that the import was successful, run:

Expand Down Expand Up @@ -312,8 +316,7 @@ Below are brief explanations of the configuration entries:

### 4.2. Starting the daemon

We will then run the following command to start the daemon from the
`covenant-signer` directory:
We will then run the following command to start the daemon:

```shell
covenant-signer start --config ./path/to/config.toml
Expand Down
4 changes: 2 additions & 2 deletions docs/covenant-emulator-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ signs signatures and interacts with Babylon. Use the following command to genera
the key:

```bash
$ covd create-key --key-name <name> --chain-id bbn-test-5 --keyring-backend <backend>
covd create-key --key-name <name> --chain-id bbn-test-5 --keyring-backend <backend>
{
"name": "covenant-key",
"public-key": "9bd5baaba3d3fb5a8bcb8c2995c51793e14a1e32f1665cade168f638e3b15538"
Expand All @@ -192,7 +192,7 @@ address.
You can start the covenant emulator daemon using the following command:

```bash
$ covd start
covd start
2024-01-05T05:59:09.429615Z info Starting Covenant Emulator
2024-01-05T05:59:09.429713Z info Covenant Emulator Daemon is fully active!
```
Expand Down

0 comments on commit 9b5aa4e

Please sign in to comment.