Commercium gradual transition platform
- Algorithm: Equihash
- Max Supply: 58 million CMM
- Block Time: 60 Seconds
- Block Reward: 8 CMM, 35% to Masternode 7.5% to Founders and Stake wallet.
#The following packages are needed:
sudo 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-gnutls-dev bsdmainutils automake curlgit clone https://github.com/CommerciumBlockchain/CommerciumContinuum
cd CommerciumContinuum
./zcutil/fetch-params.sh
./zcutil/build.shReview Dockerfile
A step by step guide howto setup your Commercium Masternode on Windows/Linux/MacOS local wallet & Linux VPS as remote MN.You also can run your masternode at your own computer, but it must be operational 24/7 and have a dedicated IP address. When you run your masternode your funds are safe and stored at your local wallet, not at the VPS (linux machine most cases).
- 100000 CMM + 0.001 CMM to pay transaction fees
- Commercium wallet on local Windows/Linux/MacOSX PC and VPS
- VPS with at least 1024 RAM, 1 CPU, >20 GB HDD or more
- better to use latest ubuntu (18.04) for VPS. If you run 16.04 just install: apt-get install libgomp1
- putty (putty.org)
- Install latest Commercium wallet on your machine from this link:https://github.com/CommerciumBlockchain/CommerciumContinuum/releases Follow this video instructions for help:https://youtu.be/AQMogS3Enjs — Windows https://youtu.be/xuLRBuvaSgU — MacOS
If you are already have old Commercium wallet then backup your data, export you private keys to import them later at new wallet: Backup `~/.commercium` - directory for MacOSX/Linux Windows users (use command shell cmd.exe). Press Win+r-> write "cmd" -> enter -> copy&paste his commands into the shell: move %APPDATA%/ZcashParams %APPDATA%/ZcashParams.backup move %APPDATA%/Commercium %APPDATA%/Commercium.backup
- We must edit our wallet configuration file
commercium.conf.
- Linux:
~/.commerciumfolder - Windows:
%appdata%/Commerciumfolder - MAC:
~/Library/Application Support/Commercium
Enter these commands on the Windows shell: cd %appdata%/Commercium notepad commercium.conf or open commercium.conf for editing with other editor. I suggest to edit it with external editor like Notepad++ or some other, because the default notepad on Windows 7 did not recognize unix wrapping at this file)
Append this new line to the end of the file:
txindex=1
- Exit windows wallet. Next we will do a full blockchain rescan to create transaction index.
Run this command at Windows shell:commerciumd.exe -reindex
Linux shell: ./commercium -reindex
OR ALTERNATIVE:
Windows:
del %APPDATA%\Commercium\peers.dat
del %APPDATA%\Commercium\budget.dat
del %APPDATA%\Commercium\mn*.dat
del %APPDATA%\Commercium\sporks /Q
del %APPDATA%\Commercium\chainstate /Q
del %APPDATA%\Commercium\blocks /Q
del %APPDATA%\Commercium\blocks\index /Q
del %APPDATA%\Commercium\database /Q
Linux:
rm -rf ~/.commercium/blocks
rm -rf ~/.commercium/database
rm -rf ~/.commercium/chainstate
rm -rf ~/.commercium/sporks
rm ~/.commercium/mn*.dat
rm ~/.commercium/budget.dat
rm ~/.commercium/peers.dat
MacOSX:
rm -rf Library/Application\ Support/Commercium/blocks
rm -rf Library/Application\ Support/Commercium/database
rm -rf Library/Application\ Support/Commercium/chainstate
rm -rf Library/Application\ Support/Commercium/sporks
rm Library/Application\ Support/Commercium/mn*.dat
rm Library/Application\ Support/Commercium/budget.dat
rm Library/Application\ Support/Commercium/peers.dat
Run new wallet release and wait until all block will be resynced again. At QT Windows wallet check tap “commerciumd” and wait until “Downloading blocks” will be 100% done. If you run -reindex then close you cmd shell and run QT wallet.
- At this step we will send your CMM masternode coins to some new collateral address (you’ll receive masternode reward to this address). Create new “t-Addr”. You can do this at “Receive” tab. Now, send coins to this address from “send” tab. Transfer exactly 100000 CMM to this address. WARNING: save new private key for this new address and make
wallet.datbackup! - Then need to edit masternode config file to setup masternode: Open
masternode.conffor editing:
Format: alias IP:port masternodeprivkey(NODEKEY) collateral_output_txid(OUTPUTTXID) collateral_output_index(OUTPUTINDEX)
# Example: mn1 127.0.0.2:51474 93HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg 2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c 0As you see above to setup masternode we must have the following data: ALIAS — masternode alias IP — VPS IP PORT — always the same 2019 NODEKEY — masternode private key (looks like generated numbers and charts) OUTPUTTXID — collateral output txid OUTPUTINDEX — collateral output index (is usually 0)
- Bellow is where all this requested information comes from:
6.1 Generating NODEKEY masternode private key. Run this at local wallet where you store your coins:
commercium-cli.exe masternode genkey
Output of this command is your Masternode Private Key (NODEKEY)
6.2 OUTPUTTXID and OUTPUTINDEX
commercium-cli.exe masternode outputs
show “txhash” and “outputidx”. txhash is OUTPUTTXID / outputid is OUTPUTINDEX
6.3 Now you are ready to add all this information to masternode.conf.
Format: ALIAS IP:2019 NODEKEY OUTPUTTXID OUTPUTINDEX
6.4 Save your masternode.conf changes.
Connect with Putty to your VPS. Just enter IP address of your VPS at the Putty windows and login with your VPS username/password. Create new user adduser cmmuser. If you need video instruction check this video: https://youtu.be/vVVhtQ5Wd3g
(secure your vps)
- linux shell:
wget https://github.com/CommerciumBlockchain/CommerciumContinuum/releases/download/v1.0.5/commercium_continuum-v1.0.5-linux.tar.gz - Extract files with following commands:
tar -xzvf commercium_continuum-v1.0.5-linux.tar.gz cd ~ (to user home) mkdir .commercium
echo -e "txindex=1\ndaemon=1\nrpcuser=PASSWORD\nrpcpassword=PASSWORD\nmasternode=1\nmasternodeprivkey=NODEKEY" > .commercium/commercium.conf
or create new config file at .commercium directory and edit:
nano ~/.commercium/commercium.conf
add following:
txindex=1
daemon=1
rpcuser=PASSWORD
rpcpassword=PASSWORD
masternode=1
masternodeprivkey=NODEKEYNODEKEY - is the key from previous part 6.1 PASSWORD - random password. Use secure password.
YOU MASTERNODE IS READY TO START!
on local wallet windows: commercium-cli.exe startmasternode all missing alternative command: commercium-cli.exe startalias MASTERNODEALIAS
on vps ./commercium-cli masternode debug must display "Masternode successfully started." if not, wait 20 minutes and start the masternode again using the command above.