mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
clarify running localy vs running a masternode
This commit is contained in:
parent
3998a372aa
commit
167127508b
1 changed files with 16 additions and 13 deletions
29
README.md
29
README.md
|
|
@ -1,6 +1,7 @@
|
|||
# Tomochain
|
||||
|
||||
[](https://travis-ci.org/tomochain/tomochain) [](https://gitter.im/tomochain/tomochain?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||
[](https://travis-ci.org/tomochain/tomochain)
|
||||
[](https://gitter.im/tomochain/tomochain?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||
|
||||
## About Tomochain
|
||||
|
||||
|
|
@ -48,24 +49,27 @@ Alternatively, you could quickly download pre-complied binary on our [github rel
|
|||
|
||||
## Running tomo
|
||||
|
||||
This section explains how to run the tomo binary.
|
||||
We also offer an official Docker image and a quick startup cli if your goal is to run a masternode.
|
||||
Please refer the [official documentation](https://docs.tomochain.com/get-started/run-node/) on how to run a node.
|
||||
### Running a tomo masternode
|
||||
|
||||
Please refer to the [official documentation](https://docs.tomochain.com/get-started/run-node/) on how to run a node if you goal is to run a masternode.
|
||||
The recommanded ways of running a node and applying to become a masternode are explained in detail there.
|
||||
|
||||
### Attaching to the Tomochain test network
|
||||
|
||||
We published our test network 2.0 with full implementation of PoSV consensus at https://stats.testnet.tomochain.com.
|
||||
If you'd like to experiment with smart contracts creation and DApps, you might be interested in giving it a try on our test network.
|
||||
If you'd like to experiment with smart contracts creation and DApps, you might be interested in giving it a try on our Testnet.
|
||||
|
||||
In order to connect to one of the masternodes on the test network, just run this below command:
|
||||
In order to connect to one of the masternodes on the Testnet, just run the command below:
|
||||
|
||||
```bash
|
||||
$ tomo attach https://testnet.tomochain.com
|
||||
```
|
||||
|
||||
### Running a full node
|
||||
This will open the JavaScript console and let you query the blockchain directly via RPC.
|
||||
|
||||
If you would like to run your own full node, you can try it on the test network by running the commands below:
|
||||
### Running tomo locally
|
||||
|
||||
If you would like to run tomo locally to see how it works under the hood and have a copy of the blockchain, you can try it on our Testnet by running the commands below:
|
||||
|
||||
```bash
|
||||
// 1. create a folder to store tomochain data on your machine
|
||||
|
|
@ -101,13 +105,12 @@ $ account=$(
|
|||
| cut -d"{" -f 2 | cut -d"}" -f 1
|
||||
)
|
||||
|
||||
// 5. prepare the bootnode and stats information
|
||||
// 5. prepare the bootnodes list
|
||||
$ export BOOTNODES="enode://4d3c2cc0ce7135c1778c6f1cfda623ab44b4b6db55289543d48ecfde7d7111fd420c42174a9f2fea511a04cf6eac4ec69b4456bfaaae0e5bd236107d3172b013@52.221.28.223:30301,enode://298780104303fcdb37a84c5702ebd9ec660971629f68a933fd91f7350c54eea0e294b0857f1fd2e8dba2869fcc36b83e6de553c386cf4ff26f19672955d9f312@13.251.101.216:30301,enode://46dba3a8721c589bede3c134d755eb1a38ae7c5a4c69249b8317c55adc8d46a369f98b06514ecec4b4ff150712085176818d18f59a9e6311a52dbe68cff5b2ae@13.250.94.232:30301"
|
||||
$ export param="--unlock $account --bootnodes $BOOTNODES --ethstats sun:anna-coal-flee-carrie-zip-hhhh-tarry-laue-felon-rhine@stats.testnet.tomochain.com:443"
|
||||
|
||||
// 6. Start up your full node now
|
||||
$ export NAME=YOUR_FULLNODE_NAME
|
||||
$ tomo $params \
|
||||
// 6. Start up tomo now
|
||||
$ export NAME=YOUR_NODE_NAME
|
||||
$ tomo \
|
||||
--verbosity 4 \
|
||||
--datadir $DATA_DIR \
|
||||
--keystore $KEYSTORE_DIR \
|
||||
|
|
|
|||
Loading…
Reference in a new issue