Skip to content

Commit

Permalink
Merge pull request #57 from polskikh/master
Browse files Browse the repository at this point in the history
Fix typos and deprecated params in  docs/distributed_key_generation.md
  • Loading branch information
mcdee authored Jan 26, 2024
2 parents 8bd1d5c + 583e960 commit c09de40
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/distributed_key_generation.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ mkdir -p ${HOME}/dirk-multi/3/security
The `wallets` directory of each instance needs to be populated with a wallet that can manage distributed keys:

```sh
ethdo --basedir=${HOME}/dirk-multi/1/wallets wallet create --type=distributed --wallet=DistributedWallet
ethdo --basedir=${HOME}/dirk-multi/2/wallets wallet create --type=distributed --wallet=DistributedWallet
ethdo --basedir=${HOME}/dirk-multi/3/wallets wallet create --type=distributed --wallet=DistributedWallet
ethdo --base-dir=${HOME}/dirk-multi/1/wallets wallet create --type=distributed --wallet=DistributedWallet
ethdo --base-dir=${HOME}/dirk-multi/2/wallets wallet create --type=distributed --wallet=DistributedWallet
ethdo --base-dir=${HOME}/dirk-multi/3/wallets wallet create --type=distributed --wallet=DistributedWallet
```

The `security` directory of each instance needs to be populated with certificates. Although all three instances are running on the same server they _cannot_ have the same name, hence we create three certificates (note that in a real deployment the Dirk instances should be on different servers for both security and availability purposes). We assume that a certificate authority has already been created as per the [getting started instructions](getting_started.md#creating-certificates), so all that needs to be created is the server certificate:
Expand Down Expand Up @@ -275,8 +275,8 @@ ethdo signature sign \
--client-cert ${HOME}/security/client1.crt \
--client-key ${HOME}/security/client1.key \
--account=DistributedWallet/1 \
--data=0x000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
--domain=0xf000000000000000000000000000000000000000000000000000000000000000
--data=0x000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f \
--domain=0xf000000000000000000000000000000000000000000000000000000000000000 \
--verbose
```

Expand Down

0 comments on commit c09de40

Please sign in to comment.