Coder Social home page Coder Social logo

CrownPi - (MNPoS 0.13.4)

Local Masternode hosting for the Crown(CRW) community.

alt text

Introduction

CROWNPI IS NO LONGER RECOMMENDED AS IT DOESN'T PROVIDE INCOMING CONNECTIONS

Hosting from home is risky as your IP address is made public. CrownPi will help you host from home safely using OpenVPN. You must have a NordVPN or AreaVPN account to use CrownPi.

Usage

Raspberry Pi - Raspian Stretch Lite:

sudo wget "https://raw.githubusercontent.com/defunctec/CrownPi/master/crownpiscript.sh" -O install.sh | bash && sudo chmod +x install.sh && sudo ./install.sh

Installation Guide

  1. You must have a new copy of "Raspian Stretch Lite" installed on a 16GB SD Card using win32DiskImager for example.
  2. This script must be run from root.
  3. Enable SSH connections and expand the file system using
sudo raspi-config
  1. Reboot the Pi
sudo reboot now
  1. Now get the local IP address of the PI which starts with 192.168 and can be used for SSH
ifconfig
  1. Once logged in via SSH, use this command to initiate the installation process
sudo wget "https://raw.githubusercontent.com/defunctec/CrownPi/master/crownpiscript.sh" -O install.sh | bash && sudo chmod +x install.sh && sudo ./install.sh
  1. Installation is mostly automated but does require manual input at the end.
  2. Once the script has installed the Crown client and setup the backend the script will ask you which VPN provider you use, NordVPN or VPNArea, please choose and follow the instructions.
  3. Now the VPN is setup, use the crown.conf to enter VPN IP, genkey ect.
sudo nano /root/.crown/crown.conf
  1. Start the Crown Client
sudo crownd
  1. Goto your wallet, where the collateral is held. Edit the node you would like to host. Change the IP address to your new VPN IP address, Click Ok. The node will remain online or drop off. If it drops try "start missing" one more time.
  2. Back to the CrownPi Check the masternode is synced with the CrownPi by typing
sudo crown-cli masternode status

Linux - Ubuntu 19:

sudo wget "https://raw.githubusercontent.com/defunctec/CrownPi/master/crownpiscript.sh" -O install.sh | bash && sudo chmod +x install.sh && sudo ./install.sh

Installation Guide

  1. This guide is based on a new linux VPS.
  2. This script must be run from root.
  3. Enable SSH connections and expand the file system using
  4. Installation is mostly automated but does require manual input. alt text
  5. Once logged in via SSH, use this command to initiate the installation process
sudo wget "https://raw.githubusercontent.com/defunctec/CrownPi/master/crownpiscript.sh" -O install.sh | bash && sudo chmod +x install.sh && sudo ./install.sh

alt text 6. Follow the instructions and enter your VPN details when promted (VPN instructions below) alt text 7. Now the VPN is setup, use the crown.conf to enter VPN IP, genkey ect.

sudo nano /root/.crown/crown.conf
  1. Start the Crown Client
crownd
  1. Goto your wallet, where the collateral is held. Edit the node you would like to host. Change the IP address to your new VPN IP address, Click Ok. The node will remain online or drop off. If it drops try "start missing" one more time.
  2. Back to your VPS Check the masternode is synced with the CrownPi by typing
crown-cli masternode status

Update CrownPi

alt text

Choose between Linux and RPI, then choose update.

./install.sh

NordVPN Commands

Quick guide to using NordVPN with CrownPI

  1. The script will ask you to enter your VPN account details, have these ready to make installation easy.
  2. The command to change your NordVPN login details
nano /etc/openvpn/auth.txt
  1. This command will show a list of regions to choose from
ls -a /etc/openvpn/nordvpn
  1. The next command shows the selected regions servers
ls -a /etc/openvpn/nordvpn/usservers
  1. This is an example of how to correctly choose a server from a region
cp /etc/openvpn/nordvpn/usservers/us998.nordvpn.com.udp.ovpn /etc/openvpn/nordvpn.conf
  1. Now edit the new nordvpn.conf file you made
sed -i -e 's/auth-user-pass/auth-user-pass auth.txt/g' /etc/openvpn/nordvpn.conf
  1. Restart openvpn and check the IP is correct.
/etc/init.d/openvpn restart
And
./whatsmyip.sh

VPNArea

Quick guide to using VPNArea with CrownPI

alt text

  1. VPNArea installation is very simple as the script takes care of most of the work.
  2. When promted, choose which location you would like to use as VPN server
  3. Make sure to enter your correct VPNArea account details

About Crown

HomePage - https://Crown.tech

defunctec's Projects

altcoin-wallet icon altcoin-wallet

Somebody change this PHP altcoin wallet to work with XMR monero. Thanks.

crown icon crown

Crown (formerly Crowncoin) reference implementation

crown-masternode-tool icon crown-masternode-tool

Tool for managing Crown masternodes with a hardware wallet (Trezor, Keepkey, Ledger Nano S)

crown-nft-generator icon crown-nft-generator

A simple Wordpress Javascript/PHP based tool to create NFT's on the Crown blockchain

crownj icon crownj

A library for working with Bitcoin

crwmixer icon crwmixer

Crown mixer, adds privacy to your CRW tokens.

easycrown-php icon easycrown-php

A simple class for making calls to Bitcoin's API using PHP. This is an old library, I suggest instead using https://github.com/denpamusic/php-bitcoinrpc

kingdom-of-crowns icon kingdom-of-crowns

Kingdom of Crowns is a Discord bot which enables an emote/text-based RPG experience.

piwallet icon piwallet

piWallet is an open source program developed by Johnathan Martin that allows almost anyone to setup an online web wallet for a cryptocurrency.

restart-temp-script icon restart-temp-script

Temporary script to restart the Crown client at random times to avoid mass same time restarts

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.