Skip to main content
Prerequisites: You’ll need a NEAR wallet and some NEAR tokens. If you’re new to NEAR Protocol, visit wallet.near.org to create one.

Start Trading in 3 Steps

1

Connect Your Wallet

Visit app.vita.finance and click “Connect Wallet”
Vita Finance supports 23 different wallets including NEAR Wallet, Meteor, Sender, MetaMask, Ledger, and many more.
# Using NEAR CLI
near login
2

Select Tokens to Swap

Choose your input and output tokens from our supported list
Remember decimal differences:
  • NEAR: 24 decimals
  • VITA/xVITA: 18 decimals
  • USDC/USDT: 6 decimals
3

Execute Your Swap

Enter the amount, review the details, and confirm
Always check the price impact and minimum received amount before confirming. Default swap fee is 0.3%.

Trading Options

Vita uses an Automated Market Maker (AMM) with concentrated liquidity for optimal pricing and instant swaps. We also offer a Central Limit Order Book (CLOB) for advanced traders.

AMM Swaps

Instant token swaps with concentrated liquidity:
  • Best prices through smart routing
  • Minimal slippage on popular pairs
  • Default 0.3% trading fee
  • Instant execution

Your First Liquidity Position

Ready to earn fees? Here’s how to provide liquidity:
Browse available pools and select one based on:
  • Volume: Higher volume = more fees
  • Your tokens: What you hold
Concentrated liquidity lets you choose where to deploy capital:
// Example ranges for NEAR/USDC (assuming current price: $5)
const ranges = {
  narrow: { min: 4.90, max: 5.10 }, // ±2% - Higher fees, more management
  medium: { min: 4.50, max: 5.50 }, // ±10% - Balanced approach
  wide: { min: 3.00, max: 8.00 }    // ±40% - Lower fees, less management
};

// Valid tick range: -665454 to 831818
Add your tokens and receive an NFT representing your position
# Mint position directly via CLI
near call [TBD] mint_position \
  '{
    "pool_id": "NEAR-USDC",
    "tick_lower_index": -10986,
    "tick_upper_index": 9183,
    "amount0_desired": "1000000000000000000000000",
    "amount1_desired": "5000000",
    "amount0_min": "990000000000000000000000",
    "amount1_min": "4950000"
  }' \
  --accountId your-wallet.near \
  --amount 0.1

Stake VITA for xVITA

Why Stake?

xVITA holders earn protocol revenue from AMM trading fees, plus boost multipliers up to 2.5x

Quick Staking Guide

# 1. Convert VITA to xVITA using ft_transfer_call
near call [TBD] ft_transfer_call \
  '{"receiver_id": "[TBD]", "amount": "1000000000000000000", "msg": "{\"convert\": {}}"}' \
  --accountId your-wallet.near \
  --amount 0.000000000000000000000001

Redemption Options

Period: 15 days
Return: 50% of VITA (penalty)
Use case: Need liquidity quickly

Common Actions

Check Token Balances

near view [TBD] ft_balance_of \
  '{"account_id": "your-wallet.near"}'
# Returns: "1000000000000000000" (1 VITA with 18 decimals)

Monitor Your Positions

# Get all your NFT position IDs
near view [TBD] get_user_positions \
  '{"account_id": "your-wallet.near"}'

Claim Rewards

1

Check Claimable Rewards

near view [TBD] get_unclaimed_rewards \
  '{"account_id": "your-wallet.near", "session_id": 42}'
2

Claim Your Rewards

near call [TBD] claim_all_rewards \
  '{}' \
  --accountId your-wallet.near \
  --amount 0.01

Helpful Resources

Common Issues & Solutions

Common causes and solutions:
  • Insufficient gas: Attach at least 0.1 NEAR for complex operations
  • Slippage too low: Increase slippage tolerance in settings
  • Price moved: Refresh and try again with updated prices
Check these common issues:
  • Ensure you’re connected with the correct wallet
  • Positions are NFTs - check your NFT tab
  • Use the CLI commands above to verify
NEAR: 24 decimals
1 NEAR = 1000000000000000000000000
VITA/xVITA: 18 decimals
1 VITA = 1000000000000000000
USDC/USDT: 6 decimals
1 USDC = 1000000

What’s Next?

Continue Your Journey

For TradersFor Liquidity Providers
Pro tip: Start small with wide ranges to get familiar with the system, then gradually narrow your ranges as you gain experience.