Skip to content

An application that helps you redeem E-commerce store vouchers in exchange for your SOL coins

Notifications You must be signed in to change notification settings

SOGeKING-NUL/SOL-Coups-100xdevs-

Repository files navigation

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

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.

Getting Started

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.

Prerequisites

  1. The latest version of any js supporting webbrowser, e.g, Google Chrome.
  2. A directory to store all our files seperately :)
  3. A crypto wallet that supports the Solana blockchain (such as, Phantom Wallet). Please ensure payments are made through a Solana Devnet account.

Installing

Download the files and save them to a directory on your local machine. Once downloaded, extract the files, and you're all set!

How to Run

  1. Navigate to the index.html file in your file system.
  2. Ensure that all other files in the project are in their original locations relative to index.html.
  3. Open index.html file in your browser.

An Example Run

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-

The homepage

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.

Payment Details

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.

Payment Gateway

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.

Payment Status

Email that is recieved-

Recieved Email

Features

  • 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.

References

Built With

Contribution

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

idea board: https://colossal-lycra-fdf.notion.site/SOL-Coups-d34557aec9384fcca4c9e1fa83979278?pvs=4

See also the list of contributors who participated in this project

Disclaimer, this application is designed to work exclusively on the Solana Devnet. Please refrain from using real Solana tokens (SOL) for transactions.

About

An application that helps you redeem E-commerce store vouchers in exchange for your SOL coins

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published