Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Commit 494004f

Browse files
[baking-with-ledger] handles feedback (#526)
* Include command from `Step 2: Set up a baker account` Because readers were confused, the `Set up a baker account` step was no longer clear enough. * Place the baking with consensus key patern after the patern without Because it seems bakers mostly have main key on their ledger * fixup! Ajinkya's suggestions Co-authored-by: Ajinkya <145996984+ajinkyaraj-23@users.noreply.github.com> --------- Co-authored-by: Ajinkya <145996984+ajinkyaraj-23@users.noreply.github.com>
1 parent 20b3a45 commit 494004f

File tree

1 file changed

+24
-8
lines changed

1 file changed

+24
-8
lines changed

docs/tutorials/bake-with-ledger/run-baker.md

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,44 @@ Now that the Ledger baking key is set up, you can follow the steps of [Run a Tez
1111

1212
Complete the [Step 1: Run an Octez node](/tutorials/join-dal-baker/run-node) of the tutorial, and make following changes in [Step 2: Set up a baker account](/tutorials/join-dal-baker/prepare-account).
1313

14-
- If you **want to use a consensus key**, instead of generating it, use the Ledger key. To do so, import it from the `octez-signer` remote with the following command:
14+
You can use your Ledger key as your main baker key or you could use Ledger key as consensus key.
15+
16+
- To **use the Ledger key as your main baker key**, import it from the `octez-signer` remote with the following command:
1517

1618
```bash
17-
octez-client import secret key consensus_key remote:tz...
19+
octez-client import secret key my_baker remote:tz...
1820
```
1921

2022
> Replace the `tz...` with the public key hash of your Ledger baking key.
2123

22-
You can then continue to set up your baker account.
24+
Run and sign the following operations to set up your baker. You will need to use the `Tezos Wallet (XTZ)` application.
25+
Quit the `Tezos Baking` application and open the `Tezos Wallet (XTZ)` application. Then set up your baker.
2326

24-
By registering your baker as a delegate with the ledger key as the consensus key, the baker daemon will sign using the Ledger.
27+
```bash
28+
octez-client import secret key my_baker remote:tz...
29+
octez-client register key my_baker as delegate
30+
octez-client stake 6000 for my_baker
31+
```
32+
33+
Your baker account is now set up and ready to bake using the Ledger.
2534

26-
- If you **don't want to use a consensus key**, use your Ledger key directly as a baker. Import it from the `octez-signer` remote with the following command:
35+
- If you **want to use your Ledger key as a consensus key**, import it from the `octez-signer` remote with the following command:
2736

2837
```bash
29-
octez-client import secret key my_baker remote:tz...
38+
octez-client import secret key consensus_key remote:tz...
3039
```
3140

3241
> Replace the `tz...` with the public key hash of your Ledger baking key.
3342

34-
In that case, to be able to sign the operations required to set up your baker, you need to use the `Tezos Wallet (XTZ)` application.
35-
Quit the `Tezos Baking` application and open the `Tezos Wallet (XTZ)` application.
43+
With Ledger key imported as consensus key, you will need to generate/set up your baker key separately. You can then continue to set up your baker account. See the following commands:
44+
45+
```bash
46+
octez-client gen keys my_baker
47+
octez-client register key my_baker as delegate with consensus key consensus_key
48+
octez-client stake 6000 for my_baker
49+
```
50+
51+
By registering your baker as a delegate with the ledger key as the consensus key, the baker daemon will sign using the Ledger.
3652

3753
## Before running the Octez baking daemon
3854

0 commit comments

Comments
 (0)