Skip to content

quantum-coders/jupiter-swap-front

Repository files navigation

Jupiter Swap Frontend

Welcome to the Jupiter Swap Frontend project! This repository contains the frontend code for a modern web application built with Nuxt 3, Solana, Pinia, and custom styling using Sass/SCSS. This project is designed to provide a clean and efficient interface for interacting with the Solana blockchain.

Table of Contents

Tutorial

We created a tutorial to help you get started with this project. Follow the steps in the tutorial to set up the frontend and backend, and start building your decentralized application.

Overview

This project is the frontend part of a decentralized application that connects with the Solana blockchain. Built with Nuxt 3, it leverages the power of Vue.js and Pinia for state management, offering a responsive and dynamic user experience.

Features

  • Nuxt 3 Integration: Built with Nuxt 3 for a modern and streamlined development experience.
  • Solana Blockchain: Seamlessly interacts with Solana, leveraging its capabilities for decentralized applications.
  • Pinia State Management: Efficient state management with Pinia, perfectly suited for Vue.js.
  • Custom Styling: Styled using Sass/SCSS for maintainable and scalable design.
  • Clear Separation: Separate repositories for frontend and backend to keep the codebase clean and modular.

Installation

Follow these steps to set up the project locally:

  1. Clone the repository:

    git clone https://github.com/yourusername/jupiter-swap-frontend.git
    cd jupiter-swap-frontend
  2. Install dependencies:

    yarn install
  3. Run the development server:

    yarn dev
  4. Build for production:

    yarn build

Getting Started

To start developing, clone the repository, install the dependencies, and run the development server. You’ll be able to see your changes live on localhost:3000.

Environment Variables

The only variable you need to set is the SOLANA_RPC_URL in the .env file.

Since we are swapping real tokens we recommend using the mainnet cluster for the RPC URL.

Project Structure

The project is organized as follows:

jupiter-swap-frontend/
│
├── assets/
│   └── styles/
│       ├── globals.sass
│       ├── main.scss
│       ├── plugins.sass
│       └── variables.sass
│
├── components/
│   ├── Plattform/
│   │   ├── AppBar.vue
│   │   └── Footer.vue
│   └── Solana/
│       └── WalletConnect.vue
│
├── composables/
│   └── usePrettyToast.js
│
├── layouts/
│   └── default.vue
│
├── pages/
│   └── index.vue
│
├── stores/
│   └── solanaStore.js
│
├── nuxt.config.ts
├── app.vue
└── package.json

Join Us

We are Quantum Coders, the team behind this project. We are passionate about blockchain technology and its potential to revolutionize the world. Join us on our journey to build innovative solutions and contribute to the decentralized future.

Connect with us:

Contributing

We welcome contributions! If you’d like to contribute, fork the repository, create a feature branch, and submit a pull request. We look forward to collaborating with you.

License

This project is licensed under the MIT License. See the LICENSE file for more details.


About

Learn how to build a Vue.js frontend that interacts with the Solana blockchain for token swaps using the Jupiter aggregator.

Resources

License

Stars

2 stars

Watchers

3 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors