Veax Assistant is an AI-powered agent designed to assist liquidity providers in optimizing their strategies on the Veax Protocol. It enables seamless interaction with Veax smart contracts and APIs, offering real-time insights, risk assessments, and automated liquidity provisioning.
Tooling:
Author:
- Fetch Liquidity Pools: Retrieve real-time liquidity pool data, including token pairs and TVL (Total Value Locked).
- Add Liquidity: Add Liquidity to the pools.
- Risk Analysis: Identify risky liquidity pools to help users avoid impermanent loss.
- Best Pools Suggestions: AI-driven recommendations for the best pools to add liquidity.
- Historical Price Analysis: Fetch historical token prices based on user-specified timeframes.
- Real-Time Token Prices: Retrieve spot prices of tokens from the market.
- Automated Liquidity Provisioning: Generate transactions to add liquidity directly from the assistant.
- Fetch Tokens: Retrieve all the tokens in the near protocol.
- Endpoint:
GET /api/add-liquidity
- Parameters:
tokenA
(string) – Token A addresstokenB
(string) – Token B addresswalletAddress
(string) – User's NEAR wallet addressamount
(string) – Amount of tokenA to add
- Response:
- Returns transaction data for adding liquidity
- Endpoint:
GET /api/tokens
- Parameters:
pageNo
(string) – Page number (default: 1)searchText
(string, optional) – Token address search
- Response:
- Returns a list of tokens with price and liquidity details
- Endpoint:
GET /api/tokens/liquidity-paired
- Parameters:
tokenAddress
(string) – Address of the token
- Response:
- Returns paired liquidity details
- Endpoint:
GET /api/tokens/price
- Parameters:
tokenAddress
(string) – Address of the token
- Response:
- Returns the current price of the token in USD
- Endpoint:
GET /api/tokens/historical-price
- Parameters:
tokenAddress
(string) – Address of the tokentimestamp
(string) – Unix timestamp of the price lookup
- Response:
- Returns historical price data
- Endpoint:
GET /api/pools
- Parameters:
walletAddress
(string) – User's EVM wallet address
- Response:
- Returns a list of available liquidity pools
- Endpoint:
GET /api/pools/spot-price
- Parameters:
tokenA
(string) – Address of token AtokenB
(string) – Address of token B
- Response:
- Returns the spot price of the pool
- Endpoint:
GET /api/pools/best-pools
- Response:
- Returns the top liquidity pools based on stability and liquidity
- Endpoint:
GET /api/pools/risky-pools
- Response:
- Returns liquidity pools with high risk factors
Veax Assistant is a powerful AI-driven tool designed to simplify liquidity provisioning on the Veax Protocol. By integrating real-time blockchain data, AI-powered insights, and seamless transaction execution, it helps liquidity providers optimize their strategies while minimizing risk.
With features like best pool recommendations, risk assessment, real-time token prices, and automated liquidity provisioning, Veax Assistant streamlines the entire liquidity management process.
Moving forward, we aim to expand multi-chain support, introduce automated liquidity rebalancing, and enhance DeFi analytics to make Veax Assistant the ultimate liquidity management tool in the decentralized finance space.
To get started with the Veax AI Agent, follow these steps:
- Clone repository
git clone https://github.com/Teckas-Technologies/veax-bitte-agent
cd veax-bitte-agent
- Install dependencies
npm install
npm run start
Contract: veax.nea
In this template, we used the Veax API
for fetch the required information from the blockchain.
Follow these steps to deploy the Veax AI Agent on Vercel:
- Create an Account: Sign up for an account on Vercel.
- Connect GitHub: Connect your GitHub account with Vercel.
- Import Repository: Import the GitHub repository of the project.
- Add Environment Variables: While configuring the project, add the necessary environment variables.
- Deploy: Click the deploy button.
- Access Application: Once the deployment is complete, you can access your application.