Skip to content

Latest commit

 

History

History
78 lines (43 loc) · 2.22 KB

Pantheon_Privacy_Example.md

File metadata and controls

78 lines (43 loc) · 2.22 KB

Connecting Epirus to Pantheon-quickstart privacy node

Get Pantheon Quickstart

git clone https://github.com/PegaSysEng/pantheon-quickstart.git
cd pantheon-quickstart
cd privacy
./run.sh

You should see the following happening in the terminal window.

image

Set up Epirus-Free

git clone https://github.com/blk-io/epirus-free.git
cd epirus-free

In order to start epirus you need to run the following command:

NODE_ENDPOINT=http://privacy_node1_1:8545 docker-compose -f docker-compose.yml -f epirus-extensions/docker-compose-pantheon.yml up

The command above does two things :

  • It sets up the node endpoint
  • Tells docker to run by using the two docker compose files provided.

The first docker-compose file in the command is the contains all the services required for epirus.

The second file named docker-compose-pantheon contains the network settings required to start epirus on the same network as pantheon.

Note: we are connecting to node 1 - you will only see private transactions for that node.

You should see the following happening in the terminal window. This means that everything has started successfully.

img

Note: The logs are verbose and you will see various errors before all services are started. The important logs to look at are on the api. You can access them with the following

docker-compose logs -f api

Navigate to localhost and you should see the loading page:

image

After a few minutes Epirus should display the following information:

img

Epirus has successfully connected to a Pantheon node and is ingesting data. Depending on your machine specs this can take a long time to get to this point (20 mins on a macbook air).

To close Epirus you can execute the following line in your terminal:

docker-compose down

To close Pantheon you can execute the following line in your terminal:

./stop.sh
./remove.sh

Help & Additional Information

For more information on Epirus you can go here.

For more information Pantheon-quickstart example you can go here.