buzzkillb Posted December 6, 2018 Report Share Posted December 6, 2018 FortunaStake Setup Guide ... This will take 500 confirms before being able to start, so do the send first, then read through the guide. Send exactly 5000 D to an address and give that address a label like FS01. Script for VPS Portion Located Here This will pull master branch and compile the latest wallet. And add a cronjob to restart wallet every hour to make sure things stay in sync. https://github.com/buzzkillb/d-fortunastake QT Wallet After sending 5000 D to a labelled address, we need the following; transaction hash and index of the 5000 send, fortunastake private key, and your VPS IP address. FS01 VPSIPADDRESS:9999 FORTUNASTAKEPRIVKEY TRANSACTIONHASH INDEXNUMBER Sample fortunastake.conf FS01 11.11.12.13:9999 6J8tAUsVhXBgfdeewqsdghySWEQEeb4XGSC251sM7bYQgEXh7 f08d926f92cc4c65321344828f6394f41121903502459ffde4ef7aef39e6392b 0 fortunastake private key fortunastake genkey fortunastake transaction hash and id fortunastake outputs VPS of your ip should be somewhat obvious. After creating your fortunastake.conf, save and restart the QT wallet. Sample QT denarius.conf fsconflock=1 staking=1 Now that address has locked the 5000 D collateral. VPS Get a VPS from somewhere like Vultr, make note of its IP address for the above fortunastake.conf creation for the QT wallet. On the VPS Update Linux sudo apt-get update && apt-get upgrade -y Install Dependencies  sudo apt-get install -y git unzip build-essential libssl-dev libdb++-dev libboost-all-dev libqrencode-dev libminiupnpc-dev libgmp-dev libevent-dev autogen automake libtool Install Fail2Ban sudo apt install fail2ban Create Swap File sudo fallocate -l 2G /swapfile sudo chmod 600 /swapfile sudo mkswap /swapfile sudo swapon /swapfile echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab Install Firewall sudo apt install ufw -y ufw default deny incoming ufw default allow outgoing ufw allow ssh/tcp ufw limit ssh/tcp ufw allow 33369/tcp ufw allow 9999/tcp ufw logging on ufw --force enable Compile and Install Wallet (most likely need to add swapfile below). If using 18.04 use this link instead of the instructions below https://denariustalk.org/index.php?/topic/268-steps-to-compile-wallet-ubuntu/&do=findComment&comment=2815 git clone https://github.com/carsenk/denarius cd denarius git checkout master cd src make -f makefile.unix strip denariusd sudo mv ~/denarius/src/denariusd /usr/local/bin/denariusd  Install Chaindata apt-get -y install unzip mkdir ~/.denarius cd ~/.denarius rm -rf database txleveldb smsgDB wget https://denarii.cloud/chaindata.zip unzip chaindata.zip Create denarius.conf in the .denarius folder. Notice the . in the folder name. denarius.conf rpcuser=USEARANDOMNAME rpcpassword=USEARANDOMPASSWORD daemon=1 port=9999 fortunastakeprivkey=6J8tAUsVhXBgfdeewqsdghySWEQEeb4XGSC251sM7bYQgEXh7 run denariusd by typing denariusd Start Go back to your QT, go to debug console and type. fortunastake start-alias FS01 In the My Denarius Fortuna Stakes tab in your QT collateral wallet, the QT will show Registered once you start your FortunaStake and then Verified, then Online, then Active. Wait 1 complete round for rewards. 1 round is roughly how many ForTunaStakes are up, and that's how many blocks a round will last. Status Check masternode status still works for specific reasons, but fortunastake status gives info in English instead of numbers and gibberish. fortunastake status  2 Quote Link to comment Share on other sites More sharing options...
buzzkillb Posted December 11, 2018 Author Report Share Posted December 11, 2018 To update compiled wallet denariusd stop cd denarius git checkout master git pull cd src make -f makefile.unix mv denariusd /usr/local/bin/denariusd denariusd  1 Quote Link to comment Share on other sites More sharing options...
buzzkillb Posted December 12, 2018 Author Report Share Posted December 12, 2018 Extra D Tip If you are up for the task. On your vps, add staking=1 to denarius.conf, restart wallet, then denariusd getnewaddress Send a little amount so your VPS wallet is staking, even 1 D will do something over time. 2 Quote Link to comment Share on other sites More sharing options...
Jasonh Posted December 30, 2018 Report Share Posted December 30, 2018 On 12/12/2018 at 10:45 AM, buzzkillb said: Extra D Tip If you are up for the task. On your vps, add staking=1 to denarius.conf, restart wallet, then denariusd getnewaddress Send a little amount so your VPS wallet is staking, even 1 D will do something over time. This is awesome, thank you! Once a new wallet address is created on VPS for staking, how would you go about withdrawing/sending tokens from that address via VPS? Quote Link to comment Share on other sites More sharing options...
buzzkillb Posted January 30, 2019 Author Report Share Posted January 30, 2019 On 12/30/2018 at 12:40 PM, Jasonh said: This is awesome, thank you! Once a new wallet address is created on VPS for staking, how would you go about withdrawing/sending tokens from that address via VPS? sendtoaddress <denariusaddress> <amount> [comment] [comment-to] [narration] denariusd sendtoaddress YOURQTADDRESS 1.337  Quote Link to comment Share on other sites More sharing options...
buzzkillb Posted March 12, 2019 Author Report Share Posted March 12, 2019 updated chaindata https://github.com/carsenk/denarius/releases/download/v3.3.7/chaindata1701122.zip Quote Link to comment Share on other sites More sharing options...
buzzkillb Posted March 17, 2019 Author Report Share Posted March 17, 2019 revised steps so its a bit more obvious you may need the swap file to compile Quote Link to comment Share on other sites More sharing options...
buzzkillb Posted November 1, 2019 Author Report Share Posted November 1, 2019 updating chaindata here https://pos.watch/chaindata.zip the website shows the blockcount and also has an md5 checksum to verify Quote Link to comment Share on other sites More sharing options...
buzzkillb Posted November 1, 2019 Author Report Share Posted November 1, 2019 I am using the snap daemon now as its so much easier than compiling or using the script install snapd if its not already installed sudo apt update sudo apt install snapd sudo snap install denarius run the daemon once to get the autoconfigured denarius.conf denarius.daemon wait a minute or so and stop the daemon denarius.daemon stop go to the snap denarius chaindata folder cd ~/snap/denarius/common/.denarius remove the chaindata just created rm -rf database txleveldb smsgDB get latest chaindata from pos.watch wget https://denarii.cloud/chaindata.zip unzip chaindata.zip overwrite anything it says, nano denarius.conf and add your fortunastakeprivkey and leave everything else alone. nothing else needs to be touched after enakyz did some updates to how the fortunastake works. and start daemon denarius.daemon start from collateral wallet (QT) and done Quote Link to comment Share on other sites More sharing options...
lokh Posted February 19, 2021 Report Share Posted February 19, 2021 quick and easy setup! I also add a line in crontab for autostart when the VPS reboots: crontab -e then add the following line at the end of the file and save: @reboot /snap/bin/denarius.daemon Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.