<p>Sam gives one possible path forward above.</p>
<p>However, since you mention <a href="https://explorer.cardano.org" rel="nofollow noreferrer">https://explorer.cardano.org</a> I should point out the official explorer (which is written in JS) uses the <a href="https://github.com/input-output-hk/cardano-db-sync/" rel="nofollow noreferrer">https://github.com/input-output-hk/cardano-db-sync/</a> project to follow the chain and populate a Postgresql database. The explorer you are writing could then connect to the database.</p>

CC BY-SA 4.0
2022-01-11T15:26:48.047Z
this is what I was looking for. Thank you so much!
Isamu Ito
CC BY-SA 4.0
2022-01-11T05:10:46.180Z
2022-01-11T05:10:46.180Z
Erik de Castro Lopo
<p>You need to interact with it using the node to node protocol. This is the protocol that cardano-cli utilizes, as well as a 3rd party tool called cncli. cncli is a rust application that understands the chain sync protocol and can be found here: <a href="https://github.com/AndrewWestberg/cncli" rel="nofollow noreferrer">https://github.com/AndrewWestberg/cncli</a></p>

CC BY-SA 4.0
2022-01-11T04:38:49.443Z
2022-01-11T04:38:49.443Z
Samuel Leathers
<p>I built a cardano node using docker and I created a volume in my root directory <code>./cardano-node-ipc:/ipc</code>. However I can't seem to find any information on how to interact with the <code>node.socket</code> file inside cardano-node-ipc. I am a Javascript developer and for learning purposes I'd just like to be able to build a basic app similar to <a href="https://explorer.cardano.org" rel="nofollow noreferrer">https://explorer.cardano.org</a> where I show transactions as they happen. Could someone give me tips on how to connect to the cardano network a see transactions? To be honest I'm not even sure if I am headed in the right direction.</p>

<cardano-node>
Connect to node.socket file
# Connect to node.socket file

(Asked by: username_0 on 2022-01-11)

I built a cardano node using docker and I created a volume in my root directory `./cardano-node-ipc:/ipc`. However I can't seem to find any information on how to interact with the `node.socket` file inside cardano-node-ipc. I am a Javascript developer and for learning purposes I'd just like to be able to build a basic app similar to <https://explorer.cardano.org> where I show transactions as they happen. Could someone give me tips on how to connect to the cardano network a see transactions? To be honest I'm not even sure if I am headed in the right direction.

**Tags:** cardano-node

---

## 2 answers

### Answer by username_1 on 2022-01-11. Score: 1

Sam gives one possible path forward above.

However, since you mention <https://explorer.cardano.org> I should point out the official explorer (which is written in JS) uses the <https://github.com/input-output-hk/cardano-db-sync/> project to follow the chain and populate a Postgresql database. The explorer you are writing could then connect to the database.

> **Comments:**
> **username_0**: this is what I was looking for. Thank you so much!  

---

### Answer by username_2 on 2022-01-11. Score: 0

You need to interact with it using the node to node protocol. This is the protocol that cardano-cli utilizes, as well as a 3rd party tool called cncli. cncli is a rust application that understands the chain sync protocol and can be found here: <https://github.com/AndrewWestberg/cncli>


---

