Integrate Solana LP Management Page

660
ETH, DAI, USDT
+55
4 days (till Jul 22nd, 2025)

**We require two specific deliverables:**

1.  **New "LP manage" Page:** A new page integrated into our existing Next.js application that allows users to interact with our smart contract.

2.  **Liquidation Script:** A standalone TypeScript bot that our team can run to liquidate expired loans and reclaim protocol funds.

 

---

 

### **Part 1: "Create Pool" Page Integration**

 

**Objective:**

Design and build a new page within our existing Next.js application, accessible via a new route (e.g., `/create-pool`). This page will serve as the primary user interface for our new lending protocol.

 

**Figma Design:**

https://www.figma.com/design/a6ERlSlwBeCev58srf4meX/Untitled?node-id=0-3433

The new page must be implemented to be pixel-perfect according to the Figma design and seamlessly integrate with our dApp's existing layout, navigation, and styling (Tailwind CSS).

 

**Core Functionality & User Flow:**

 

1.  **Component Structure:**

   *   Leverage our existing `WalletProvider` and UI components (buttons, inputs, modals) where possible to maintain a consistent look and feel.

   *   The core logic will be encapsulated in a new set of components for the `/create-pool` page.

 

2.  **Page Elements:**

   *   **Token Inputs:**

       *   Two input fields for the token pair. One token is fixed as  SOL.

       *   The second input allows the user to select an SPL token mint address (from user wallet). The UI must fetch and display the token's symbol and icon (using a token list or on-chain metadata).

   *   **Amount Inputs:**

       *   A display field showing the fixed amount of SOL our protocol will loan (e.g., "2 SOL"). This value must be fetched from our smart contract's on-chain configuration.

   *   **Information Display:**

       *   Display the loan duration (e.g., "1 Day") and the service fee, both fetched from the contract's configuration account.

   *   **"Create Pool" Button:**

       *   This button triggers the primary on-chain interaction.

       *   **Transaction Logic:** On click, the frontend must construct and send a **single, atomic transaction** that calls our smart contract's instruction.

       *   **UX/UI Feedback:** Implement clear loading/pending states for the button. Use our existing notification system (e.g., `react-hot-toast`) to display "Transaction Sent," "Success," or "Error" messages. 

 

**B) Managing Existing Pools (The "My Positions" Tab/Section):**

*   **Dashboard View:** This section will display a list of all liquidity pools the currently connected user has created with our protocol.

*   **Fetching User Pools:** The application must fetch all `PoolLoan` accounts created by the connected user.

*   **"Close Position" Button:**

   *   **Transaction Logic:** Clicking this button will initiate a transaction that calls our smart contract's `remove_liquidity` function. This function, when called by the user, handles the repayment of the loan and returns the user's share of the liquidity back to their wallet.

 

660
ETH, DAI, USDT
+55
4 days (till Jul 22nd, 2025)

More Jobs like this

Show more
Expert Translators Wanted

Are you a language enthusiast with a passion for precision and professionalism? We are on the lookout for top-tier translators to help us bring two important documents to life in Portuguese.   We need highly...

Expert Translators Needed!

Are you a language enthusiast with a passion for precision and professionalism? We are on the lookout for top-tier translators to help us bring two important documents to life in Spanish.   We need highly...

🚀 NFT Partner Wanted (60/40 Profit Share)

We are seeking a talented and creative NFT Partner to collaborate with in selling digital art pieces online. As an NFT Partner, you will work closely with the team to showcase and market a collection...

Help with VIDEO STREAMING

I need a script that masks the OBS virtual camera to splitcam to output stream.Many services I use block the stream from obs through splitcam and is not detected as the native camera so I...

Developer to Build Telegram Bot P2E Game MVP

Hi! I'm launching an early-stage startup and looking for a developer (or small team) to help build the MVP of a Telegram-based play-to-earn (P2E) game. The idea is to create an engaging Telegram bot where...

Translation Job

I need fluent English and Persian speakers to help me translate my english blog writings into persian for my persian audience

Upgrade MERN App to Web3 NFT Real Estate Marketplace

Include your GitHub profile showing senior-level experience. Applications without this or including with others will not be accepted. Hi, I have an in-progress MERN stack project with working UI and integrated payment features (PayPal, Stripe)....

Need to update frontend part using react

I have a Crypto NFT Game and need to update frontend part based on Figma design Candidate must has expertise in react and node  Will provide Figma design

SEO & Web Traffic Specialist

i'm seeking a skilled SEO web traffic expert who can increase sales in my store within 7 days. this is a performance based job, if you do not achieve the agreed traffic growth within the...

Senior Dev with Trading Experience

Project & Role Snapshot Scenium is a Web3 RWA‑trading startup that tokenizes private‑fund assets, stocks and crypto so anyone can trade 24/7 with instant settlement and zero dividend tax. You’ll collaborate directly with our CTO...

Expert Translators Wanted

Are you a language enthusiast with a passion for precision and professionalism? We are on the lookout for top-tier translators to help us bring two important documents to life in Portuguese.   We need highly...

Expert Translators Needed!

Are you a language enthusiast with a passion for precision and professionalism? We are on the lookout for top-tier translators to help us bring two important documents to life in Spanish.   We need highly...

🚀 NFT Partner Wanted (60/40 Profit Share)

We are seeking a talented and creative NFT Partner to collaborate with in selling digital art pieces online. As an NFT Partner, you will work closely with the team to showcase and market a collection...

Help with VIDEO STREAMING

I need a script that masks the OBS virtual camera to splitcam to output stream.Many services I use block the stream from obs through splitcam and is not detected as the native camera so I...

Developer to Build Telegram Bot P2E Game MVP

Hi! I'm launching an early-stage startup and looking for a developer (or small team) to help build the MVP of a Telegram-based play-to-earn (P2E) game. The idea is to create an engaging Telegram bot where...

Translation Job

I need fluent English and Persian speakers to help me translate my english blog writings into persian for my persian audience

Upgrade MERN App to Web3 NFT Real Estate Marketplace

Include your GitHub profile showing senior-level experience. Applications without this or including with others will not be accepted. Hi, I have an in-progress MERN stack project with working UI and integrated payment features (PayPal, Stripe)....

Need to update frontend part using react

I have a Crypto NFT Game and need to update frontend part based on Figma design Candidate must has expertise in react and node  Will provide Figma design

SEO & Web Traffic Specialist

i'm seeking a skilled SEO web traffic expert who can increase sales in my store within 7 days. this is a performance based job, if you do not achieve the agreed traffic growth within the...

Senior Dev with Trading Experience

Project & Role Snapshot Scenium is a Web3 RWA‑trading startup that tokenizes private‑fund assets, stocks and crypto so anyone can trade 24/7 with instant settlement and zero dividend tax. You’ll collaborate directly with our CTO...