Giter VIP home page Giter VIP logo

cropcoin's Introduction

CropCoin

Shell script to install a Cropcoin Masternode on a Linux server running Ubuntu 16.04. Use it on your own risk.


Installation for v1.1.0.5:

wget -N https://raw.githubusercontent.com/zoldur/CropCoin/master/cropcoin.sh
bash cropcoin.sh

Desktop wallet setup

After the MN is up and running, you need to configure the desktop wallet accordingly. Here are the steps:

  1. Open the CropCoin Desktop Wallet.
  2. Go to RECEIVE and create a New Address: MN1
  3. Send 10000 20000 or 30000 CROP to MN1.
  4. Wait for 15 confirmations.
  5. Go to Help -> "Debug Window - Console"
  6. Type the following command: masternode outputs
  7. Go to Masternodes tab
  8. Click Create and fill the details:
  • Alias: MN1
  • Address: VPS_IP:PORT
  • Privkey: Masternode Private Key
  • TxHash: First value from Step 6
  • Output index: Second value from Step 6
  • Reward address: leave blank
  • Reward %: leave blank
  1. Click OK to add the masternode
  2. Click Start All

Multiple MN on one VPS:

It is now possible to run multiple CropCoin Master Nodes on the same VPS. Each MN will run under a different user you will choose during installation.


Usage:

For security reasons CropCoin is installed under a normal user, usually cropcoin, hence you need to su - cropcoin before checking:

CROPUSER=cropcoin #replace cropcoin with the MN username you want to check
su - $CROPUSER
cropcoind masternode status
cropcoind getinfo

Also, if you want to check/start/stop cropcoin daemon for a particular MN, run one of the following commands as root:

CROPUSER=cropcoin  #replace cropcoin with the MN username you want to check
systemctl status $CROPUSER #To check the service is running
systemctl start $CROPUSER #To start cropcoind service
systemctl stop $CROPUSER #To stop cropcpoind service
systemctl is-enabled $CROPUSER #To check cropcoind service is enabled on boot

Wallet re-sync

If you need to resync the wallet, run the following commands as root:

CROPUSER=cropcoin  #replace cropcoin with the MN username you want to resync
systemctl stop $CROPUSER
rm -r /home/$CROPUSER/.cropcoin/{banlist.dat,blk0001.dat,database,db.log,mncache.dat,peers.dat,smsgDB,smsg.ini,txleveldb}
systemctl start $CROPUSER

Wallet update to 1.1.0.5

Run the following commands as root to update CropCoin to version 1.1.0.5

cd /tmp
for crop in $(grep -l cropcoind /etc/systemd/system/*.service | awk -F"/" '{print $NF}'); do systemctl stop $crop; done
rm cropcoind cropcoind.gz
wget -N https://github.com/zoldur/CropCoin/releases/download/v.1.1.0.5/cropcoind.gz
gunzip cropcoind.gz
chmod +x cropcoind
mv cropcoind /usr/local/bin
for crop in $(grep -l cropcoind /etc/systemd/system/*.service | awk -F"/" '{print $NF}'); do systemctl start $crop; done

Donations:

Any donation is highly appreciated

CROP: cKH8Gea49ZtNLLV1Q4zcQaFY7K1uQ2ki5s
BTC: 3MNhbUq5smwMzxjU2UmTfeafPD7ag8kq76
ETH: 0x26B9dDa0616FE0759273D651e77Fe7dd7751E01E
LTC: LeZmPXHuQEhkd8iZY7a2zVAwF7DCWir2FF

cropcoin's People

Contributors

zoldur avatar

Stargazers

Gábor Mihálcz avatar  avatar  avatar  avatar Ryba avatar  avatar  avatar Tyrael avatar Oleg Semyonov avatar Rafal Sladek avatar Alvin Law avatar

Watchers

Ryba avatar Samuel Bourque avatar James Cloos avatar  avatar  avatar Wesley Levels avatar  avatar  avatar  avatar

cropcoin's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.