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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@galleondao/setswap-tokenlist

v0.0.6

Published

Token lists used by SetSwap

Readme

Forked from @IndexCoop

tokenlists

npm: https://www.npmjs.com/package/@galleondao/setswap-tokenlist

github: https://github.com/GalleonDAO/setswap-tokenlist


Install

yarn add @galleondao/setswap-tokenlist

Usage

import {
  MainnetTokens,
  MaticTokens,
  SetSwapMainnetTokens,
  SetSwapMaticTokens,
  TokenData,
} from '@galleondao/setswap-tokenlist';
  • SetSwapMainnetTokens: Only SetSwap Mainnet tokens
  • SetSwapMaticTokens: Only SetSwap Matic network tokens
  • SetSwapArbitrumTokens: Only SetSwap Arbitrum roll-up tokens
  • SetSwapOptimismTokens: Only SetSwap Optimism roll-up tokens
  • SetSwapAvalanceTokens: Only SetSwap Avalanche network tokens
  • TokenData: The token interface used by the lists

Contributing

npm run commit

REQUIRED: Due to the use of semantic-release for deploying to npm's registry, we require commits to be formatted a specific way. This is made easy by the above npm script. If your commit doesn't use the above command for styling, it won't be picked up by semantic-release for publishing.

Adding SetSwap Tokens

When adding SetSwap tokens, find the SetSwap specific array in the appropriate network file and append the SetSwap list at the top as shown below.

const SETSWAP_MAINNET_TOKENS: TokenData[] = [
  {
    address: '0x47110d43175f7f2c2425e7d15792acc5817eb44f',
    chainId: 1,
    name: 'My New Index',
    symbol: 'MNI',
    decimals: 18,
    logoURI:
      'path-to-hosted-logo',
  },
  {...}
];

Adding non-SetSwap Tokens

When adding any other token, find the generic array in the appropriate network file and append the second array at the bottom as shown below.

const MAINNET_TOKENS: TokenData[] = [
  {
    address: '0x47110d43175f7f2c2425e7d15792acc5817eb44f',
    chainId: 1,
    name: 'My New Token',
    symbol: 'MNT',
    decimals: 18,
    logoURI:
      'path-to-hosted-logo',
  },
  {...}
];

Adding a new network

When adding a new network, create a new file in src/lists named after the network, and copy the structure from any of the other lists. File should include at a minimum:

  • An exported SETSWAP_NEW_NETWORK_TOKENS TokenData array, containing only SetSwap tokens on that network.
  • A default exported NEW_NETWORK_TOKENS TokenData array, containing all tokens on that network, with the last item appended being the aforementioned SETSWAP_[NETWORK]_TOKENS array.

After this, index.ts should be updated to export the newly created lists as shown below:

export const NewNetworkTokens = NEW_NETWORK_TOKENS;
export const SetSwapNewNetworkTokens = SETSWAP_NEW_NETWORK_TOKENS;

When these are complete, update the Usage list above to show what lists are available to a user.