Inspiration

A lot of people buy tickets online, but there's still a challenge to post, buy and refund tickets in a single place. And often people are not able to refund their tickets: they can lose their money and other people to attend the particular events

What it does

Drip allows users to easily buy tickets through a lighter onboarding process, with the possibility to refund tickets. They have all tickets in one place (wallet).

How we built it

Our ticketing system has two parts: the frontend which is running in Next.js and the backend in Flask. Backend side connect firstly to the XRPL testnet network https://s.altnet.rippletest.net:51234/, after, we create an account (which is the wallet containing the public, and private key), we have an endpoint to make a payment which prepares the transaction by providing the destination address, the amount to drop and the account the buyer, thirdly we sign the transaction, and we send the transaction to make the payment. And this is running locally and ngrok is forwarding incoming requests from the web (frontend) to the local.. Frontend is deployed on Vercel and it talks with the backend. The front end has been styled with Tailwindcss. The frontend calls the payment endpoint /event/payed

Challenges we ran into

The main challenge that we faced was understanding how payment execution works. Although all is simply explained in the documentation regarding code, we wanted to go deeper to understand the background of the Consensus protocol and XRP Ledger. Also, we have a problem understanding how to connect the wallet with the appropriate wallet address.

Accomplishments that we're proud of

We are proud of succeeding to create an account and make the first transaction on the testnet.

What we learned

We learned how the Consensus protocol and XRP Ledger work. Also, we learn how to incorporate xrp payment system into a web application.

What's next for DRIP.xrp

We plan to add the functionality of creating an event with the price and the number of places for that event. Once it is perfectly working we will plan to go to the market, by allowing people/organizers who host small events for free on the testnet, once we have reached the first 100 meetups/events, we will use the production network. Meanwhile, continuing to learn more features of XRP Ledger is essential to master our hosted application to be able to solve eventual issues for the app in production.

Built With

Share this project:

Updates