ScryptaChain - How to create a masternode with docker
INTRODUCTION
Scryptachain is a POS blockchain, forked by PIVX, supported by staking and masternode.Into Scryptachain you can reward using staking or installing a masternode.
This guide allow you to create a masternode using docker.
Are you ready?
PREPARE ENVIRONMENT
First step: install docker and buy 15.000 LYRA from cryptobridge or mercatox exchangeInto our desktop dowload and install official wallet.
Note: You can use this site to download blockchain bootstrap and speedup wallet initialization phase!
GENERATE MASTERNODE KEY AND PREPARE ADDRESS
To generate the masternode key, we must have 15.000 LYRA into specific address. So open the Debug Window (from Help menu) and digit:
masternode genkey (copy it into separated txt file)
and
getnewaddress
Now we can send the 15.000 LYRA to this address!
The address must be locked, so open Settings > Options > Wallet and click Enable coin control features
Go to Send menu and click to Inputs button. The dialog will show you the address list. Open the tree and click into 15.000 LYRA address using right click and lock it!!!
Close your wallet and wait 60 minutes (or confirmations).
masternode outputs
Finally the console show the txio and txout!!!
Last step!
Click to Tools > Open Masternode Configuration File and add the row:
NAME MASTERNODEKEY TXIO TXOUT
Save the file and restart the wallet!!!
START SCRYPTA
First step to start our masternode is create the workdir. I prefer create it into /opt folder (/opt/lyra-data)Into this folder you must create the file lyra.conf and put inside the text:
rpcuser=lyrarpc rpcpassword=CHOICE_A_GOOD_PASSWORD rpcallowip=172.0.0.0/255.0.0.0 rpcbind=0.0.0.0 logtimestamps=1 maxconnections=64 masternode=1 externalip=YOUR_VPS_IP bind=0.0.0.0 masternodeaddr=YOUR_VPS_IP:42222 masternodeprivkey=YOUR_MASTERNODE_KEYSo..... Are you ready to start scrypta? Open your bash and digit
> docker run --name=scrypta -dit -p 42222:42222 -p 42223:42223 -v /opt/lyra-data:/root/.lyra fabryprog/scrypta:1.0.0
Wait again while sync. Check the status compare
> docker exec -it scrypta /opt/scrypta/lyra-cli getinfo
result to official block explorer
START MASTERNODE
This is the very final step :-)Open your wallet into masternode section and click Start Alias (right click)
Now is the masternode running?
Probably YES... to check it execute the command
> docker exec -it scrypta /opt/scrypta/lyra-cli masternode status
LINKS
Official DocumentationGitHub
MasternodeCloudPlatform
Medium Page
Telegram Channel and Board
Discord
Commenti
Posta un commento