V2
Requirements
Before you begin, ensure you have the following installed:
• Node.js (v16 or higher) and npm
• Git for version control
• A code editor (e.g., VS Code)
• A wallet with testnet funds (e.g., Metamask) connected to the HyperEVM testnet
1. Clone the Repository
Start by cloning the Hyperswap integration repository:
2. Install Dependencies
3. Configure Your Environment
Create a .env file in the root of the project and add the following variables:
4. Write Your First Integration
5. Adding Liquidity
6. Testing Your Integration
• Use the HyperEVM Testnet to avoid spending real tokens during development.
• You can acquire testnet funds from a faucet (e.g., HyperEVM Faucet).
7. Next Steps
• Explore more advanced functionality like event listening or automation.
• Build a frontend using React or integrate Hyperswap with your backend service.
For more detailed examples, visit the Templates & Use Cases section.
Last updated