# Network

The two most important factors  for a p2p network is to discover peer and transfer data between peers. We use a node discovery protocol that is very similar to the Kademlia protocol.  Kademlia is a Distributed Hash Table for p2p networks designed by Petar Maymounkov and David Mazieres. It provides a way for millions of computers to self-organize into networks, communicate with other computers on the network, and share resources between computers, all without a central server.

For transfer data between peers, we use RLPx. RLPx is a cryptographic peer-to-peer network and protocol suite which provides a general-purpose transport and interface for applications to communicate via a p2p network. RLPx is designed to meet the requirements of decentralized applications, enabling nodes to transfer encrypted, serialized data. With RLPx,  ensure confidentiality and integrity of data when transferring data between peers.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.kardiachain.io/docs/archived-docs/network-1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
