Usage Examples

Here are some real-world examples of how to use LCQ's AI agents for various Solana development tasks.

Transaction Optimizer Examples

Optimizing Transaction Fees

User: What's the optimal time and fee for sending SOL today?

Transaction Optimizer: 
Currently, network congestion is moderate with an average fee of 0.000005 SOL per transaction.

Based on the last 24 hours of network data:
- Current congestion level: Moderate
- Priority fee recommendation: 0.000008 SOL for fast confirmation
- Lowest fee periods: 3-5 AM UTC and 10-11 PM UTC
- Highest congestion: 2-4 PM UTC (avoid if possible)

Planning Multiple Transactions

User: I need to make 5 token swaps on Jupiter today. How should I schedule them?

Transaction Optimizer:
Based on current network conditions:

Best times to execute your swaps today:
1. 10:00-11:00 PM UTC (lowest congestion)
2. 3:00-4:00 AM UTC (second lowest)
3. Current time (moderate congestion)

For Jupiter swaps specifically, I recommend:
- Priority fee: 0.000009 SOL per signature
- Compute unit price: 6 micro-lamports
- Compute unit limit: 200,000 (default should be sufficient)

This strategy should save approximately 25% on fees compared to default settings.

Program Deployment Assistant Examples

Deploying to Devnet

User: I want to deploy my program to devnet. What are the steps?

Program Deployment Assistant:
Here's how to deploy your Solana program to devnet:

1. Build your program for deployment:
   ```bash
   cargo build-bpf --manifest-path=./Cargo.toml
  1. Deploy using solana-cli:

    solana program deploy ./target/deploy/your_program.so --keypair ./deployer.json --url devnet
    
  2. Verify deployment:

    solana program show --programs --url devnet | grep <YOUR_PUBKEY>
    

Current devnet status is healthy with average deployment time of 25 seconds. Need help generating the deployment keypair or setting up environment variables?


## Account Analyzer Examples

### Analyzing NFT Collections

User: Can you analyze this NFT collection address? J1S9H3QjnRtBbbuD4HjPV6RpRhwuk4zKbxsnCHuTgh9w

Account Analyzer: NFT COLLECTION ANALYSIS: Name: DeGods Items: 9,999 NFTs Floor Price: 56.2 SOL Total Volume: 1.2M SOL Holder Count: 4,156 unique wallets

RECENT ACTIVITY: Last 24 hours: 12 sales, avg price 58.4 SOL Last 7 days: 85 sales, avg price 57.9 SOL Price trend: +3.2% over last 7 days

TOP HOLDERS:

  1. 8xh4ND... owns 123 items (1.23%)
  2. F7Hc3e... owns 98 items (0.98%)
  3. Pn5jf2... owns 76 items (0.76%)

This collection shows healthy trading activity with stable floor price.


## Smart Contract Auditor Examples

### Basic Contract Review

User: Can you check my token program for common issues? Address: BTC7SSkyyrWWfJMbW4BC3qQkFTCCzFWpfuK4cHeBZ2cu

Smart Contract Auditor: PROGRAM ANALYSIS: Program: BTC7SSkyyrWWfJMbW4BC3qQkFTCCzFWpfuK4cHeBZ2cu Type: SPL Token (Token-2022 variant) Last Update: 45 days ago Verification: Verified on Solscan

POTENTIAL ISSUES:

  1. MEDIUM RISK: No freeze authority renouncement

    • Current freeze authority: 5G7H...t3Y
    • Recommendation: Renounce freeze authority for decentralization
  2. LOW RISK: Mint authority retained

    • Current mint authority: 5G7H...t3Y
    • Consider setting time-based vesting or renouncement
  3. INFO: Large max supply (1 quadrillion tokens)

    • Not necessarily an issue, but uncommon for established projects

No critical vulnerabilities detected. This appears to be a standard Token-2022 implementation with admin keys retained.


## Data Scraper Examples

### Token Transfer Analysis

User: Show me JUP token transfers in the last 24 hours

Data Scraper: JUP TOKEN TRANSFERS (Last 24 Hours): Total Transfers: 12,457 Total Volume: 2.8M JUP Unique Wallets: 3,492

TOP TRANSFERS:

  1. 345,000 JUP: Dt67...p9B → E5m2...q3Z (12 hours ago)
  2. 280,000 JUP: 7xF4...jH2 → CEX deposit address (18 hours ago)
  3. 175,000 JUP: CEX withdrawal → N3t9...k4M (6 hours ago)

EXCHANGE FLOW:

  • Net CEX inflow: +450,000 JUP
  • Net CEX outflow: -320,000 JUP
  • Net balance: +130,000 JUP (exchange accumulation)

Would you like me to generate a report with hourly transfer volume or track specific wallets?


## Combining Multiple Agents

LCQ agents can work together for more comprehensive analysis:

User: I want to analyze this wallet and optimize my transactions to it

LCQ: I'll use both Account Analyzer and Transaction Optimizer for this task.

ACCOUNT ANALYSIS (via Account Analyzer): Address: Your provided address Balance: 45.3 SOL Recent activity: Moderate (15 transactions in last 7 days) Primary interactions: Jupiter, Marinade Finance

TRANSACTION RECOMMENDATIONS (via Transaction Optimizer):

  • Current optimal fee: 0.000007 SOL
  • Best time to send: Now (low congestion period)
  • Expected confirmation time: <2 seconds

Would you like to analyze specific token holdings in this wallet or get more detailed transaction optimization advice? ```

These examples demonstrate the capabilities of LCQ's AI agents in real-world Solana development scenarios. Experiment with different queries to see how the agents can assist with your specific needs.

results matching ""

    No results matching ""