Tutorials - Create Private Channels

This tutorial helps us to create a private channel  using tessera on local machine with docker for testing and development purposes. After completing the node deployment, you can also follow our complementary guide to send a private transaction. This node is a local and isolated one, so you are not connected to the LACChain Networks. In order to deploy a node in the LACChain Networks, you can use our Installation private, please go here .

Requirements

Recommended hardware features for the private channel nodes:

2 vCPUs

RAM memory 8Gb

Hard Disk 10GB

Clone Repository

To configure and deploy your node, you must clone this git repository in your machine.

				
					$ git clone https://github.com/LACNet-Networks/besu-networks


				
			

Install Docker and Docker compose

Make sure you have Docker and Docker-compose installed on machine. If not, you can install them following the instructions to install docker and docker-compose.

Run private channel network

Execute the following command :

 
				
					$ cd besu-networks/docker/compose/tessera/


				
			

this network has 3 besu nodes with private channel using tessera.

run following command:

 
				
					$ ./start-network.sh


				
			

Verify your private channel

Check if the node validator is produced blocks by getting the log of the Besu containter

				
					$ docker-compose logs -f besu1


				
			

Check if the node writers are syncing blocks by getting the log of the Besu containter

 
				
					$ docker-compose logs -f besu2
$ docker-compose logs -f besu3


				
			

Check if the nodes tessera are polling round.

 
				
					$ docker-compose logs -f tessera1
$ docker-compose logs -f tessera2
$ docker-compose logs -f tessera3


				
			

Stop your private channel

If you want or need to stop your private channel, please execute one of the following commands:

				
					$ docker-compose down

				
			

Copyright 2024 © All rights Reserved. Designed by LACNet

Make sure you have Docker and Docker-compose installed on machine. If not, you can install them following the instructions to install docker and docker-compose.