IntegrationsQuick StartSingle Asset Zap
Single Asset ZAP
Before you begin, ensure you have the following installed:
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:
git clone https://github.com/HyperSwapX/how-tos-zap.git
cd <your-repo-name>2. Install Dependencies
npm install
// Or
yarn install3. Configure Your Environment
Create a .env file in the root of the project and add the following variables:
RPC_URL=https://rpc.hyperliquid-testnet.xyz/evm
PRIVATE_KEY=0xYourPrivateKey
ZAP_ADDRESS=0x093dE46C90bEA4A730b1914748cC43d909b53661
WHYPE_ADDRESS=0xADcb2f358Eae6492F61A5F87eb8893d09391d160
USDC_ADDRESS=0x24ac48bf01fd6CB1C3836D08b3EdC70a9C4380cA