Disclaimer, this application is designed to work exclusively on the Solana Devnet. Please refrain from using real Solana coins (SOL) for transactions. Our initial plan was to make this into a web extension but dad tolimit it to only a webpage due to limited knowledge
SOL Coups is a user-friendly application designed to help users buy gift vouchers in exchange for their SOL coins. This project leverages the Solana blockchain to provide a quick and secure way for users to swap their cryptocurrency for gift cards.
To view the application correctly, please make sure to open only the index.html
file in your browser. Opening other files directly may cause incomplete or incorrect rendering of the application.
- The latest version of any js supporting webbrowser, e.g, Google Chrome.
- A directory to store all our files seperately :)
- A crypto wallet that supports the Solana blockchain (such as, Phantom Wallet). Please ensure payments are made through a Solana Devnet account.
Download the files and save them to a directory on your local machine. Once downloaded, extract the files, and you're all set!
- Navigate to the
index.html
file in your file system. - Ensure that all other files in the project are in their original locations relative to
index.html
. - Open
index.html
file in your browser.
Following these steps will ensure that the application functions as intended.
If you encounter any issues, please make sure you are running index.html
and not any other files directly.
The page should look something like this-
On providing your email address and amount you want on your gift voucher, sol coups will give you an approximate value of inr you will need to send via crypto to get the voucher you want. The application then takes you to the next page where payment details are finalized.
Once a correct sender's wallet address is provided, user is taken to the payment gateway where awindow of 5 min opens for user to make payment using your Solana devnet account.
On successfull payment, text on the page is updated, and an email with a randomly generated code is sent to the user's imputted email.
Email that is recieved-
- Multi-Page Navigation: Smooth transitions between different pages within the application.
- Email Validation: Ensures that users input a valid email address before proceeding with transactions.
- Cryptocurrency Payment: Handles payments using COL coins, converting them to gift vouchers.
- Wallet Address Validation: Checks the validity of the user's Solana wallet address before processing transactions.
- TailWind - The css framework used
- Solana Devnet - Used for development purpose
- Solana Web3.js - Used to interact with the Solana blockchain
- CoinGeko - Used for real-time crypto exchange rates
- EmailJS - Used to automate emails
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
- SOGeKING - SOGeKING-NUL
- Tashmeet - tashmeetsk
idea board: https://colossal-lycra-fdf.notion.site/SOL-Coups-d34557aec9384fcca4c9e1fa83979278?pvs=4
See also the list of contributors who participated in this project