]>
Commit | Line | Data |
---|---|---|
d7426190 | 1 | |
c2ec2f53 DH |
2 | Zcash |
3 | ===== | |
d7426190 | 4 | |
293e4f01 | 5 | https://z.cash/ |
d7426190 | 6 | |
559ab225 SB |
7 | Where do I begin? |
8 | ----------------- | |
d7426190 | 9 | |
5b914ebb | 10 | We have a guide for joining the public testnet: https://github.com/zcash/zcash/wiki/Public-Alpha-Guide |
d7426190 | 11 | |
293e4f01 | 12 | What is Zcash? |
c2ec2f53 | 13 | -------------- |
d7426190 | 14 | |
45d7a9b4 | 15 | Zcash is an implementation of the "Zerocash" protocol. Based on Bitcoin's code, it intends to |
293e4f01 | 16 | offer a far higher standard of privacy and anonymity through a sophisticiated zero-knowledge |
08388dbc | 17 | proving scheme which preserves confidentiality of transaction metadata. |
d7426190 | 18 | |
293e4f01 | 19 | **Zcash is unfinished and highly experimental.** Use at your own risk. |
d7426190 | 20 | |
254c16dd | 21 | Participation in the Zcash project is subject to a [Code of Conduct](code_of_conduct.md). |
d7426190 | 22 | |
8fb1005c TH |
23 | Security Warnings |
24 | ----------------- | |
d7426190 | 25 | |
8fb1005c TH |
26 | See important security warnings in |
27 | [doc/security-warnings.md](doc/security-warnings.md). | |
d7426190 | 28 | |
20d59455 CD |
29 | License |
30 | ------- | |
d7426190 | 31 | |
c2ec2f53 | 32 | Zcash is released under the terms of the MIT license. See [COPYING](COPYING) for more |
20d59455 | 33 | information or see http://opensource.org/licenses/MIT. |
d7426190 | 34 | |
35 | ||
36 | Komodo Specific Notes | |
37 | ===================== | |
38 | ||
d7426190 | 39 | Dependencies |
40 | ------------ | |
41 | ||
42 | ``` | |
43 | #The following packages are needed: | |
aae8f281 | 44 | sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python zlib1g-dev wget bsdmainutils automake libboost-all-dev libssl-dev libprotobuf-dev protobuf-compiler libqt4-dev libqrencode-dev libdb++-dev |
d7426190 | 45 | ``` |
46 | ||
47 | Komodo | |
48 | ------ | |
49 | ||
50 | ``` | |
f3ae714c | 51 | git clone https://github.com/jl777/komodo |
52 | cd komodo | |
37c38a07 | 53 | ./autogen.sh |
e725f1cb | 54 | ./configure --with-incompatible-bdb --with-gui |
d7426190 | 55 | # This command might finish with: configure: error: libgmp headers missing. This can be ignored. |
f3ae714c | 56 | ./zcutil/fetch-params.sh |
57 | cp ~/.zcash-params/testnet3/z9* ~/.zcash-params | |
6c4dfa1c | 58 | |
59 | # -j8 uses 8 threads - replace 8 with number of threads you want to use | |
60 | ./zcutil/build.sh -j8 | |
d7426190 | 61 | #This can take some time. |
62 | ``` | |
63 | ||
64 | Create komodo.conf | |
65 | ------------------ | |
66 | ||
67 | ``` | |
68 | cd ~ | |
69 | mkdir .komodo | |
70 | cd .komodo | |
8aeb7db1 | 71 | pico komodo.conf |
d7426190 | 72 | #Add the following lines to the komodo.conf file: |
8aeb7db1 | 73 | |
f3ae714c | 74 | rpcuser=bitcoinrpc |
0032bbb5 | 75 | rpcpassword=password |
8aeb7db1 | 76 | addnode=5.9.102.210 |
77 | addnode=78.47.196.146 | |
78 | addnode=178.63.69.164 | |
79 | addnode=88.198.65.74 | |
80 | addnode=5.9.122.241 | |
81 | addnode=144.76.94.38 | |
d7426190 | 82 | ``` |
83 | ||
84 | Start mining | |
85 | ------------ | |
86 | ||
87 | ``` | |
88 | cd ~ | |
89 | cd komodo | |
c6444836 | 90 | |
af7b3566 Y |
91 | #To start the daemon to get wallet addres and pubkey |
92 | ./src/komodod -gen -genproclimit=2 & | |
93 | ||
c6444836 | 94 | #This will give you your wallet address |
af7b3566 | 95 | ./src/komodo-cli listreceivedbyaddress 0 true |
c6444836 | 96 | |
c6444836 | 97 | #This will return your pubkey eg. "0259e137e5594cf8287195d13aed816af75bd5c04ae673296b51f66e7e8346e8d8" for your address |
af7b3566 Y |
98 | ./src/komodo-cli validateaddress RJeXg8vtvyC5vmB1WGsPnbHH4C6HLY42BK |
99 | ||
d5a5f0f3 | 100 | #To stop the daemon: |
af7b3566 | 101 | ./src/komodo-cli stop |
c6444836 | 102 | |
af7b3566 | 103 | #This starts komodo notary - replace genproclimit with number of threads you want to use |
c6444836 | 104 | ./src/komodod -gen -genproclimit=2 -notary -pubkey="0259e137e5594cf8287195d13aed816af75bd5c04ae673296b51f66e7e8346e8d8" & |
8aeb7db1 | 105 | |
106 | #This will get the stats: | |
107 | ./src/komodo-cli getinfo | |
108 | ||
d7426190 | 109 | #To view the process: |
8aeb7db1 | 110 | ps -ef | grep komodod |
6c4dfa1c | 111 | |
d2438574 | 112 | #To stop the daemon: |
af7b3566 | 113 | ./src/komodo-cli stop |
d7426190 | 114 | |
115 | #To view komodod output: | |
aae8f281 | 116 | tail -f ~/.komodo/debug.log |
0032bbb5 | 117 | ``` |
1e613927 | 118 |