Defi Portfolio

Use this skill for a unified view of a wallet's DeFi positions across all Cardano protocols. Triggers on: "show all my positions", "DeFi portfolio", "what do I have open", "total exposure", "all my DeFi", "positions across protocols", "unified portfolio view".

flux-point-studios Updated 8 repo stars

File contents

Unified DeFi Portfolio

View all DeFi positions across Cardano protocols in one place.

Capabilities

Aggregates positions from:

  • SaturnSwap: Open orders + liquidity positions
  • Strike Finance: Leveraged perp positions
  • Bodega Markets: Prediction market shares
  • Surf Finance: Lending/borrowing positions (via pool state)

Scripts

Full Portfolio

node scripts/portfolio.js --address <bech32>

Queries all protocols in parallel and shows a unified summary.

Key Concepts

  • Each protocol is queried independently — some may fail without affecting others
  • Positions are grouped by protocol and type
  • Values are shown in ADA where possible
  • Environment variables for each protocol must be set for their section to appear

flux-point-studios/cardano-defi-skills commit 634639158c

Frequently asked questions

npx get-skill add flux-point-studios/defi-portfolio