S

Solana Streams

Simple real-time payment streaming app on Solana

The problem Solana Streams solves

Real-time payment streaming can be used for a lot of applications. Using streaming payments, an employer can give his/her employee a streaming salary, where the employee doesn't have to wait till the end of the month to receive the salary and can extract the balance in real-time. It can also be used for real-time subscriptions, where the user pays only for the time he/she uses the service, and then can cancel the subscription anytime, thus avoiding overpaying. The recipient of the streaming payment also gets the assurance of payment for the work done/service provided till now and doesn't have to rely on trusting the other party.

Challenges I ran into

This was my first project on Solana. Coming from ethereum, it took a lot of time to understand the architecture used by Solana. I ran into a lot of issues during the hackathon for which it wasn't easy to find a solution. I used to ask on discord where fellow devs answered the queries and helped out. I also faced some issues with the phantom wallet. Phantom wallet was not able to connect to the local solana-test-validator, which made testing the application harder. To circumvent this, I created a simple selector on the react client app where we can switch between 2 accounts required in the project.

Discussion