]> Git Repo - VerusCoin.git/blame - README.md
Testnet fixes
[VerusCoin.git] / README.md
CommitLineData
07d018fe 1## VerusCoin version 0.7.3
5f48c779 2
7d50f390 3Arguably the world's most advanced technology, zero knowledge privacy-centric blockchain, Verus Coin brings Sapling performance and zero knowledge features to an intelligent system with interchain smart contracts and a completely original, combined proof of stake/proof of work consensus algorithm that solves the nothing at stake problem. With this and its approach towards CPU mining and ASICs, Verus Coin strives to be one of the most naturally decentralizing and attack resistant blockchains in existence.
72311c06 4
694215fe 5We have added a variation of a zawy12, lwma difficulty algorithm, a new CPU-optimized hash algorithm and a new algorithm for fair proof of stake. We describe these changes and vision going forward in a [our Phase I white paper](https://verus.io/docs/VerusPhaseI.pdf) and [our Vision](https://verus.io/downloads/VerusVision.pdf).
d6e69171 6
d4bd925d 7Also see our [VerusCoin web site](https://verus.io/) and [VerusCoin Explorer](https://explorer.verus.io/).
559ab225 8
7d50f390 9## VerusCoin
aa84b0af 10This software is the VerusCoin client. Generally, you will use this if you want to mine VRSC or setup a full node. When you run the wallet it launches komodod automatically. On first launch it downloads Zcash parameters, roughly 1GB, which is mildly slow.
7d50f390 11
c7d92b50 12The wallet downloads and stores the block chain or asset chain of the coin you select. It downloads and stores the entire history of the coins transactions; depending on the speed of your computer and network connection, the synchronization process could take a day or more once the blockchain has reached a significant size.
20e0bc85 13
78192246 14## Development Resources
d4bd925d 15- VerusCoin:[https://verus.io/](https://veruscoin.io/) Wallets and CLI tools
5b503521 16- Discord: [https://discord.gg/VRKMP2S](https://discord.gg/VRKMP2S)
d4bd925d
AD
17- Mail: [[email protected]]([email protected])
18- FAQs & How-to: [https://wiki.verus.io/#!index.md](https://wiki.veruscoin.io/#!index.md)
19- API references: [https://wiki.verus.io/#!faq-cli/clifaq-02_verus_commands.md](https://wiki.verus.io/#!faq-cli/clifaq-02_verus_commands.md)
5b503521 20- Medium: [https://medium.com/@veruscoin](https://medium.com/@veruscoin)
d4bd925d 21- Explorer: [https://explorer.verus.io/](https://explorer.veruscoin.io/)
78192246 22## Tech Specification
7d50f390
D
23- Launch Date May 21, 2018
24- Max Supply: 83,540,184 VRSC
25- Block Time: 1M
26- Block Reward: variable 24 on December 20, 2018
27- Mining Algorithm: VerusHash 2.0
28- Consensus 50% PoW, 50% PoS
29- Transaction Fee 0.0001
5b503521
AD
30- Privacy: Zcash Sapling
31- dPOW on Komodo blockchain
7d50f390 32- CheatCatcher distributed stake cheating detector
20e0bc85 33
78192246 34## About this Project
7d50f390
D
35VerusCoin is based on Komodo which is based on Zcash and has been extended by our innovative consensus staking and mining algorithms and a novel 50% PoW/50% PoS approach.
36
37Many VRSC innovations are now also available back in the Komodo fork:
38- Eras
39- Timelocking
40- VerusHash
41- VerusPoS
42- 50% PoS/50% PoW
43
44 More details including a link to our vision and white papers and client downloads are [available on our web site](https://veruscoin.io)
20e0bc85 45
78192246 46## Getting started
cd2ad925 47
48### Dependencies
78192246 49
20e0bc85 50```shell
d7426190 51#The following packages are needed:
99c8da67 52sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git zlib1g-dev wget bsdmainutils automake curl
d7426190 53```
78192246 54
fe1f237d
A
55ARMv8 cross-compile
56```shell
57#The following packages are needed:
99c8da67 58sudo apt-get install build-essential pkg-config linux-libc-dev-arm64-cross m4 autoconf g++-aarch64-linux-gnu binutils-aarch64-linux-gnu libtool ncurses-dev unzip git zlib1g-dev wget bsdmainutils automake curl
fe1f237d
A
59```
60Windows cross-compile
61```shell
62#The following packages are needed:
99c8da67 63sudo apt-get install autoconf automake autogen bsdmainutils cmake curl git libc6-dev libcap-dev libdb++-dev libqrencode-dev libprotobuf-dev libssl-dev libtool libz-dev libbz2-dev m4 make mingw-w64 ncurses-dev pkg-config protobuf-compiler unzip wget zip zlib1g-dev
fe1f237d 64```
545b3011
DD
65
66Building
67--------
68
a4aac3d0 69First time you'll need to get assorted startup values downloaded. This takes a moderate amount of time once but then does not need to be repeated unless you bring a new system up. The command is:
545b3011 70```
7d50f390 71zcutil/fetch-params.sh
545b3011 72```
aa84b0af 73Building for Linux:
545b3011 74```
7d50f390 75zcutil/build.sh
545b3011
DD
76```
77Building for Mac OS/X (see README-MAC.md):
78```
7d50f390 79zcutil/build-mac.sh
545b3011
DD
80```
81Building for Windows:
82```
7d50f390 83zcutil/build-win.sh
d7426190 84```
a4aac3d0 85VerusCoin
d7426190 86------
7d50f390 87We develop on dev and some other branches and produce releases of of the master branch, using pull requests to manage what goes into master. The dev branch is considered the bleeding edge codebase, and may even be oncompatible from time to time, while the master-branch is considered tested (unit tests, runtime tests, functionality). At no point of time do the Komodo Platform developers or Verus Developers take any responsibility for any damage out of the usage of this software.
a08b1ae8 88
0c8fa56a 89Verus builds for all operating systems out of the same codebase. Follow the OS specific instructions from below.
78192246 90
0c8fa56a 91#### Linux
20e0bc85 92```shell
a4aac3d0 93git clone https://github.com/VerusCoin/VerusCoin
62fff833 94cd VerusCoin
a08b1ae8 95#you might want to: git checkout <branch>; git pull
f3ae714c 96./zcutil/fetch-params.sh
7d50f390
D
97# -j8 = using 8 threads for the compilation - replace 8 with number of threads you want to use
98./zcutil/build.sh -j8
d7426190 99#This can take some time.
100```
fe1f237d
A
101#### Linux ARMv8 Cross-compile
102```shell
103git clone https://github.com/VerusCoin/VerusCoin
104cd VerusCoin
105#you might want to: git checkout <branch>; git pull
106./zcutil/fetch-params.sh
107# -j8 = using 8 threads for the compilation - replace 8 with number of threads you want to use
01126e99 108HOST= aarch64-linux-gnu ./zcutil/build.sh -j8
fe1f237d
A
109#This can take some time.
110```
ce7e7caf 111
7d50f390 112#To view all commands
aa84b0af 113./src/verus help
9000990c 114
5b503521
AD
115#To view verusd debug output:
116```
a4aac3d0 117tail -f ~/.komodo/VRSC/debug.log
5b503521 118```
7d50f390 119Note that this directory is correct for Linux, not Mac or Windows. Coin info for Verus is stored in ~/.komodo/VRSC under Ubuntu/Linux.
20e0bc85 120
7d50f390 121For Windows coin info for Verus is stored under \Users<username>\AppData\Roaming\Komodo\VRSC
ce7e7caf 122
7d50f390 123For Mac coin info for Verus is stored under ~/Library/Application\ Support/Komodo/VRSC
20e0bc85 124
5b503521 125**The VerusCoin project and protocol is experimental and a work-in-progress.** Use this source code and software at your own risk.
666a401f 126
7d50f390 127Always back your wallets up carefully and securely, **especially before attempting the following process**
20e0bc85 128
7d50f390
D
129In some cases, messed up wallets can be recovered using this process
130
131- backup wallet.dat safely and securely
132- backup all privkeys (launch komodod with `-exportdir=<path>` and `dumpwallet`)
133- start a totally new sync including `wallet.dat`, launch with same `exportdir`
aa84b0af 134- stop it before it gets too far and import all the privkeys from a) using `verus importwallet filename`
7d50f390 135- resume sync till it gets to chaintip
20e0bc85 136
c9ef1c89 137For example:
20e0bc85 138```shell
9feb4b9e 139./verusd -exportdir=/tmp &
140./verus dumpwallet example
141./verus stop
142mv ~/.komodo/VRSC ~/.komodo/VRSC.old && mkdir ~/.komodo/VRSC && cp ~/.komodo/VRSC.old/VRSC.conf ~/.komodo/VRSC.old/peers.dat ~/.komodo/VRSC
143./verusd -exchange -exportdir=/tmp &
144./verus importwallet /tmp/example
20e0bc85 145```
cd2ad925 146---
20e0bc85 147
20e0bc85 148
cd2ad925 149Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
20e0bc85 150
9feb4b9e 151The above copyright notices and this permission notice shall be included in all copies or substantial portions of the Software.
20e0bc85 152
cd2ad925 153THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
7d50f390 154
This page took 0.256368 seconds and 4 git commands to generate.