Welcome to the HMM Hydra Swap repository! This project is a fork of the HMM decentralized exchange (DEX) smart contract, specifically designed for the HydraSwap platform on the Solana network. This README provides all the information you need to understand, use, and contribute to this project.
HMM Hydra Swap aims to provide a robust and efficient DEX for users on the Solana blockchain. By leveraging the speed and low transaction costs of Solana, we offer a seamless experience for token swapping. This repository includes the smart contracts, SDK, and tools necessary for interacting with the HydraSwap platform.
- Decentralized Trading: Trade tokens without intermediaries.
- Low Fees: Enjoy minimal transaction costs on the Solana network.
- User-Friendly Interface: Easy-to-use DApp for all users.
- E2E Testing: Comprehensive end-to-end testing to ensure reliability.
- Unit Testing: Ensure smart contracts work as intended with unit tests.
- SDK Support: Simplified SDK for developers to integrate with HydraSwap.
- SPL Token Swap: Built-in support for SPL token swaps.
To get started with HMM Hydra Swap, follow these steps:
-
Clone the Repository:
git clone https://github.com/Brad2005-neva/hmm-hydra-swap.git cd hmm-hydra-swap
-
Install Dependencies: Make sure you have Node.js and npm installed. Then run:
npm install
-
Build the Project: After installing dependencies, build the project with:
npm run build
-
Download and Execute the Latest Release: Visit the Releases section to download the latest version. Execute the necessary files to get started.
Once you have installed the project, you can start using the DEX. Here’s how:
-
Start the Application:
npm start
-
Access the DApp: Open your browser and navigate to
http://localhost:3000
to access the DApp interface. -
Connect Your Wallet: Use a Solana wallet to connect to the DApp. You can use wallets like Phantom or Sollet.
-
Swap Tokens: Select the tokens you want to swap and execute the transaction. The DApp will guide you through the process.
We take testing seriously to ensure the integrity of our smart contracts and DApp. Follow these steps to run tests:
-
Unit Tests: To run unit tests, execute:
npm test
-
End-to-End Tests: For end-to-end testing, run:
npm run e2e
We welcome contributions from the community. Here’s how you can help:
- Fork the Repository: Create your own fork of the repository.
- Create a Branch: Make a new branch for your feature or bug fix.
git checkout -b feature/YourFeature
- Make Changes: Implement your changes and commit them.
git commit -m "Add your message here"
- Push Changes: Push your changes to your fork.
git push origin feature/YourFeature
- Create a Pull Request: Submit a pull request to the main repository.
This project is licensed under the MIT License. See the LICENSE file for more details.
For more information and updates, visit the Releases section. Here you can download the latest version and find additional resources.
Thank you for your interest in HMM Hydra Swap! We look forward to your contributions and feedback.