npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@infrared-dao/default-list

v4.20.1

Published

Default lists for Infrared interfaces including tokens and vaults

Downloads

955

Readme

Extending vaults, tokens, or validators

This README provides instructions for third parties on how to add their vault, token, or validator to our application.

Prerequisites

Before you begin, ensure you have:

  1. A GitHub account
  2. Basic knowledge of JSON and Git
  3. Details for your vault, token, or validator

Please make sure that the respective beraRewardVault is whitelisted. In order to check that please follow the guideline:

  1. Go to Berachef’s contract on Berascan(0xdf960E8F3F19C481dDE769edEDD439ea1a63426a) & select “Read Contract“
  2. Go to function 16. isWhitelistedVault
  3. Under receiver parameter put the beraRewardVault address
  4. Click “Query“
  5. If the boolean is “true”, the vault is yielding BGT (desired path)
  6. If the boolean is “false”, the vault is not yielding BGT. In this case, please refer to the Berachain team, their governance, and their documentation

Steps to add

1. Fork the repository

2. Use semantic commit messages

When adding a new vault or token use a message such as

feat: add WBERA-HONEY vault

2. Add your assets

You only need to provide assets if they're not already in the src/assets folder or if you're introducing new elements (e.g., a new protocol or token). For any new or missing assets:

Add any new token assets to /src/assets/tokens and new protocol assets to src/assets/protocols.

  • You should use a high quality SVG file (no base64).
  • If you absolutely do not have an SVG file add a png to src/assets/tokens/new or src/assets/protocols/new. Ensure it is larger than 128x128 and is very high quality. This process will take more time as the team will convert the assets to svg.

3. Update JSON files

  1. Navigate to src/pol-vaults/{network}.json where {network} is the network you're adding to (e.g., "mainnet" for the Berachain mainnet).

  2. Add your vault to the vaults array in the JSON file. Follow this structure:

    {
      "beraRewardVault": "0x...",
      "depositTokenAddress": "0x...",
      "slug": "protocol-stake-token-name"
    }
  3. If your protocol is not listed in the protocols array, add it:

    {
      "description": "A brief description of your protocol.",
      "id": "your_unique_protocol_id",
      "imageDark": "your-protocol-image.svg",
      "imageLight": "your-protocol-image.svg",
      "name": "Protocol",
      "url": "https://your-protocol-url.com"
    }

    Ensure that:

    • The id field is lowercase.
    • The name field is a singular word in most cases. Kodiak instead of Kodiak Finance for example.
    • You've added the protocol image to the src/assets/protocols folder if it's not already there.
  4. If your vault uses tokens not in the tokens, add them to src/tokens/{network}.json:

    {
      "address": "0x...",
      "chainId": 80094,
      "decimals": 18,
      "image": "your-token-image.svg",
      "mintUrl": "https://your-protocol-url.com/provide-liquidity",
      "name": "XYZ",
      "protocol": "your_protocol_id",
      "symbol": "XYZ",
      "type": "amm",
      "underlyingTokens": ["0x...", "0x..."]
    }

    Ensure that:

    • The mintUrl field is a direct link to provide liquidity for the LP token
    • The name field only uses the symbols of the underlying tokens with a dash between. Example: HONEY-WBERA.
    • protocol matches an id in the protocols array
    • You've added the token image to the src/assets/tokens folder if it's not already there.
    • All underlyingTokens are listed in the tokens (src/tokens/{network}.json)
  5. Commit your changes and push to your forked repository.

  6. Create a Pull Request (PR) from your fork to this repository.

Guidelines

  • Ensure all addresses are valid and correctly formatted.
  • Use clear, descriptive names for your vault, protocol, and tokens.
  • Provide accurate and concise descriptions.
  • Use appropriate tags and types.
  • The url field for pol-vaults should be a direct link to provide liquidity for the LP token.
  • Make sure you're updating the correct network-specific files (replace {network} with the appropriate network name).

Review process

After submitting your PR:

  1. Our team will review your submission.
  2. We may request changes or clarifications if needed.
  3. Once approved, your changes will be merged and become visible in the app for the specified network.

Thank you for contributing to our ecosystem!

Converting assets from png to svg

  1. Try to convert the image by adding it to src/assets/tokens/new and then using https://vectormagic.com or running pnpm convert-new-assets-to-svg
  2. If that doesn't produce a good result:
    1. Add the image to a figma file
    2. Resize it down to 256px x 256px. If it is smaller, leave it
    3. Export the image as a png
    4. Use https://tinypng.com to compress the image
    5. Add the compressed image to figma
    6. Resize it to 128px x 128px
    7. Copy & paste as SVG
    8. Add the file to this repo