1. Ethernet Square Client Introduction and installation
Latest version of Mist/ethereum download address:
Mist is a decentralized web3.0 application browser.
Ethereum Wallet A Mist browser that only binds to the etheric square purse, because it only binds to this one application: the etheric square Wallet. So it is called "Ethereum Wallet".
Replace the default chunk storage path:
General Download good zip package mist and Ethereum, run the client will default download block data to C disk AppData path, if you want to modify the data save path, run the client in the command line before running this code, if you have run the client after the execution of this code will error
Mklink/j "C:\Users\ethereum\AppData\Roaming\Ethereum" "C:\Ethereum"
Geth Download Address: After downloading good geth will automatically configure path, so open cmd can use the path command
Fatal:unable to attach to remote geth:no known transport for URL scheme "C", the solution uses the following command line link console
Geth Attach \\.\PIPE\GETH.IPC
Ethernet Square account creation and management:
Use geth account new to
use the Ethernet Square Command Console program (Geth), which creates accounts that only need to be executed on the command line to execute the Geth-a-new command
.
geth account, you do not need to run the Wallet client or sync block chain data.
geth Account New
Etheric Square View network status
View link state
net.listening true
net.peercount 4
View your partner's network information
admin.peers
View your network information
Admin.nodeinfo
The configuration method
creates the name Static-nodes.json file
that writes the node information to the file in the following format:
[ enode:// F4642fa65af50cfdea8fa7414a5def7bb7991478b768e296f5e4a54e8b995de102e0ceae2e826f293c481b5325f89be6d207b003382e18a8ecba66fba f6416c0@33.4.2.1:30303 ", " Enode://pubkey@ip:port "
]
uses the command
>admin.addpeer (" enode:// F4642fa65af50cfdea8fa7414a5def7bb7991478b768e296f5e4a54e8b995de102e0ceae2e826f293c481b5325f89be6d207b003382e18a8ecba66fba f6416c0@33.4.2.1:30303 ")
Ethernet Square Build local private network:
Initialize private network
geth--identity "Mydev1"--rpc--rpccorsdomain "*"--datadir "C:\Mychains\dev1"--rpcapi "DB,ETH,NET,WEB3" "--network init"./customgenesis.json "
/start private network
geth--datadir" C:\Mychains\dev "--identity" Mydev " Rpccorsdomain "*"--networkid the console
It is possible to report this error when starting a private network:
Only one usage of each socket address (protocol/network address/port) is normally permitted "
Solution:
Open the cmd command line and enter the following command set Dynamicportrange protocol=tcp startport=10000 numberofports=65534