]> Git Repo - VerusCoin.git/blame - README.md
Fix
[VerusCoin.git] / README.md
CommitLineData
cd2ad925 1[![Build Status](https://travis-ci.org/KomodoPlatform/komodo.svg?branch=dev)](https://travis-ci.org/KomodoPlatform/komodo)
2---
3![Komodo Logo](https://i.imgur.com/vIwVtqv.png "Komodo Logo")
20e0bc85 4
cd2ad925 5
6## Komodo
7
8This is the official Komodo sourcecode repository based on https://github.com/jl777/komodo.
20e0bc85 9
78192246 10## Development Resources
cd2ad925 11
12- Komodo Website: [https://komodoplatform.com/](https://komodoplatform.com/)
13- Komodo Blockexplorer: [https://kmdexplorer.io//](https://https://kmdexplorer.io/)
20e0bc85
S
14- Forum: [https://forum.komodoplatform.com/](https://forum.komodoplatform.com/)
15- Mail: [[email protected]](mailto:[email protected])
16- Support: [https://support.komodoplatform.com/support/home](https://support.komodoplatform.com/support/home)
17- Knowledgebase & How-to: [https://komodoplatform.atlassian.net/wiki/spaces/KPSD/pages](https://komodoplatform.atlassian.net/wiki/spaces/KPSD/pages)
cd2ad925 18- API references: [http://docs.komodoplatform.com/](http://docs.komodoplatform.com/)
19- Blog: [http://blog.komodoplatform.com/](http://blog.komodoplatform.com/)
20- Whitepaper: [Komodo Whitepaper](https://komodoplatform.com/wp-content/uploads/2018/03/2018-03-12-Komodo-White-Paper-Full.pdf)
78192246 21- Komodo Platform public material: [Komodo Platform public material](https://docs.google.com/document/d/1AbhWrtagu4vYdkl-vsWz-HSNyNvK-W-ZasHCqe7CZy0)
20e0bc85 22
78192246 23## List of Komodo Platform Technologies
cd2ad925 24
25- Delayed Proof of Work (dPoW) - Additional security layer and Komodos own consensus algorithm.
26- zk-SNARKs - Komodo Platform's privacy technology for shielded transactions
27- Tokens/Assets Technology - create "colored coins" on the Komodo Platform and use them as a layer for securites
28- Reward API - Komodo CC technology for securities
29- CC - Crypto Conditions to realize "smart contract" logic on top of the Komodo Platform
20e0bc85 30- Jumblr - Decentralized tumbler for KMD and other cryptocurrencies
cd2ad925 31- Assetchains - Create your own Blockchain that inherits all Komodo Platform functionalities and blockchain interoperability
20e0bc85
S
32- Pegged Assets - Chains that maintain a peg to fiat currencies
33- Peerchains - Scalability solution where sibling chains form a network of blockchains
34- More in depth covered [here](https://docs.google.com/document/d/1AbhWrtagu4vYdkl-vsWz-HSNyNvK-W-ZasHCqe7CZy0)
35- Also note you receive 5% APR on your holdings.
36[See this article for more details](https://komodoplatform.atlassian.net/wiki/spaces/KPSD/pages/20480015/Claim+KMD+Interest+in+Agama)
37
78192246 38## Tech Specification
20e0bc85
S
39- Max Supply: 200 million KMD.
40- Block Time: 1M 2s
41- Block Reward: 3KMD
cd2ad925 42- Mining Algorithm: Equihash
20e0bc85 43
78192246 44## About this Project
cd2ad925 45Komodo is based on Zcash and has been extended by our innovative consensus algorithm called dPoW which utilizes Bitcoin's hashrate to store Komodo blockchain information into the Bitcoin blockchain. Other new and native Komodo features are the privacy technology called JUMBLR, our assetchain capabilities (one click plug and play blockchain solutions) and a set of financial decentralization and interoperability technologies. More details are available under https://komodoplatform.com/ and https://blog.komodoplatform.com.
20e0bc85 46
78192246 47## Getting started
cd2ad925 48
49### Dependencies
78192246 50
20e0bc85 51```shell
d7426190 52#The following packages are needed:
e8131126 53sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python python-zmq zlib1g-dev wget libcurl4-openssl-dev bsdmainutils automake curl
d7426190 54```
78192246 55
cd2ad925 56### Build Komodo
a08b1ae8 57
cd2ad925 58This software is based on zcash and considered experimental and is continously undergoing heavy development.
a08b1ae8 59
cd2ad925 60The dev branch is considered the bleeding edge codebase while the master-branch is considered tested (unit tests, runtime tests, functionality). At no point of time do the Komodo Platform developers take any responsbility for any damage out of the usage of this software.
61Komodo builds for all operating systems out of the same codebase. Follow the OS specific instructions from below.
78192246 62
cd2ad925 63#### Linux
20e0bc85 64```shell
cd2ad925 65git clone https://github.com/komodoplatform/komodo --branch master --single-branch
f3ae714c 66cd komodo
f3ae714c 67./zcutil/fetch-params.sh
cd2ad925 68# -j8 = using 8 threads for the compilation - replace 8 with number of threads you want to use
6c4dfa1c 69./zcutil/build.sh -j8
d7426190 70#This can take some time.
71```
3bb1d82c 72
cd2ad925 73#### OSX
74Ensure you have [brew](https://brew.sh) and the command line tools installed (comes automatically with XCode) and run:
75```shell
76brew update && brew install gcc@6
77git clone https://github.com/komodoplatform/komodo --branch master --single-branch
78cd komodo
79./zcutil/fetch-params.sh
80# -j8 = using 8 threads for the compilation - replace 8 with number of threads you want to use
81./zcutil/build-mac.sh -j8
82#This can take some time.
83```
9000990c 84
cd2ad925 85#### Windows
86Use a debian cross-compilation setup with mingw for windows and run:
20e0bc85 87```shell
cd2ad925 88git clone https://github.com/komodoplatform/komodo --branch master --single-branch
89cd komodo
3bb1d82c 90./zcutil/fetch-params.sh
cd2ad925 91# -j8 = using 8 threads for the compilation - replace 8 with number of threads you want to use
92./zcutil/build-win.sh -j8
93#This can take some time.
20e0bc85 94```
cd2ad925 95**komodo is experimental and a work-in-progress.** Use at your own risk.
96
97To reset the Komodo blockchain change into the *~/.komodo* data directory and delete the corresponding files by running `rm -rf blocks chainstate debug.log komodostate db.log`
98
99#### Create komodo.conf
20e0bc85 100
cd2ad925 101Create a komodo.conf file:
78192246 102
d7426190 103```
cd2ad925 104mkdir ~/.komodo
105cd ~/.komodo
106touch komodo.conf
107
d7426190 108#Add the following lines to the komodo.conf file:
cd2ad925 109rpcuser=yourrpcusername
110rpcpassword=yoursecurerpcpassword
111rpcbind=127.0.0.1
a0413d6a 112txindex=1
8aeb7db1 113addnode=5.9.102.210
114addnode=78.47.196.146
115addnode=178.63.69.164
116addnode=88.198.65.74
117addnode=5.9.122.241
118addnode=144.76.94.38
67e8ca1c 119addnode=89.248.166.91
d7426190 120```
cd2ad925 121### Create your own Blockchain based on Komodo
78192246 122
cd2ad925 123Komodo allows anyone to create a runtime fork which represents an independent Blockchain. Below are the detailed instructions:
124Setup two independent servers with at least 1 server having a static IP and build komodod on those servers.
78192246 125
cd2ad925 126#### On server 1 (with static IP) run:
20e0bc85 127```shell
cd2ad925 128./komodod -ac_name=name_of_your_chain -ac_supply=100000 -bind=ip_of_server_1 &
129```
130
131#### On server 2 run:
132```shell
133./komodod -ac_name=name_of_your_chain -ac_supply=100000 -addnode=ip_of_server_1 -gen &
0032bbb5 134```
cd2ad925 135
136**Komodo is based on Zcash which is unfinished and highly experimental.** Use at your own risk.
20e0bc85 137
20d59455
CD
138License
139-------
666a401f 140For license information see the file [COPYING](COPYING).
20e0bc85
S
141
142**NOTE TO EXCHANGES:**
a35f7eee 143https://bitcointalk.org/index.php?topic=1605144.msg17732151#msg17732151
144There is a small chance that an outbound transaction will give an error due to mismatched values in wallet calculations. There is a -exchange option that you can run komodod with, but make sure to have the entire transaction history under the same -exchange mode. Otherwise you will get wallet conflicts.
20e0bc85
S
145
146**To change modes:**
147
148a) backup all privkeys (launch komodod with `-exportdir=<path>` and `dumpwallet`)
20e0bc85 149b) start a totally new sync including `wallet.dat`, launch with same `exportdir`
20e0bc85 150c) stop it before it gets too far and import all the privkeys from a) using `komodo-cli importwallet filename`
a35f7eee 151d) resume sync till it gets to chaintip
20e0bc85 152
c9ef1c89 153For example:
20e0bc85 154```shell
c9ef1c89 155./komodod -exportdir=/tmp &
156./komodo-cli dumpwallet example
157./komodo-cli stop
158mv ~/.komodo ~/.komodo.old && mkdir ~/.komodo && cp ~/.komodo.old/komodo.conf ~/.komodo.old/peers.dat ~/.komodo
159./komodod -exchange -exportdir=/tmp &
02b02173 160./komodo-cli importwallet /tmp/example
20e0bc85 161```
cd2ad925 162---
20e0bc85 163
1cacba6a 164
cd2ad925 165Permission 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:
c9ef1c89 166
cd2ad925 167The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
20e0bc85 168
cd2ad925 169THE 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.
This page took 0.28675 seconds and 4 git commands to generate.