Developing a Decentralized Messaging App on Polygon — Best Practices & Tools?

Hi Polygon community,

I’m planning to build a messaging application that leverages the Polygon blockchain for decentralized and secure communication. I’d love to get your advice and insights on the following:

  1. What are the recommended protocols (e.g., Push Protocol) or libraries to build messaging on Polygon?

  2. How should smart contracts be designed for message storage, encryption, and verification?

  3. How to handle gas costs and transaction fees when sending or storing messages on-chain, especially for frequent messaging?

  4. What are the best practices for end-to-end encryption in a blockchain-based chat app?

  5. Are there any existing projects, tutorials, or open-source examples of messaging apps built on Polygon?

Thanks in advance for sharing your experience and thoughts!