Solana Token-Based Webchat Platform

Job ID: 37915477

Budget: €1,500 – €3,000 EUR

I am in need of a proficient developer to create a unique web-based chat platform where users will utilize a token, created on the Solana blockchain, as a medium of exchange to send messages. The specifics for my requirements are:

- The platform should be web-based, hence it should be accessible on web browsers.

- The primary function of the token within the chat service will be to facilitate the sending of messages. Users must be able to acquire these tokens then use them as a gateway to communicating within the platform.

- The chat service should support a singular main chat room where all users that have paid with the token can interact.

The ideal skill set for this project would include proficient knowledge in blockchain technology, particularly Solana, as well as web development and chat systems. Experience in payment systems would also be beneficial.

More detailed:
A homepage created with react, where you can chat publicly. There are no multi chats. Just a single chat where everyone can write. How do you sign up? There is no login/registration, but to be able to write on the chat it is necessary to connect your solana wallet (using the connect wallet function, I am mainly interested in being able to connect solflare), at which point a transaction is created that uses native tokens (created by us) + solana as gas fee. The transaction id or whatever is sent to a server, via websocket which verifies
1. That the user is not banned
2. That the user has respected the cost of the token per message

At that point, if the transaction has been received from the worker via a solana node that obtains all the real time transactions from that node, and there are no infringements by the user, the message is added to the database (the chat history) and is forwarded to other users connected via websocket to the webapp.

When a user enters the homepage they make a request to the websocket to receive some of the recent chat messages.

These are the main features. Therefore this project requires the creation of:
- A homepage where you can see the chat, write on the chat, view the user's name and profile picture and messages, there is a button to connect wallet, there is the client websocket that connects with the server.
- A worker, which takes realtime information from the solana node (rpc/websocket) and uses it to validate the chat and manage the database.
- A websocket server

No particular webapp design is required. Just a minimal design to demonstrate how it works.