-
Notifications
You must be signed in to change notification settings - Fork 4
/
multisig_patricklodder.txt.asc
66 lines (53 loc) · 3.63 KB
/
multisig_patricklodder.txt.asc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
1. Grepped all the pubkeys:
$ grep -r pubkey keys
keys/mhayner.txt.asc: "pubkey": "023e4dd516c1b3d05740e482578ad35c7026ae861ffa6630ad782ae92cf6267a7f",
keys/michilumin.txt.asc: "pubkey": "0234a28ac2f92ae7c1db6b4c28ccbb1561de162b8acbb366007213d4f3a3db9ddc",
keys/chromatic.txt.asc: "pubkey": "02dc4d6cbefa4d6b3317489b149544f5816c2ae96d26a847b3671be58d19be6991",
keys/patricklodder.txt.asc: "pubkey": "02e8091f9e22512cce2539fa24876da79e9a6af30fd5fcb861b652543f4a84d497",
keys/rnicoll.txt.asc: "pubkey": "03afc00466490888ef51afbb0c2e8de8f63a85d92ebc5a7e9fa960c2890477a824",
2. Pasted all of them in a text file, preserving the quotes:
"023e4dd516c1b3d05740e482578ad35c7026ae861ffa6630ad782ae92cf6267a7f"
"0234a28ac2f92ae7c1db6b4c28ccbb1561de162b8acbb366007213d4f3a3db9ddc"
"02dc4d6cbefa4d6b3317489b149544f5816c2ae96d26a847b3671be58d19be6991"
"02e8091f9e22512cce2539fa24876da79e9a6af30fd5fcb861b652543f4a84d497"
"03afc00466490888ef51afbb0c2e8de8f63a85d92ebc5a7e9fa960c2890477a824"
3. Ran them through sort + jq + createmultisig
$ cat pubkeys.txt |sort |jq --slurp -ca |xargs -d$ dogecoin-cli createmultisig 3
{
"address": "9xEP9voiNLw7Y7DS87M8QRqKM43r6r5KM5",
"redeemScript": "53210234a28ac2f92ae7c1db6b4c28ccbb1561de162b8acbb366007213d4f3a3db9ddc21023e4dd516c1b3d05740e482578ad35c7026ae861ffa6630ad782ae92cf6267a7f2102dc4d6cbefa4d6b3317489b149544f5816c2ae96d26a847b3671be58d19be69912102e8091f9e22512cce2539fa24876da79e9a6af30fd5fcb861b652543f4a84d4972103afc00466490888ef51afbb0c2e8de8f63a85d92ebc5a7e9fa960c2890477a82455ae"
}
4. Validated the redeemscript:
$ dogecoin-cli decodescript 53210234a28ac2f92ae7c1db6b4c28ccbb1561de162b8acbb366007213d4f3a3db9ddc21023e4dd516c1b3d05740e482578ad35c7026ae861ffa6630ad782ae92cf6267a7f2102dc4d6cbefa4d6b3317489b149544f5816c2ae96d26a847b3671be58d19be69912102e8091f9e22512cce2539fa24876da79e9a6af30fd5fcb861b652543f4a84d4972103afc00466490888ef51afbb0c2e8de8f63a85d92ebc5a7e9fa960c2890477a82455ae
{
"asm": "3 0234a28ac2f92ae7c1db6b4c28ccbb1561de162b8acbb366007213d4f3a3db9ddc 023e4dd516c1b3d05740e482578ad35c7026ae861ffa6630ad782ae92cf6267a7f 02dc4d6cbefa4d6b3317489b149544f5816c2ae96d26a847b3671be58d19be6991 02e8091f9e22512cce2539fa24876da79e9a6af30fd5fcb861b652543f4a84d497 03afc00466490888ef51afbb0c2e8de8f63a85d92ebc5a7e9fa960c2890477a824 5 OP_CHECKMULTISIG",
"reqSigs": 3,
"type": "multisig",
"addresses": [
"D6pY4mEa4khQYU4NLzwPRBFDUpgc7YfmUh",
"D5GhCoTsCirLSCWN7YCMHzWH3djCtAv6eB",
"DRNQFjpCojFpxX5uiV3yGqx1X9QDdC93o5",
"DDVLGvC3yZMjRZ3hjVWpX1nW6dFN1sqa1a",
"DJZNEFsrqtjFbTG9xoNP1BjJmqMiHawSjs"
],
"p2sh": "9xEP9voiNLw7Y7DS87M8QRqKM43r6r5KM5"
}
5. Checked if each address is present in the keys/ folder
$ for addr in D6pY4mEa4khQYU4NLzwPRBFDUpgc7YfmUh D5GhCoTsCirLSCWN7YCMHzWH3djCtAv6eB DRNQFjpCojFpxX5uiV3yGqx1X9QDdC93o5 DDVLGvC3yZMjRZ3hjVWpX1nW6dFN1sqa1a DJZNEFsrqtjFbTG9xoNP1BjJmqMiHawSjs; do grep -r $addr keys > /dev/null && echo $addr: FOUND || echo $addr: MISSING; done
D6pY4mEa4khQYU4NLzwPRBFDUpgc7YfmUh: FOUND
D5GhCoTsCirLSCWN7YCMHzWH3djCtAv6eB: FOUND
DRNQFjpCojFpxX5uiV3yGqx1X9QDdC93o5: FOUND
DDVLGvC3yZMjRZ3hjVWpX1nW6dFN1sqa1a: FOUND
DJZNEFsrqtjFbTG9xoNP1BjJmqMiHawSjs: FOUND
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEE3G70qL+fGx5N4e5SLTo0W5jQ3B8FAmOs17MACgkQLTo0W5jQ
3B8zoQf+NX7CIwcDecRMM4PXGm+npJ4Uac1DnBCJIQXWeIuftc6UuqGyc6m0x7J7
gcfKMTeaFM8xhMZyWlPsUpivHp8TtFD+R6D6g8q6QCmtKf3nViJ1kSYrogm0szQf
FR06fL+diHl7Yv980BeXsIGnkpH8FpQzPEZeZYT8M2fqnvyJZEal6QShuO2F6OBf
HNe7D+XXcz6GCALhgEvBCcJNdrRWkG0KMco0CBOiWZSsSkwMztUwrtk3QD/PrOCw
hSE/ouej5kqEye0Vgj257woMOKFjHQZ8gL5/KL9g3lalJUjKWSi8CFahdsrkIRD7
e9Alu6jZWz9e8AKU6jOt7RAKaMbU/Q==
=MXj3
-----END PGP SIGNATURE-----