Mining computer setting

You need to download "cntserver.tar.gz". We will soon provide it by https://contatract.org/testnet. Bellow is the instruction to run the testnet on CentOS 7.

1. Install the testnet program

cd ~ tar -xvzf cntserver.tar.gz cd go-contatract build/bin/gctt --datadir config/chaindata init config/genesis.json

2. Create account

build/bin/gctt --datadir config/chaindata --networkid 1 --rpc --rpcaddr "0.0.0.0" --rpc corsdomain "http://localhost:3000" --rpcapi "db,eth,net,web3,personal,eleminer,storage,blizcs,elephant" --gcmode=archive --cspassphrase cntpasswd console personal.newAccount("cntpasswd")

3. Auto mining

build/bin/gctt --datadir config/chaindata --networkid 1 --rpc --rpcaddr "0.0.0.0" --rpccorsdomain "http://localhost:3000" --rpcapi "db,eth,net,web3,personal,eleminer,storage,blizcs,elephant" --gcmode=archive --cspassphrase cntpasswd console --elemine

Software needed