wallet:multisig:dkg:round2
Performs round 2 of the FROST DKG protocol for multisig account creation.
Usage
ironfish wallet:multisig:dkg:round2
The example below demonstrates how to run round 2 of DKG for a group of two participants and the secret name participant0
. Use the wallet:multisig:multisig:dkg:round1
command to create an encrypted secret package and a public package for a given secret.
The encryptedSecretPackage
parameter is the encrypted secret package that participant0
generated in round 1.
Each participant must run wallet:multisig:multisig:dkg:round2
with all public packages generated during round1; including their own.
> ironfish wallet:multisig:dkg:round2 \ --participantName participant0 \ -e edf4a84b14bb0e78b4d63aab52b41185ed3ba8f2d4c0ff90b833efab57a38e6301000000a647f2eceee7b07dfe0fefbc5abd45b3e30e63b4eaa819a421f437fe11f66760bc000000ddb56bea4e9f059228635f32b8b4e540a8533fb37ac240b7948ec1f13268daac471342710a8cce6821857ebc86b2ca5b1a9e2630cd667504f26d3521b5a35f3952eb8d242e05124afc9fe353d41f1bcac8494a3a476e9f06ef8a09f9cef32a1e4f7d680de266631928e35c3450f07d0a3cf3ee5c436b7aed6ff3b8c8da31bd02bd420284717c4c3083714bd23395d7c18216234a40019f587650e20d97f662b31dcd878635b589dbe9aa4fd9c6d1b5ea4bc76f33d1322060b7d67498 \ -p 72709fc4f310aab17dc1e7e470e96f90d69ea477910744d2ca47341ff6a0860b217ec2181aa55fb6a38072dfd8976c6306ef41336afef58c8e049df3f9669ca73614eff096e13b1f2fc7f16c686eec04ea3e9b92785eca7993b83458ba04a1023ef4cdc9126b07cd5ad864c2d32d9cda575869be9c5192c37e5410465cb1fbed0f8700000000c3d2051e0232419d7395ecb0d63a0fb4a3a11480c0a8d541d928e577a1a6dbe1f1f524ba6144fcf79aa7c62d58e46dfff317d31da19ab80f1f01419d3ea3f5912d7a5213c840d91107a8ee25307341dc30ba7cb278ce0953cf7dca49664a7539ec7035825cad1fa3099caa569112ba0a1bb531e575ab8108551d62333f77ed6115dfb4cb4704af4d9a092cd1042775844bc60e50de7004563aa637f3170b32ce8f9122a5b6690200000091c2d5052f58ae45dd85c18c549267a2c8f189ad4c7c8dd5bc31fa6d890125565ab538a85a72e62dde9a7463ed8fc78d816d0d052d70d1e42fff06871687dabe30000000b288a5957431e5dfc1baf6e123c413db33f114eb8aec0c77fa3e20c4c1a585b698a061a52cdc2629eb1e34dbcf212d7b2554b2277f86ab02 \ -p 72b3bf8e75ac92b0ac8cc176bdefc89abddc208b815009176d9f659f6813a5b6204686e73b8de17a426ac71b32fe9258acfa8538c54c13ef4eb1cfd9ad52987f267d5eb62f354a5fc0244926f6884ec134ef458deca281ee2c9344e24761d1ff8b8098791cee169f30b0b613482f4e474b94e25e0b55c3cb4aff63699bdf0662028700000000c3d2051e02281eb29d5abef8ac56c5798dcd38fa41064f336fdb7b07dff12338d4400190f354de2cb55764dc76099580b799c18254bcf7da38cd8ea8694e9b82a350c50e0c40a095df396e8d49ea7642f20c17bc7ed22a93976e3cf5bbf4c63ea9399418856324392a802c4b9e3b5f89e825e517d719ba95e75d7364be5dbee4eec32e8ba802dbce6cace1eaa6dc2fa17e871eefa1c41b3bf09cf2fc82351debaf16d9211b7b020000002efd437d6c770b6342647acb4c718d02fad3ae40cb00d57d9b0d91bc18676858fbbc5df7fc790bdac5dc674cdb23a369c8fbfae7206706ca4827691ec7e3304c3000000041431ea349f94d56cce00a9d551eaad6b8dc1f130bf9d0b8746c2bb3d3b85054669dc0ad081746e714d2213e1f9b52fc2554b2277f86ab02
Round 2 Encrypted Secret Package: 4df52aa2cf60c930508e3786e97e5983597d3a0160992fc61811a52b9a22a531010000006a913b54997328051368078ae7bf6bd6ab87986d1a4feaf78f70461f1d22ca9498000000edc4b8169e588a47d1314be731f0586dc4d12885e6bc86668ef722d80b3b2c2d7c2440dc1edffa9f67f5f7b9833600a183ce2db8f5ff9ebd8ba8b6a76a9b6b1ddfba701f880bd0d54e7c158b33f18512e979b5063b3b5a549fdca64b9a5222cccd9a5ce4f1277fac0b2d0d90a4d6f9d3cb7494566ce01eb44d482e871256a4cc8fde405d2596c03e1ffb8656e467fdb7d9c05ffb29c5327c Round 2 Public Package: 72b0b957ffebbb1859ab5e51619325a6dc84e0dfa2544c6148b8dad7a76334db493c3dafe9fa6da42b0738c964d1b4dd8268a17dcbe44f8fc18432670ef5a4382e104f28490eea3349d1695b955f7aec2a17f9745fa114b2a1c8843e92d6c4437110c14c9046ed3ad9f65f30b82fb3251a742fcce0c71ad7e3a1dc31f981511d0202000000722423872a49e47fa9b04da244eff253ce7f1e11d33b92e4ae4d8b1ead295f7400e228e83ca218e838c9d198a231047dd265715ac947364160b96f8964e5969654d1b9ab748306f9d3722074384ed326f4b1058d289a6e4231ee5117c13dc04fbb6fa0e0967902d3b0fedafd22d87ac4555b3f384eb421d1708a96f676228900002500000000c3d2051e6b40d50d87ecaa5ac670618de4faac09f3502e3d7b14765f4dca7cab09621e0d41f87b54a2f025fc72fe9f80873fa1672f4b3865784505c8bba0df2393d47f9e9358af494782103bd1823bcceb606519b8e11abffc0ae4fa52b56c0a048c4972ed030b7c22f8394e158a23f8f5efab561f8d6b78ee19c2b87c09543e9877ed7055425d242e3c7ffe4bfbb179e07ae89263d8e1fb7ea22d22a4b5c41b645a6ae9620c77f959228b1f0d2500000000c3d2051e20b34c355953f4c3fc9d755066138bb9cc14dffe6f4ef9d30991a0cdc563e20141f87b54a2f025fc Next step: Send the public package to each participant
The wallet:multisig:multisig:dkg:round2
command generates an additional encrypted secret package for the participant who runs the command and a unique pulic package for every other participant in the group.
Flags
Flag | Description | Default |
---|---|---|
-e, --round1SecretPackage | The encrypted secret package created during DKG round1 | |
-p, --round1PublicPackages | The public package that a participant generated during DKG round1 (may be specified multiple times for multiple participants). Must include your own round1 public package' | |
-n, --participantName | Name of the participant to use in round two |