@reserve-protocol/dtf-catalog
v0.0.1
Published
Curated DTF catalog for yield and index DTFs.
Downloads
260
Readme
@reserve-protocol/dtf-catalog
Curated catalog for DTFs.
This replaces the old @reserve-protocol/rtokens naming. RTokens are now called Yield DTFs.
Usage
import dtfs, { indexDtfs, yieldDtfs } from "@reserve-protocol/dtf-catalog";
import type { CatalogIndexDTF, CatalogYieldDTF } from "@reserve-protocol/dtf-catalog";
const baseDtfs = dtfs[8453];
const baseIndexDtfs = indexDtfs[8453];
const baseYieldDtfs = yieldDtfs[8453];The package follows the old @reserve-protocol/rtokens shape:
{
[chainId]: {
[tokenAddress]: {
address,
name,
symbol,
decimals,
logo,
status
}
}
}The raw JSON files are also exported:
import baseIndexDtfs from "@reserve-protocol/dtf-catalog/index-dtf/base.json";
import baseYieldDtfs from "@reserve-protocol/dtf-catalog/yield-dtf/base.json";Logos live in images. Index DTF logos are WebP files, and Yield DTF logos currently keep the legacy SVG files.
Status
active: supported and visible by default.unsupported: marked as unsupported in the UI, but not fully deprecated onchain yet.deprecated: officially deprecated or paused onchain.
The normal lifecycle is:
active -> unsupported -> deprecatedPublishing
The package is structured for npm publishing, but "private": true is set intentionally while the catalog is still being integrated.
To publish later:
- Remove
"private": truefrompackage.json. - Set the package version.
- Run
pnpm --filter @reserve-protocol/dtf-catalog build. - Publish with public access.
