StarkFiStarkFi

Quick Start

Your first swap, stake, and portfolio check in under 2 minutes

Before You Begin

Make sure you've completed these steps:

  1. Set up StarkFi
  2. Authenticated
  3. ✅ Have some ETH or STRK in your wallet (or enable gasfree mode)

1. Check Your Balances

starkfi balance

See all tokens in your wallet with USD values. Filter by token:

starkfi balance --token ETH

2. Your First Swap

Swap 0.1 ETH to USDC:

# Preview first (no gas spent)
starkfi trade 0.1 ETH USDC --simulate

# Execute for real
starkfi trade 0.1 ETH USDC

StarkFi automatically finds the best route via Fibrous DEX aggregator, generates the calldata, and executes the swap. You'll receive a transaction hash and explorer link.

Tip: Always use --simulate first to preview estimated fees before executing.

3. Stake STRK

Stake 100 STRK with the Karnot validator:

starkfi stake 100 -v karnot

Check your staking positions:

starkfi stake-status

4. Supply to a Lending Pool

Supply 100 USDC to the Prime lending pool on Vesu:

starkfi lend-supply 100 -p Prime -t USDC

5. Batch Multiple Operations

Swap and stake in a single atomic transaction — all operations succeed together or revert together:

starkfi batch --swap "0.1 ETH USDC" --stake "100 STRK karnot"

6. View Your Full Portfolio

See everything in one dashboard — token balances, staking positions, lending positions, and total USD value:

starkfi portfolio

7. Set Up a DCA Order

Preview a daily buy of ETH with USDC, then create the recurring order:

# Preview one cycle
starkfi dca-preview 10 USDC ETH

# Create daily DCA: 10 USDC/day, 1000 USDC total
starkfi dca-create 1000 USDC ETH --per-cycle 10 --frequency P1D

# Check active orders
starkfi dca-list --status ACTIVE

8. Send a Confidential Transfer

Privacy-preserving transfers via Tongo Cash (requires one-time setup):

# One-time: configure credentials
starkfi conf-setup --key <TONGO_KEY> --contract <CONTRACT_ADDR>

# Fund your confidential account
starkfi conf-fund 100 --token USDC

# Check your confidential balance
starkfi conf-balance

What's Next?

9. Deposit into a Yield Vault

Deposit STRK into the Evergreen vault strategy:

# List available strategies
starkfi troves-list

# Deposit 100 STRK
starkfi troves-deposit 100 evergreen_strk

# Check your position
starkfi troves-position evergreen_strk

10. Liquid Stake with Endur

Stake STRK to receive xSTRK — a liquid token whose value grows over time:

# Stake 100 STRK → xSTRK
starkfi lst-stake 100

# Check your position
starkfi lst-position

# View current APY
starkfi lst-stats

Note: xSTRK yield is embedded in the share price — there are no separate rewards to claim.


You've covered the basics. Here's where to go from here:

If you want to...Go to
See all CLI commands and flagsCLI Reference
Connect AI agents to StarkFiMCP Server
Customize network, RPC, or gas settingsConfiguration
Use pre-built AI workflowsAgent Skills
Understand the system designArchitecture
Set up DCA recurring buysDCA Commands
Use confidential transfersConfidential Commands
Deposit into yield vaultsTroves Commands
Liquid stake with EndurLST Commands
Understand gas abstractionAVNU Paymaster
Edit on GitHub

Last updated on

On this page