A comprehensive registry of platforms in the Solana DeFi ecosystem. This package provides structured platform data including metadata, links, and token information.
npm install @jup-ag/platform-list
# or
yarn add @jup-ag/platform-listGet platforms locally
import { platforms } from "@jup-ag/platform-list";
console.log(platforms);Get platforms dynamically
import { fetchPlatforms } from "@jup-ag/platform-list";
fetchPlatforms()
.then((fetchedPlatforms) => {
console.log(fetchedPlatforms);
})
.catch((error) => {
console.error("Error fetching platforms:", error);
});We welcome contributions from the community! If you want to add a new platform, smart contract, or service to the registry, please read our Contributing Guide.
- Fork the repository
- Create a platform file in
src/platforms/yourplatform.ts - Add a 64x64
.webpimage inimg/yourplatform.webp - Follow the rules:
- Platform IDs must be lowercase
- Images must be
.webpformat, 64x64 pixels
- Submit a Pull Request
See CONTRIBUTING.md for detailed instructions and examples.
To publish a new version:
npm run build:index
npm run commit:index
npm version patch
git push origin main --tags
# or
npm version patch && git push origin main --tags