Waltonchain Mainnet User Manual
To let testers experience mining, query, transfer, smart contract creation and other functions of the Waltonchain test mainnet.
# docker pull ko12/demo
# docker run -it -p 10101:10101 ko12/demo bash
# source ~/.profile
# cd /usr/local/src
# git clone https://github.com/disy-yin/waltonchain-gwtc.git
# cd waltonchain-gwtc
# make gwtc
# ./build/bin/gwtc version
# cd /usr/local/src/waltonchain-gwtc/gwtc_bin/
# cp ../build/bin/gwtc ./bin/gwtc_v1.0.0stable
# ./backend.sh
# cd /usr/local/src/waltonchain-gwtc/gwtc_bin/
# ./bin/gwtc_v1.0.0stable attach ./data/gwtc.ipc
# admin.peers
# personal.newAccount()
# ******
---- Enter new account password
# ******
---- Confirm the new account password
# miner.start()
# wtc.getBalance(wtc.coinbase)
# personal.unlockAccount(wtc.coinbase)
# wtc.sendTransaction({from: wtc.accounts[0], to: wtc.accounts[1], value: web3.toWei(1)})
# exit
# cd /usr/local/src/waltonchain-gwtc/gwtc_bin/
# tail -f gwtc.log
# cd /usr/local/src/waltonchain-gwtc/gwtc_bin/
# ./stop.sh