IntegrationsQuick StartSingle Asset Zap
Provide Liquidity With V2
Be sure to respect all the necessary requirements present in Single Asset ZAP.
Provide Liquidity
Use the provided provideLiquidityV2 function to add HYPE/USDC V2 pool:
-
Open the index.js file in your editor.
-
Call the provideLiquidityV3() function in main():
const { provideLiquidityV2 } = require("./src/provideLiquidityV2");
const { provideLiquidityV3 } = require("./src/provideLiquidityV3");
try {
async function main() {
try {
await provideLiquidityV2();
//await provideLiquidityV3();
} catch (error) {
console.error("An error occurred:", error);
}
}
main();
} catch (error) {
console.error("Error initializing wallet:", error);
}- Run your script:
node index.jsSingle Asset ZAP
Integrate with Hyperswap to access its DEX and liquidity pools on the HyperEVM blockchain. Build trading bots, manage liquidity, or ship DeFi apps with our developer guides.
Provide Liquidity With V3
Integrate with Hyperswap to access its DEX and liquidity pools on the HyperEVM blockchain. Build trading bots, manage liquidity, or ship DeFi apps with our developer guides.