Installing and running Bor node.
What is Bor?¶
BOR is the EVM compatible Matic Side chain which currently is built on top of
bor consensus mechanism.
NOTE: Ensure you have go installed before moving forward.
$ mkdir -p $GOPATH/src/github.com/maticnetwork $ cd $GOPATH/src/github.com/maticnetwork $ git clone https://github.com/maticnetwork/bor $ cd bor // Checkout to a public-testnet version. // For eg: git checkout CS-1001 $ git checkout <TAG OR BRANCH> $ make bor
Now you have
bor installed on your local system and you can run it using
Bor also supports a feature called static nodes if you have certain peers you always want to connect to. Static nodes are re-connected on disconnects. You can configure permanent static nodes by putting something like the following example into
[ "enode://firstname.lastname@example.org:30303", "enode://ENODEID@ip:port" ];
For more info on how to connect to peers see this.