# DefiLlama/DefiLlama-Adapters

Repository: https://github.com/DefiLlama/DefiLlama-Adapters
Canonical: https://ross.abutalabs.com/products/defillama-adapters
Language: JavaScript
License Family: other
Last push: 2026-09-02T22:40:42+00:00

## Health v2 (maintenance only)
Score: 72/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 20, longevity 100
- inputs: {"age_days": 2119, "days_push": 0, "days_rel": 320, "gap_med": null, "n_releases_24m": 1}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1250, forks 7663 (observed 2026-09-03T02:15:05.492740+00:00)

## What it is
A collection of community-contributed TVL (Total Value Locked) adapters for DefiLlama, written in JavaScript, that compute on-chain protocol TVL from blockchain data. It includes tooling for testing adapters and an agent skill for AI-assisted adapter authoring.

## Use cases
- list a defi protocol's TVL on DefiLlama
- compute total value locked for a smart contract protocol
- write and test a TVL adapter for a new blockchain project
- track historical TVL of a protocol at a past timestamp
- query on-chain balances across multiple chains for a protocol

## When to choose
- you want your DeFi protocol listed on DefiLlama's TVL rankings
- you need a standardized pattern for computing protocol TVL from chain data
- you're contributing TVL data (not volume/fees/revenue) to DefiLlama

## When to avoid
- you need adapters for volume, fees, revenue, or other non-TVL metrics (use dimension-adapters instead)
- you need a general-purpose blockchain analytics library rather than DefiLlama-specific adapters
- you want to add custom npm dependencies, which the repo disallows

## Facets
- artifact type: library
- maturity: active
- function: sdk, developer-tools, data-science, etl
- domain: blockchain, fintech, analytics, developer-tools
- platform: -
- tags: defi, tvl, defillama, adapters, blockchain-data, open-source-data, cryptocurrency, nodejs, javascript

## Member repositories
- DefiLlama/DefiLlama-Adapters (main) score 72

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:05.492740+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:08:00.620887+00:00, confidence not recorded.
  - readme: https://github.com/DefiLlama/DefiLlama-Adapters (fetched 2026-09-03T02:15:05.492740+00:00, sha bf86849a7d8c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
