Peer to Peer

Basically, all messages exchanged via DMTP is E2EE (End-to-End Encryption) and no one includes DMTP decrypt and see the messages so that even if DMTP get hacked or our key is compromised, your messages are encrypted and safe.

We use DMTP key pair (DMTP_pubKey & DMTP_priKey) generated at initialize section to encrypt & decrypt messages and don't access to your wallets address's key pair directly because of preventing from being your funds in danger.

Flow

P2P messages can be divided into two patterns

  • Pattern α : Bob and Alice have already done the initial DMTP setup.

  • Pattern β : Bob hasn't done the initial DMTP setup.

In pattern α, all messages can be E2EE because we can use DMTP key of each user's but In pattern β, the messages can only be viewed by DMTP until Bob init in DMTP.

I'll write down the detailed flow and diagram about these section.

pagePattern α : Bob and Alice have already done the initial DMTP setup.pagePattern β : Bob hasn't done the initial DMTP setup

Last updated