I assume you already installed & configured correctly ucoin. Then reset data:
ucoind reset data
You first need to add at least one pubkey. Let's say we add "Tobi"'s pubkey using ucoin-cli
ucoin -s localhost -p 8080 -u tobi send-pubkey
And then ask for joining:
ucoin -s localhost -p 8080 -u tobi join
You may start this using another terminal, or by stopping current ucoind. After that, use:
ucoind gen-root localhost 8080 2
[?] Initial members of the Web of Trust: Tobi Uchiwa (udid2;c;UCHIWA;OBITO;2000-09-30;e+35.69+139.69;0) <cem.moreau@gmail.com>
[?] Which OpenPGP implementation to use: gpg - Fast but must be installed on your system
[?] Private key: LoL Cat (udid2;c;CAT;LOL;2000-04-19;e+43.70-079.42;0;) <cem.moreau@gmail.com>
[2014-08-03 20:34:10.086] [DEBUG] peerserver - Keyring = ~/.gnupg/ucoin_C73882B64B7E72237A2F460CE9CAB76D19A8651E
[2014-08-03 20:34:10.163] [DEBUG] membership - Generating proof-of-work...
[2014-08-03 20:34:17.983] [DEBUG] membership - Done: 008ECFCCE856495DA88A748FDF2B331F6B254131 in 7s (~35.57 tests/s)
Note that here we ask for a 2
zero leading PoW. General usage is:
ucoind gen-root [host] [port] [zeros]