Skip to content
Robert Kiel edited this page Nov 16, 2018 · 15 revisions

Welcome to the detailed description of the messagingProtocol!

The protocol consists of multiple layers:

  • The network layer establishes a peer-to-peer connection between the nodes. To achieve that, the implementation uses libp2p in combination with WebRTC to bypass NATs. This allows each node to become a relay node and earn money.
  • The messaging layer hides the connection between sender and receiver of a message. Therefore it uses slightly modified version of the SPHINX packet format by G. Danezis and I. Goldberg.
  • The payment layer ensures that each node has to pay for the relaying service of other nodes. It also provides security against nodes that try to grab more money as intended by the receiver.
Clone this wiki locally