Welcome to the Solana Swap App! This application allows users to connect their wallets and trade between different cryptocurrencies on the Solana blockchain.
-Token Swapping: Efficient token swaps using the Jupiter API. -Real-Time Quotes: Price quotes fetched from the Pyth Oracle. -Mainnet and Devnet Toggle: Switch between Solana mainnet and devnet for testing and deployment. -Helius RPC: Reliable connection to Solana mainnet via Helius RPC. -Blockchain Links: Support the project by making donations directly on the blockchain.
##Prerequisites -Node.js (v14 or later) -Yarn or npm -A Solana wallet (e.g., Phantom)
To get started with the Solana Swap App, follow these steps:
-
Clone the Repository: Clone this repository to your local machine using:
git clone https://github.com/MeremArt/Solana-Swap.git
-
Install Dependencies: Navigate to the project directory and install dependencies using npm or yarn:
cd Solana-Swap npm install
-
**Configuration
Create a .env file in the root directory and add your configuration details:
bash NEXT_PUBLIC_HEL1US_MAINNET_RPC_URL=
-
Run the Development Server: Start the development server to run the app locally:
npm start
-
Open the App: Once the server is running, open your web browser and navigate to http://localhost:3000 to view the app.
-Token Swapping: Select the tokens you want to swap, specify the amount, and execute the swap. -Network Toggle: Use the button to switch between the mainnet and devnet environments. -Real-Time Quotes: View real-time price quotes for tokens being swapped. -Blockchain Donations: Support the project by making donations directly to our Solana wallet address provided in the application.
Contributions are welcome! If you'd like to contribute to the Solana Swap , feel free to open an issue or submit a pull request.
The swap feature works seamlessly on the localhost during development. However, I have experienced some difficulties after hosting the application. I am actively working to resolve these issues and appreciate your patience.
If you find this project useful and would like to support its development, consider making a donation. Donations can be made directly to our Solana wallet address provided in the application. Your support is greatly appreciated!
This project is licensed under the MIT License - see the LICENSE file for details.