Skip to content

start mine

tomdurrent edited this page Jan 21, 2019 · 4 revisions

Steps for account create and mining

make ready

refer Installation Instructions

to make your miner environment available simple commands in linux is:

mkdir sero
cd sero
git clone https://github.com/sero-cash/go-sero
git clone https://github.com/sero-cash/go-czero-import

compile & package to gz

cd go-sero/build/package
./package.sh

it will generate geropackage.tar.gz for deploy.

run startup gero

cp or scp geropackage.tar.gz to path where gero can run
tar -xvf geropackage.tar.gz
cd geropackage

steps to start gero and mine

  1. start gero
cd geropackage
./startup-beta.sh(or ./startup-alpha.sh for testing)
  1. attach gero process
cd geropackage
./attach.sh
  1. in gero attach console, create miner account
personal.newAccount('YOUR_PASSWORD')

record your account address(public key) and keep YOUR_PASSWORD in safe place!!!

  1. if you start mining in beta net, please send email to gordon@sero.vip with the

account addres(public key) you got in step 3. to apply license

  1. put license in geropackage/data/keystore/license/BLIC.DATA

if there is no BLIC.DATA there, just create it and put the email's license string into it.

  1. in gero attach console , start up mining
cd geropackage
./attach.sh
miner.setSeroBase("XXXXXXXXXXX") `the account you just created in step 3
miner.start()
  1. check money earned by miner
sero.getBalance("*********************") `the account you owned 

Clone this wiki locally