Waltonchain Mainnet User Manual
Install latest distribution of Go if you don't have it already.
# sudo apt-get install -y build-essential
# cd /usr/local/src
# git clone https://github.com/WaltonChain/WaltonChain_Gwtc_Src.git
# cd WaltonChain_Gwtc_Src
# make gwtc
# ./build/bin/gwtc version
# cd /usr/local/src/WaltonChain_Gwtc_Src/gwtc_bin/
# cp ../build/bin/gwtc ./bin/gwtc
# ./backend.sh
# cd /usr/local/src/WaltonChain_Gwtc_Src/gwtc_bin/
# ./bin/gwtc 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_Src/gwtc_bin/
# tail -f gwtc.log
# cd /usr/local/src/WaltonChain_Gwtc_Src/gwtc_bin/
# ./stop.sh
We hereby thank:
· Ethereum