Earendil docs
English
English
  • About
  • getting started
    • Installation
    • Quick start
    • Host a web proxy
    • Visit and host havens
    • Chat
    • Run a relay
    • Pay and get paid
    • Config file
  • FAQ
    • 1+ nodes on 1 machine
  • 📖wiki
    • Type-I and II censorship resistance
    • Network architecture
    • Protocols
      • N2R (node-to-relay) protocol
      • GlobalRPC
      • Haven protocol
      • Link protocol
      • Stream protocol
      • WIP: Debt accounting
    • Onion packet format
      • Reply blocks
      • Earendil packet vs. Sphinx
    • Relay configuration
Powered by GitBook
On this page
  • GUI
  • CLI
Edit on GitHub
  1. getting started

Chat

Last updated 10 months ago

Earendil has a minimal embedded chat tool for talking to your immediate neighbors in the Earendil network. You can use it to negotiate connection prices with your neighbors.

GUI

In the "Chat" tab of the Earendil GUI, you can chat with any of your direct neighbors by selecting their fingerprint in the menu on the left side of the screen:

CLI

To chat on the command line:

earendil control [--connect control_listen_addr] chat <COMMAND>

where <COMMAND> is one of:

  • list - prints a summary of all your conversations

  • start <neighbor-prefix> - starts an interactive chat session with a neighbor whose fingerprint starts with <neighbor-prefix>. This will fail if <neighbor-prefix> matches more than one neighbor (in that case, use a longer prefix).

Some examples:

$ earendil control chat start zpy
<starting chat with zpyzw3hpax9fnwww08h9bhr866qvh6wn>
<- hey alice! [2024-01-10 19:59:55]
-> hey bob! [2024-01-10 19:59:58]
<- how's the weather? [2024-01-10 20:00:04]
sunny!
-> sunny! [2024-01-10 20:01:15]
$ earendil control chat list
+------------------------------------+-------------------+-----------------------------------+
| Neighbor                           | # of Messages     | Last chat                         |
+------------------------------------+-------------------+-----------------------------------+
| 4b7a641b77c2d6ceb8b3fecec2b2978... | 4                 | sunny! [2024-01-10 15:29:05]
+------------------------------------+-------------------+-----------------------------------+