BORA Lagoon Network
This document is a guide for interconnecting the Ethernet network(A) and Side Chain(B) configured for the BORA Lagoon Network. For smooth testing, the BORA Lagoon is configured internally on the Ethernet network, and it will be replaced by Ethereum mainnet in the subsequent full version.

Configuring the BORA Lagoon Network
The installation below is an example of configuring in Linux CentOS 7 and macOS environment.1Download Install script
Download the script prepared for installation using git.Cent OS
sudo su -
#Install git if your machine is not installed git.
yum install git
yum update -y nss curl libcurl
git clone https://github.com/boraecosystem/bora-tools.git
cd ./bora-tools/boraadmin/install
Mac OS
cd ~/
git clone https://github.com/boraecosystem/bora-tools.git
cd ~/bora-tools/boraadmin/install
2Install System libraries
Update system libraries for source compilation.Cent OS
sh 10.yuminstall.sh
Mac OS
sh 10.mac_install.sh
3Install golang-go package
Build the Go environment to compile the blockchain core source.Cent OS
sh 20.golang.sh
Mac OS
sh 20.mac_golang.sh
4Install go-bora
Download and compile the blockchain core source.Cent OS
sh 30.go-bora.sh
Mac OS
sh 30.mac_go-bora.sh
5Connect to testnet-ethernode
Connect to the blockchain node using the provided script. Port is 8545.Cent OS
# Port number for connecting ether node: 8545
sh 40.setup8545_BORAToken.sh
Mac OS
# Port number for connecting ether node: 8545
sh 40.mac_setup8545_BORAToken.sh

6Connect to testnet-chainnode (Port:8501~8509)
Also connecting the BORA chain nodes the same as the procedure above.Cent OS
# Port number for connecting chain node: 8501-8509
sh 41.setup8501_BORAShell.sh
sh 41.setup8502_BORAShell.sh
sh 41.setup8503_BORAShell.sh
sh 41.setup8504_BORAShell.sh
sh 41.setup8505_BORAShell.sh
sh 41.setup8506_BORAShell.sh
sh 41.setup8507_BORAShell.sh
sh 41.setup8508_BORAShell.sh
sh 41.setup8509_BORAShell.sh
Mac OS
# Port number for connecting chain node: 8501-8509
sh 41.mac_setup8501_BORAShell.sh
sh 41.mac_setup8502_BORAShell.sh
sh 41.mac_setup8503_BORAShell.sh
sh 41.mac_setup8504_BORAShell.sh
sh 41.mac_setup8505_BORAShell.sh
sh 41.mac_setup8506_BORAShell.sh
sh 41.mac_setup8507_BORAShell.sh
sh 41.mac_setup8508_BORAShell.sh
sh 41.mac_setup8509_BORAShell.sh

8Test for connectivity to node using geth
You can connect to and view each node by using geth attach command or 2.conn_geth.sh.Cent OS
sh 50.node_monitor.sh
Mac OS
sh 50.mac_node_monitor.sh

Cent OS
geth attach ~/bora-tools/boraadmin/NODE/8545/geth.ipc
Mac OS
geth attach ~/bora-tools/boraadmin/NODE/8545/geth.ipc
> eth.blockNumber
88066
> eth.getBlock("latest")
{
difficulty: 2,
extraData: "0xd883010811846765746888676f312e31302e33856c696e757800000000000000fb319418d71dd6d49824ab1fb394a4745bf67d12d166e271f67b00c331c47b61415969265121e874c1d3eca1d93286c2e137b54d04cd23e60a0c2eae39a8330f01",
gasLimit: 50000000,
gasUsed: 0,
hash: "0x9bdc9af75ae31ee0754a3145159529c91f0b9fe36ebcc54eb6b56385e862f8bc",
logsBloom: "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
miner: "0x0000000000000000000000000000000000000000",
mixHash: "0x0000000000000000000000000000000000000000000000000000000000000000",
nonce: "0x0000000000000000",
number: 88070,
parentHash: "0xcf6789c6f68f4435446ad058c705235ed3f8ceb8d7a035bdf723d234bed0fca3",
receiptsRoot: "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
sha3Uncles: "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
size: 610,
stateRoot: "0x0e1b27c91c3d81c182960cb95a185f11c603482182c33bd826cc349d22860496",
timestamp: 1540252164,
totalDifficulty: 176141,
transactions: [],
transactionsRoot: "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
uncles: []
}
>
Inquiries, bug reports and feedback
about BORA Lagoon are very helpful to us.
Please communicate actively through
our community channel.