platform-list 1.2.85
Install from the command line:
Learn more about npm packages
$ npm install @jup-ag/platform-list@1.2.85
Install via package.json:
"@jup-ag/platform-list": "1.2.85"
About this version
A comprehensive registry of platforms in the Solana ecosystem. This package provides structured platform data including metadata, links, token(s) information, smart contracts and services.
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 400x400
.webpimage inimg/yourplatform.webp - Follow the rules:
- Platform IDs must be lowercase
- Images must be
.webpformat, 400x400 pixels
- Submit a Pull Request
See CONTRIBUTING.md for detailed instructions and examples.
To publish a new version:
npm run format
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