How to stake Electra coin in Linux

in electra •  7 years ago  (edited)

Hello guys,

today I would write short article for advanced users, how to stake Electra coin (basically any POS coin) in linux, ubuntu in VPS.

  • First, install Electra to your server (be sure you got pre-requisites):
git clone https://github.com/electra01/Electra.git
cd Electra/src
make -f makefile.unix 
sudo cp ./Electrad /usr/local/bin
Electrad -deamon
  • Then we need to create config file, as Electra neeed:
nano  ~/.Electra/Electra.conf

contents:
rpcuser=WriteHereYourUserName
rpcpassword=WriteHereYourPassword
listen=1
daemon=1
server=1
rpcallowip=127.0.0.1
rpcport=5788
addnode=217.77.59.45:5817
addnode=93.115.61.93:5817
addnode=94.23.102.99:5817
addnode=52.41.97.84:5817
addnode=109.254.27.71:5817
addnode=109.254.30.43:5817
addnode=122.62.138.102:5817
addnode=128.68.173.65:5817
addnode=143.159.110.35:5817
addnode=178.75.12.107:5817
addnode=178.90.183.216:5817
addnode=179.105.110.4:5817
addnode=185.7.153.199:5817
addnode=2.37.21.84:5817
addnode=203.134.192.238:5817
addnode=212.104.91.198:5817
addnode=24.21.56.209:5817
addnode=31.23.172.62:5817
addnode=31.23.231.136:5817
addnode=37.1.22.123:5817
addnode=37.1.22.224:5817
addnode=37.1.24.66:5817
addnode=37.1.24.74:5817
addnode=46.147.193.168:5817
addnode=46.249.2.74:5817
addnode=50.71.89.36:5817
addnode=51.7.67.41:5817
addnode=66.70.181.150:5817
addnode=70.187.4.122:5817
addnode=71.201.209.44:5817
addnode=73.204.129.141:5817
addnode=73.228.149.62:5817
addnode=76.186.67.217:5817
addnode=76.68.229.204:5817
addnode=81.11.210.82:5817
addnode=81.163.208.118:5817
addnode=81.163.209.141:5817
addnode=83.28.21.249:5817
addnode=83.28.31.88:5817
addnode=83.28.34.37:5817
addnode=83.28.40.178:5817
addnode=84.26.224.45:5817
addnode=86.158.33.179:5817
addnode=91.190.12.172:5817
addnode=92.18.73.147:5817
addnode=92.44.29.68:5817
addnode=93.115.61.74:5817
addnode=93.136.46.197:5817
addnode=93.178.88.224:5817
addnode=93.65.85.138:5817
addnode=94.158.93.121:5817
addnode=95.70.203.189:5817
addnode=[2405:204:830a:c0ee:b490:8580:d18a:d34b]:5817
addnode=[2405:205:408f:3171:b017:cf05:48f0:4082]:5817
addnode=[2607:5300:204:4396::]:5817
addnode=[2804:14c:9982:110::1]:5817
addnode=[2804:14c:9982:110::2]:5817
  • We need to start daemon, co we can encrypt wallet:
Electrad -daemon
  • It is good, if we encrypt our wallet with strong password, Electra will quit, so we start it again
Electrad encryptwallet "strongpassword"
Electrad -daemon
  • Next step is to create deposit address and transfer Electra coin there:
Electrad getaccountaddress 0
  • we have to wait for blockchain synced, we can get latest block in some block explorer, I used https://cryptobe.com/chain/Electra, to see which block is syncing we can type and look for "blocks" info:
Electrad getinfo
  • To be sure, transaction was successful and synced type:
Electrad listtransactions
  • Ok, we have some coins now in wallet, let's stake them by unlocking wallet for stake only:
Electrad walletpassphrase "strongpassword" 999999999
  • To check if we are staking the coins, (they need to be 'Mature', which means, they have to be in wallet at least for 24 hours):
Electrad getstakinginfo
  • Two important info is:
    "enabled" : true,
    "staking" : true,
  • Now you should get your mined coins to your wallet, check with
Electrad listtransactions

Some more information can be found in official staking guide:
https://drive.google.com/file/d/1cyiZ14gNBFuGrQmuslXWH3pIs5f_ZEt2/view

Happy staking

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Hello, can you please share the command to withdraw ECA from wallet?

write Electrad help and learn something new, that I would do.