an omni-chain chat app to achieve sending message between different chain.
Xmes is a project integrates LayerZero OAPP and Sign Protocol to create a decentralized omni-chain messaging platform. The platform enables users to send and receive messages peer-to-peer across multiple blockchains, and use ECDH key exchange to ensuring secure communication between different chains.
Sign Protocol: We use Sign protocol to make attestation, this attestation is showed as sending friend request, once both user has attest another, they have generated connection. We also use Sign protocol to achieve ECDH key exchange.
LayerZero: We use LayerZero as a bridge to communicate between different chains, once two users have generated connection, their message will be encrypted with shared key, and send to the other side via the Oapp contract.