Title: [GUIDE] Cli-Wallet Installation on VPS [For Masternode Owners & Stakers] Post by: CucakRowo on July 19, 2019, 02:08:35 PM OBJECTIVE : This thread is made with purpose :
EXPECTED BENEFITS :
PREFACE : Cli-Wallet (Common Line Interface Wallet) is one of types of wallet that always provided by project devs when launching their project (see an example below).
These wallets are run based on an open source program. Needed when you want to run your masternode coins or/and running staking activities. As a refresher for your memory (especially for those who already know about the meaning of masternode project) and also as a learning for those who just know about masternode project, perhaps you can read some of following threads and article : 1. Masternode & Staking https://image.ibb.co/b8Loy0/markmining-masternodes-social-media-posting-1.jpg MARKEducation: MASTERNODES PART I WHAT IS A MASTERNODE? -snip- Following quote is very sufficient to explain about masternode project. Please read it and please turn on/enable automatic translation in your browser. Sebelum membahas apa itu masternode, alangkah baiknya agan-agan sudah mengetahui dan paham apa itu PoW dan PoS. Untuk Selengkapnya anda bisa mencari di forum ini, sudah banyak yang membahas perbedaannya. Sederhananya adalah PoW(Proof of Work) itu kita menggunakan perangkat keras secara langsung sebagai hashpower seperti VGA dan CPU atau ASIC untuk menambang(mining) alias mendapatkan reward dalam bentuk coin, seperti bitcoin dan etherum. Sedangkan untuk PoS(Proof of Stake), kita menggunakan aset kita dalam bentuk saldo coin di wallet pribadi kita (dengan jumlah minimal yang telah ditentukan) agar kita mendapatkan reward dalam bentuk coin itu juga(staking). Sama seperti kita menaruh saham, jadi reward yang kita dapatkan bergantung dengan seberapa besar saham yang kita taruh. Selain itu PoS lebih ramah lingkungan karena menghemat konsumsi listrik. Contohnya adalah ignis dan reddcoin. -SNIP- 2. Wallet Types 1. External Articles : Understanding Crypto Wallets (https://hobowithalaptop.com/crypto-wallets) Internal Article (In Indonesian Local Board) : Wallet Types (Please turn on your automatic translations) From several articles that i mentioned above, we can draw conclusions as follows :
Additional Information : In order to connect to your VPS, there are already many terminal software. Beside Putty, Bitvise, SFTP which incidentally requires installation on your PC/Laptop, now there is terminal software in the form of apps. One of it is Termius. I have used this software for almost 1 year. Since 1 year ago, i didn't installed a wallet in my pc anymore, because i am already comfortable using CLI wallet. This factor is also a reason why i'm interested using Cli wallet. Because it makes me easy to monitor coins that i have at anytime and anywhere. Termius apps shape as follows : TERMIUS APPS CONCLUSION : From several articles and information that i have mentioned above, i hope that you already know and understand about :
With POS coins you are staking coins i.e. holding coins in a full node client wallet to accumulate enough stake to mine a block and earn a reward based on the POS annual percentage rate for that coin. Typically with POS you can hold any number of coins and still be eligible to stake. The more coins you have and the longer you have them staking, the quicker you will be able to earn enough stake to mine a block and earn a POS payment. Your client node doesen't need to be online to earn stake, but it must be online to be able to mine a block to earn a reward. With masternodes you are hosting a full node client and holding a fixed number of coins as collateral in order to be eligble to perform network functions for the blockchain and are rewarded a fixed number of coins from the POW block for that service. Your masternode must be online in order to be able to qualify for a payment.
INSTALLATION SESSION : VPS specifications required :
Installation Steps : Because of limited space, i put installation step (https://bitcointalk.org/index.php?topic=5166874.msg51878466#msg51878466) in next column. Bibliography.
Title: Re: [GUIDE] Cli-Wallet Installation on VPS [For Masternode Owners & Stakers] Post by: CucakRowo on July 19, 2019, 02:09:39 PM Installation Steps : 1. Login on to your VPS. As i mentioned above. Please install your vps using the Ubuntu OS 16.04. (or use requested requirements). VPS specifications required :
2. Installing Pre-Requisite Package Basically, the meaning of pre-requisite is setup environment conditions (in this case your vps), so all commands that we input can run properly. Usually masternode wallet project its source are from Bitcoin Core fork. So the pre-requisite package that we will install on our vps, is a pre-requisite from Bitcoin Core. Btw, Commands that i write below can be copied-pasted. For copy paste these commands to vps, you only needs :
Pre-requisite package that we need to install are as follows: Code: sudo add-apt-repository ppa:bitcoin/bitcoin -y 3. Fail2ban Installation Fail2Ban is a useful software to protect computer from attacks. You can read benefit of fail2ban installation in detail through this article : Use Fail2ban to Secure Your Server - Linode (https://www.linode.com/docs/security/using-fail2ban-for-security/) Code: sudo apt-get install fail2ban 4. Firewall Installation. Firewall installation used as a protection against your server by blocking all attacks through unregistered IPs. Before you do copy-paste for these below command, please read Attention First! Attention :
https://i.imgur.com/ANqehaR.png (https://explorer.flitsnode.app/connections)
Code: ufw default any Let's do cross check if you input command with properly or not. Please type ufw status then Enter. If you do input command properly, result will be like this : https://i.imgur.com/4pVDZWV.png Please don't forget to change 12270 with the P2P Port project number. 5.Creating SWAP File Swap File useful to help RAM performance when RAM conditions is in full work. Detailed informations about the advantages of creating SWAP File, you can read through this article SwapFaq (https://help.ubuntu.com/community/SwapFaq). My recommendation when making a SWAP file on a vps with specifications RAM 1GB and 25GB SSD is 2GB . (My formula when making a swap file is : 2 x RAM capacity). To know whether your VPS already has swap activity or not, just type free -h then Enter. if there is no swap information in output/result, then your vps has not swap yet. Command for creating swap file : Code: sudo fallocate -l 2G /swapfile Do cross check by typing free -h then Enter, output will be like this : https://i.imgur.com/463KPRz.png Please read Attention below. Attention :
6. DONE! Now your VPS is ready to install the wallet from the coins you have. How?, You just have to download the cli-wallet link from project's Github account. One example how to install cli wallet for coin (let say) FLITS (https://medium.com/@onvast/article-1-flits-masternode-setup-manually-bbfad309d252). You can read the steps through here (https://medium.com/@onvast/article-4-local-control-wallet-preparation-for-cli-ubuntu-wallet-users-hot-masternode-de457599dedc). As ever, if you have questions or help how to install cli-wallet on your vps, don't hestitate to write your obstacle in next column. I will help you as soon as possible. Thank you! Bibliography.
Title: Re: [GUIDE] Cli-Wallet Installation on VPS [For Masternode Owners & Stakers] Post by: CucakRowo on November 29, 2019, 05:53:19 PM --As an update-- On August 2019, PVIX conducted a mandatory update as mentioned on their github (https://github.com/PIVX-Project/PIVX/releases). In this update there are a change in the command, so automatically wallet that built from PVIX fork will follow these changes. Changes are as follows:
I hope this thread update is useful for y'all. |