HyperSwap Docs
  • 🔎| HyperSwap
  • 🔗| Official Links
  • ❓| How to Start ?
    • Create a Wallet
    • How to Bridge on HyperEVM ?
  • PROTOCOL CONCEPTS
    • 🌐| Overview
    • 🏊Liquidity Pool
      • AMM Standard Liquidity Position
      • Concentrated Liquidity Position
      • ⚡Single Asset ZAP
    • 📐| Constant Factor AMM
    • 💲| Dynamic Fees
    • ✉️| Partner Referral
  • Points
    • 💎| Point Program
  • Token Design
    • ⛏️| Liquidity Mining
    • 🔄| Conversion and Redemption
    • 🤝| Revenues Sharing Model
    • 💰| Protocol Earnings
    • 🔥| Deflationary mechanisms
  • TOKENS
    • 🪙| $SWAP
    • 🔓| $xSWAP
  • Contracts
    • 📜| Hyper EVM
      • V2
      • V3
      • 🧰Tools
    • 📜| Testnet
      • V2
      • V3
    • 🖨️| Integrations
      • ⏯️Templates & Use Cases
      • 🏃Quick Start
        • V2
          • Swap with V2
          • Add liquidity with V2
          • Functions
        • V3
          • Swap with V3
        • Single Asset ZAP
          • Provide Liquidity With V2
          • Provide Liquidity With V3
          • Functions
  • REFERENCES
    • | Audits
    • 📖| Glossary
    • 🎨| Media Kit
Powered by GitBook
On this page
  1. Contracts
  2. | Integrations
  3. Quick Start
  4. Single Asset ZAP

Provide Liquidity With V3

Be sure to respect all the necessary requirements present in Single Asset ZAP

Provide Liquidity

Use the provided provideLiquidityV3 function to add HYPE/USDC V3 pool:

1. Open the index.js file in your editor.

2. 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);
  }
  1. Run your script:

node index.js
PreviousProvide Liquidity With V2NextFunctions

Last updated 26 days ago

🖨️
🏃