Yicoin Masternode Set Up(YIC)steemCreated with Sketch.

in #kr7 years ago

스터노드 정보 사이트( https://mntop.co.in )에서 보다가 ROI가 1000% 이상 높길래 한번 해본 것을 공유합니다.
추천 아닙니다. 저 코인에 대해서 아직 자세히 알아보지는 못했습니다.

공식 사이트 https://yicoin.eu
거래소 https://stocks.exchange

이 코인은 특이하게 서버지갑&윈도우지갑 이런형태를 아직 지원하지 않습니다.
그래서 서버로만 돌리던가 윈두우로만 돌리던가 해야합니다.
아마 그래서 수시로 지갑을 백업해두어야 할거 같습니다.
영어사이트에 있는것을 퍼와서 조금 손봤습니다.

Yicoin Masternode Setting

1.HOW TO PREPARE THE LINUX ENVIRONMENT

I'm considering you know the basic linux commands.Ubuntu 16.04.

■Step 01 // Updates ================
*Updating the system and also the packages installed
*input line by line


sudo apt update
sudo apt-get upgrade
sudo apt dist-upgrade


■Step 02 // Virtual Memory
*1Gb of RAM by default, but need to increment the memory in pagination mode.
*Paging works by creating an area on your hard drive and using it for extra memory.
*This memory is slower than then physical memory, however much more of it is available.
*recommand more than 1Gb


sudo /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=4096
sudo /sbin/mkswap /var/swap.1
sudo chmod 600 /var/swap.1
sudo /sbin/swapon /var/swap.1


*To enable it by default after reboot, add this line to /etc/fstab:

sudo nano /etc/fstab

*On the end of file, add this line:

/var/swap.1 swap swap defaults 0 0

Ctrl+x, y, Enter

■Step 03 // Restarting the OS =============

  • If all steps are OK, just restart the machine:

sudo shutdown -r now

■Step 04 // Blocking attempt of invasion ================

  • Next, we want to update firewall rules accordingly.

sudo ufw default deny
sudo ufw logging on
sudo ufw allow 55485/tcp
sudo ufw allow 55486/tcp
sudo ufw limit OpenSSH
sudo ufw --force enable


*Let's install all packages/libraries to install the wallet (packages described on GitHub):

  • Installing GitHub package:

sudo apt-get install -y git

*Installing Libs to support wallet:

sudo apt-get install build-essential automake libssl-dev libboost-all-dev libdb5.3++-dev libminiupnpc-dev screen

*Creating specific folder for the wallet and wallet data.

■Step 05 // Preparing the environment ================

  • First, let's create the folder

sudo mkdir wallets

*Giving permission for all (you can be more specific to be safety)

sudo chmod 777 /wallets

■Step 06 // Getting the wallet ================
*Let's download the Git Code:


cd wallets
git clone https://github.com/YiDeveloper/Yi.git yic


*Compiling the code:여기서 메모리를 많이 잡아먹음.
*원래 메뉴얼은 1024인데 2048까지 해도 컴파일 에러 발생. 4096으로 하니 컴파일 되었음
*컴파일(make)관련 필요한 가상메모리인듯함.
*메모리 부족 시 컴파일 에러 발생합니다.


cd
cd wallets/yic/src/leveldb
chmod +x build_detect_platform
cd
cd wallets/yic/src
sudo make -f makefile.unix


*(take a very long time...)

*Copying the bin for /wallet (main folder)

cd
mv -f wallets/yic/src/YiCoind wallets/yic


■Step 07 // Personalizing the DATA FOLDER ================
*All data about the YIC will be saved here (wallet, conf, bootstrap, etc):


mkdir wallets/yic/wallet

■Step 08 // Creating CONFIG file to start the Wallet as Proof-of-Stake ================

cd wallets/yic/wallet
nano YiCoin.conf


*Copy and paste the code bellow:

rpcuser=xxx
rpcpassword=xxxx
server=1
listen=1
staking=1
rpcallowip=127.0.0.1
rpcport=55485
port=55486
addnode=54.214.64.41:55486
addnode=45.77.136.46:55486
addnode=82.146.57.82:55486
addnode=68.14.9.27:55486
addnode=45.77.253.37:55486
addnode=45.77.183.236:55486


#Ctrl+x, y, Enter

■Step 09 // STARTING the wallet in PoS mode ================

  • This step will take long time to syncing

cd
wallets/yic/YiCoind -datadir=wallets/yic/wallet -daemon -server


*You can monitor the sync update looking the LOG file
*It will take long time running


tail -f /wallets/yic/wallet/debug.log

■Step 10 // Creating alias ================
*ALIAS will help us to reduce the code when you write it on the prompt.


cd
alias yic="wallets/yic/YiCoind -datadir=wallets/yic/wallet"


*Now, type only:

yic getinfo

  • instead of

  • wallets/yic/YiCoind -datadir=wallets/yic/wallet getinfo

  • Let's save the alias on the profile to be used any moment you are logged:


cd
nano .bash_profile


*If the file exists, ignore this step! If not, add this on the begin of the file .bash_profile:
-----copy all from here-------------

.bash_profile

Get the aliases and functions

if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

User specific environment and startup programs

PATH=$PATH:$HOME/bin
export PATH

alias yic="wallets/yic/YiCoind -datadir=wallets/yic/wallet"
------copy to here---------------

Ctrl+x, y, Enter

Just save it and done.

Quick tips ================
*Help:


yic -?

*To know the balance and POW / POS / Block

yic getinfo

*Get only balance

yic getbalance

*List of lasts of transactions

yic listtransactions

*Stop the wallet

yic stop

*Get your Wallet Address

yic getaccountaddress MN01

I hope it can help you!
Do not forget to check HOW TO ENCRYPT YOUR WALLET and also HOW TO BACKUP THE WALLET.DAT in a safety place.

========================================
HOW TO CREATE A MASTERNODE ON LINUX - UBUNTU
========================================
To create a YIC Masternode, you need to have 15,000 coins.
If you followed the instructions on step 10, now, let use the alias command!
First of all, let's change the YiCoin.conf file created on step about PoS mode with all of this configuration.

■Step 11 // Getting infos ================

*Again, getting the wallet address: copy to Notepad

yic getaccountaddress MN01

*Get you private key - do not send for anyone:copy to Notepad

yic dumpprivkey < you wallet address via command bellow>

*Identifying your EXTERNAL IP Address:copy to Notepad

dig +short myip.opendns.com @resolver1.opendns.com

■Step 12 // Configuring your wallet ================
*Creating the CONFIG file


nano wallets/yic/wallet/YiCoin.conf

*Change your CONF file as the example bellow- YiCoin.conf
*Copy and paste the code bellow:


rpcuser=xxx
rpcpassword=xxxx
server=1
listen=1
staking=0
rpcallowip=127.0.0.1
rpcport=55485
port=55486
masternode=1
masternodeaddr=[ YOUR IP]:55486
masternodeprivkey=[ YOUR key]
addnode=54.214.64.41:55486
addnode=45.77.136.46:55486
addnode=82.146.57.82:55486
addnode=68.14.9.27:55486
addnode=45.77.253.37:55486
addnode=45.77.183.236:55486


*You can change the PORT and RPCPORT, but do not forget to release them on the FIREWALL(go Step 04)

■Step 13 // Restarting ================

*Restart your wallet:

yic stop
sleep 15
yic -daemon -server


*You also can check the log if there are errors:

more /wallets/yic/wallet/debug.log

*If you want to test if the remote wallet address is OK, use TELNET in your personal PC.
*Do not use into in your current YIC Server


telnet < your IP Address above> < RPC Port>

■Step 14 // Sending YIC Coins ================

*Send exactly 15,000 YIC for Masternode collateral address(Step11)

*Waiting the TX be confirmed. U can accomplish it via:

yic listtransactions

*or checking balance:

yic getbalance

■Step 15 // Starting Masternode ================

  • If all steps are OK, now we can start Masternode

yic masternode start

  • U see "successfully started masternode"

*If started very well, after some seconds, U can check masternode online here:

yic masternode list | grep < IP Address above>

  • U'll see "< IP Address above>" : 1,

  • Do not forget to encrypt wallet and make a backup of the files
    wallet.dat
    YiCoin.conf

Sort:  

나는 아폴로 동전에 관한 기사와 그것을 마스터 스테이션으로 가져 와서 해독하고 그것을 한국어로 번역 한 혁명에 관한 기사를 썼다.
당신이 그 기사를 이해할 수 있기를 바랍니다.
더 나은 방법에 대한 제안이 있습니까?
https://steemit.com/coinkorea/@shortsegments/masternodes-apollon-masternodes

Coin Marketplace

STEEM 0.18
TRX 0.16
JST 0.029
BTC 76511.74
ETH 3031.28
USDT 1.00
SBD 2.62