AppKit
How partners link users into Avana's borrowing flow from their own position views. Borrowing, risk and liquidation rules stay in the contracts.
Overview
AppKit connects DEXs, wallets and portfolio applications to Avana's LP-backed borrowing flow on Ethereum and Base. The partner application chooses where the entry point appears and passes the user's wallet and market context. Borrowing itself runs through the AaveAdapter and the market's CDP Spoke on Aave V4, in any debt asset that Spoke has enabled, such as GHO or USDC.
AppKit is a frontend integration. It does not change which pools are listed, how positions are valued or how they are liquidated. Users can also call the contracts directly, without AppKit or Avana's frontend.
Integration Model
Intent capture
A partner places the borrowing entry point beside an LP position, portfolio or swap view. That view supplies the position and market context for the handoff. Only positions whose pool and tick range match a listed market exactly can be pledged, such as Uniswap v3 and Uniswap v4 positions on Ethereum or unstaked Aerodrome Slipstream positions on Base.
Protocol handoff
The partner passes the wallet, chain and market into Avana so the borrowing flow opens with the relevant account and market selected. Each wallet has one account per market, so the market fixes the account the user will borrow on.
Partner economics
Any partner arrangement is off-chain. No contract carries a borrow, interest or frontend fee, and partner arrangements do not change Aave V4 borrowing terms, risk parameters or liquidation rules.
Partner Controls
Partners control how the borrowing entry point is presented and the guidance around it. Those choices affect how users reach the flow. Collateral eligibility, price states and every transaction check stay in Avana's contracts and Aave V4.
- Where the credit surface appears in the product
- Which user segments see the borrow entry point
- How much education or explanation appears alongside the handoff
- Whether the product uses a full embedded handoff or a lighter context-preserving entry point
Implementation Notes
An AppKit integration connects an existing position view to the matching Avana borrowing flow. These notes cover context transfer and the boundary between the partner interface and Avana's protocol operations.
- Read account, price-state, cap and preview data from the contracts rather than recomputing collateral values or health factors in the partner interface.
- Show the recommended borrow at health factor 1.10 next to the protocol maximum at 1.00, as the Avana app shows them.
- Build transactions with the calldata builders in
packages/protocolfrom the verified deployment manifest. Never take a transaction target or calldata from a backend. - Request only exact approvals: one position to the market's LPVault for a pledge, and the exact repay amount to the AaveAdapter for a repay. Never an operator approval for all tokens or an unlimited allowance.
- Show when a market is not Live, a Hub is paused or frozen, or a breaker is tripped, so users understand why a pledge or borrow would revert.
The full integration guide, with contracts, approvals and events, is on the integrations overview: Integrations.
Launch Notes
Before enabling the integration, verify the complete path from the partner's position view to Avana's borrowing flow on each chain. The interface must make the selected account, the market and the transition to Avana clear.
Include hidden entry points, direct links, positions whose range does not match a listed market, staked Slipstream positions, and missing wallet, market or collateral context in that review. These cases decide whether the flow opens with the information needed to evaluate a borrow.
