#### Get the source code
``` bash
-$ git clone https://github.com/Bytom/bytom $GOPATH/src/github.com/bytom
+$ git clone https://github.com/Bytom/bytom.git $GOPATH/src/github.com/bytom
```
#### Build
```bash
$ cd ./cmd/bytomd
-$ ./bytomd init --chain_id testnet
+$ ./bytomd init --chain_id mainnet
```
-There are two options for the flag `--chain_id`:
+There are three options for the flag `--chain_id`:
-- `testnet`: connect to the testnet.
-- `mainnet`: standalone mode.
+- `mainnet`: connect to the mainnet.
+- `testnet`: connect to the testnet wisdom.
+- `solonet`: standalone mode.
-After that, you'll see `.bytomd` generated in current directory, then launch the node.
+After that, you'll see `config.toml` generated, then launch the node.
### launch
```
--auth.disable Disable rpc access authenticate
+ --chain_id string Select network type
+ -h, --help help for node
--mining Enable mining
--p2p.dial_timeout int Set dial timeout (default 3)
--p2p.handshake_timeout int Set handshake timeout (default 30)
--p2p.laddr string Node listen address.
--p2p.max_num_peers int Set max num peers (default 50)
- --p2p.pex Enable Peer-Exchange
+ --p2p.pex Enable Peer-Exchange (default true)
--p2p.seeds string Comma delimited host:port seed nodes
--p2p.skip_upnp Skip UPNP configuration
--prof_laddr string Use http to profile bytomd programs
+ --vault_mode Run in the offline enviroment
--wallet.disable Disable wallet
+ --wallet.rescan Rescan wallet
--web.closed Lanch web browser or not
```
$ docker build -t bytom .
```
+For the usage please refer to [here](https://github.com/Bytom/bytom/wiki/Running-in-Docker).
+
## Contributing
Thank you for considering helping out with the source code! Any contributions are highly appreciated, and we are grateful for even the smallest of fixes!