]> Git Repo - VerusCoin.git/blame - README.md
Merge branch 'dev' of https://github.com/miketout/VerusCoin into dev
[VerusCoin.git] / README.md
CommitLineData
cba72b76 1## VerusCoin version 0.6.2-1
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
7d50f390 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](http://185.25.51.16/papers/VerusPhaseI.pdf) and [our Vision](http://185.25.51.16/papers/VerusVision.pdf).
d6e69171 6
7d50f390 7Also see our [VerusCoin web site](https://veruscoin.io/) and [VerusCoin Explorer](https://explorer.veruscoin.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
b7bf3f28 15- VerusCoin:[https://veruscoin.io/](https://veruscoin.io/) Wallets and CLI tools
78192246 16- Komodo Web: [https://komodoplatform.com/](https://komodoplatform.com/)
20e0bc85
S
17- Organization web: [https://komodoplatform.com/](https://komodoplatform.com/)
18- Forum: [https://forum.komodoplatform.com/](https://forum.komodoplatform.com/)
19- Mail: [[email protected]](mailto:[email protected])
20- Support: [https://support.komodoplatform.com/support/home](https://support.komodoplatform.com/support/home)
21- Knowledgebase & How-to: [https://komodoplatform.atlassian.net/wiki/spaces/KPSD/pages](https://komodoplatform.atlassian.net/wiki/spaces/KPSD/pages)
cd2ad925 22- API references: [http://docs.komodoplatform.com/](http://docs.komodoplatform.com/)
23- Blog: [http://blog.komodoplatform.com/](http://blog.komodoplatform.com/)
24- Whitepaper: [Komodo Whitepaper](https://komodoplatform.com/wp-content/uploads/2018/03/2018-03-12-Komodo-White-Paper-Full.pdf)
78192246 25- Komodo Platform public material: [Komodo Platform public material](https://docs.google.com/document/d/1AbhWrtagu4vYdkl-vsWz-HSNyNvK-W-ZasHCqe7CZy0)
20e0bc85 26
78192246 27## List of Komodo Platform Technologies
cd2ad925 28
29- Delayed Proof of Work (dPoW) - Additional security layer and Komodos own consensus algorithm.
30- zk-SNARKs - Komodo Platform's privacy technology for shielded transactions
31- Tokens/Assets Technology - create "colored coins" on the Komodo Platform and use them as a layer for securites
32- Reward API - Komodo CC technology for securities
33- CC - Crypto Conditions to realize "smart contract" logic on top of the Komodo Platform
20e0bc85 34- Jumblr - Decentralized tumbler for KMD and other cryptocurrencies
cd2ad925 35- Assetchains - Create your own Blockchain that inherits all Komodo Platform functionalities and blockchain interoperability
20e0bc85
S
36- Pegged Assets - Chains that maintain a peg to fiat currencies
37- Peerchains - Scalability solution where sibling chains form a network of blockchains
38- More in depth covered [here](https://docs.google.com/document/d/1AbhWrtagu4vYdkl-vsWz-HSNyNvK-W-ZasHCqe7CZy0)
39- Also note you receive 5% APR on your holdings.
40[See this article for more details](https://komodoplatform.atlassian.net/wiki/spaces/KPSD/pages/20480015/Claim+KMD+Interest+in+Agama)
41
78192246 42## Tech Specification
7d50f390
D
43- Launch Date May 21, 2018
44- Max Supply: 83,540,184 VRSC
45- Block Time: 1M
46- Block Reward: variable 24 on December 20, 2018
47- Mining Algorithm: VerusHash 2.0
48- Consensus 50% PoW, 50% PoS
49- Transaction Fee 0.0001
50- Privacy: Zcash Sprout
51- Komodo Platform with dPOW
52- CheatCatcher distributed stake cheating detector
20e0bc85 53
78192246 54## About this Project
7d50f390
D
55VerusCoin 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.
56
57Many VRSC innovations are now also available back in the Komodo fork:
58- Eras
59- Timelocking
60- VerusHash
61- VerusPoS
62- 50% PoS/50% PoW
63
64 More details including a link to our vision and white papers and client downloads are [available on our web site](https://veruscoin.io)
20e0bc85 65
78192246 66## Getting started
cd2ad925 67
68### Dependencies
78192246 69
20e0bc85 70```shell
d7426190 71#The following packages are needed:
428abb3a 72sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libcurl4-openssl-dev libtool ncurses-dev unzip git python python-zmq zlib1g-dev wget bsdmainutils automake curl
d7426190 73```
78192246 74
fe1f237d
A
75ARMv8 cross-compile
76```shell
77#The following packages are needed:
cba72b76 78sudo 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 python python-zmq zlib1g-dev wget bsdmainutils automake curl
fe1f237d
A
79```
80Windows cross-compile
81```shell
82#The following packages are needed:
83sudo 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 python python-zmq unzip wget zip zlib1g-dev
84```
545b3011
DD
85
86Building
87--------
88
a4aac3d0 89First 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 90```
7d50f390 91zcutil/fetch-params.sh
545b3011 92```
aa84b0af 93Building for Linux:
545b3011 94```
7d50f390 95zcutil/build.sh
545b3011
DD
96```
97Building for Mac OS/X (see README-MAC.md):
98```
7d50f390 99zcutil/build-mac.sh
545b3011
DD
100```
101Building for Windows:
102```
7d50f390 103zcutil/build-win.sh
d7426190 104```
a4aac3d0 105VerusCoin
d7426190 106------
7d50f390 107We 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 108
0c8fa56a 109Verus builds for all operating systems out of the same codebase. Follow the OS specific instructions from below.
78192246 110
0c8fa56a 111#### Linux
20e0bc85 112```shell
a4aac3d0 113git clone https://github.com/VerusCoin/VerusCoin
62fff833 114cd VerusCoin
a08b1ae8 115#you might want to: git checkout <branch>; git pull
f3ae714c 116./zcutil/fetch-params.sh
7d50f390
D
117# -j8 = using 8 threads for the compilation - replace 8 with number of threads you want to use
118./zcutil/build.sh -j8
d7426190 119#This can take some time.
120```
fe1f237d
A
121#### Linux ARMv8 Cross-compile
122```shell
123git clone https://github.com/VerusCoin/VerusCoin
124cd VerusCoin
125#you might want to: git checkout <branch>; git pull
126./zcutil/fetch-params.sh
127# -j8 = using 8 threads for the compilation - replace 8 with number of threads you want to use
128STATIC_LIBCURL=1 HOST= aarch64-linux-gnu ./zcutil/build.sh -j8
129#This can take some time.
130```
88d014d0 131**The VerusCoin project and protocol is experimental and a work-in-progress.** Use this source code and software at your own risk.
ce7e7caf 132
7d50f390 133#To view all commands
aa84b0af 134./src/verus help
9000990c 135
d7426190 136#To view komodod output:
aae8f281 137tail -f ~/.komodo/debug.log
a4aac3d0
DD
138#To view VRSC output:
139tail -f ~/.komodo/VRSC/debug.log
7d50f390 140Note that this directory is correct for Linux, not Mac or Windows. Coin info for Verus is stored in ~/.komodo/VRSC under Ubuntu/Linux.
20e0bc85 141
7d50f390 142For Windows coin info for Verus is stored under \Users<username>\AppData\Roaming\Komodo\VRSC
ce7e7caf 143
7d50f390 144For Mac coin info for Verus is stored under ~/Library/Application\ Support/Komodo/VRSC
20e0bc85 145
7d50f390 146**Zcash is unfinished and highly experimental.** Use at your own risk.
666a401f 147
7d50f390 148Always back your wallets up carefully and securely, **especially before attempting the following process**
20e0bc85 149
7d50f390
D
150In some cases, messed up wallets can be recovered using this process
151
152- backup wallet.dat safely and securely
153- backup all privkeys (launch komodod with `-exportdir=<path>` and `dumpwallet`)
154- start a totally new sync including `wallet.dat`, launch with same `exportdir`
aa84b0af 155- stop it before it gets too far and import all the privkeys from a) using `verus importwallet filename`
7d50f390 156- resume sync till it gets to chaintip
20e0bc85 157
c9ef1c89 158For example:
20e0bc85 159```shell
9feb4b9e 160./verusd -exportdir=/tmp &
161./verus dumpwallet example
162./verus stop
163mv ~/.komodo/VRSC ~/.komodo/VRSC.old && mkdir ~/.komodo/VRSC && cp ~/.komodo/VRSC.old/VRSC.conf ~/.komodo/VRSC.old/peers.dat ~/.komodo/VRSC
164./verusd -exchange -exportdir=/tmp &
165./verus importwallet /tmp/example
20e0bc85 166```
cd2ad925 167---
20e0bc85 168
20e0bc85 169
cd2ad925 170Permission 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 171
9feb4b9e 172The above copyright notices and this permission notice shall be included in all copies or substantial portions of the Software.
20e0bc85 173
cd2ad925 174THE 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 175
This page took 0.185436 seconds and 4 git commands to generate.