avnu

Automate StarkNet DeFi workflows with Avnu SDK for swaps, DCA, staking, and gasless transactions.

1|1|Updated Nov 11, 2025
One-click install
npx skills add https://github.com/okhaimie-dev/survivor_exchange --skill avnu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: avnu
Source: https://github.com/okhaimie-dev/survivor_exchange/tree/main/.agents/skills/avnu
Command: npx skills add https://github.com/okhaimie-dev/survivor_exchange --skill avnu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires starknet, @avnu/avnu-sdk, ethers, moment, dotenv, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Developers often struggle to stitch together DeFi building blocks on StarkNet, lacking a unified toolkit for swaps, recurring purchases, staking, gasless and sponsored transactions, and market data.

Core Features & Use Cases

  • Swap with best-price routing across multiple sources
  • DCA (recurring buys) and staking workflows
  • Gasless (user pays in tokens) or sponsored (gas-free) transactions via Paymaster
  • Market data, token prices, and analytics for on-chain decisions
  • Use cases: building trading dashboards, automate asset management, or integrate DeFi features into apps

Quick Start

Install the avnu SDK, configure your StarkNet account and RPC URL, then fetch quotes and execute a swap.

Frequently Asked Questions about avnu

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate StarkNet DeFi workflows for swaps, DCA, and staking?

To automate StarkNet DeFi workflows, you can use the Avnu SDK to coordinate swaps, DCA, and staking. It interfaces with getQuotes and executeSwap APIs to execute best-price routing and recurring buys within script-driven environments.

How do gasless and sponsored transactions work on StarkNet using a Paymaster?

Gasless and sponsored transactions on StarkNet use a Paymaster to cover or redirect gas fees. The Avnu SDK integrates Paymaster APIs to allow users to pay gas in tokens or execute gas-free sponsored transactions.

Can I build a trading dashboard on StarkNet that fetches market data and token prices?

Yes, you can build a trading dashboard on StarkNet by utilizing the Avnu SDK to fetch market data, token prices, and analytics. This enables on-chain decision-making alongside swap and staking automation.

What do I need to configure before fetching quotes and executing a swap on StarkNet?

Before fetching quotes and executing a swap on StarkNet, you need to install the Avnu SDK, configure your StarkNet account, and set up your RPC URL. This environment setup enables access to best-price routing.

Does the Avnu SDK support building automation bots for recurring DCA buys?

Yes, the Avnu SDK supports building automation bots for recurring DCA buys. It provides specialized workflows to automate recurring purchases and asset management directly on the StarkNet blockchain.

What is the best way to integrate best-price routing for StarkNet swaps in a frontend app?

The best way to integrate best-price routing for StarkNet swaps is using the Avnu SDK's getQuotes and executeSwap APIs. This unifies liquidity sources across multiple platforms for optimal execution.