@sei-js/registry
Version:
TypeScript library for Sei chain constants and assets
17 lines (16 loc) • 627 B
JavaScript
import TokenListJSON from '../../community-assetlist/assetlist.json';
/**
* A constant that maps each Sei networks to its respective tokens, imported from the community ran [assetlist](https://github.com/Sei-Public-Goods/sei-assetlist).
*
* @remarks
* **Important**: This token list is community-driven and subject to change.
* Always verify and filter tokens yourself before use in any production environment.
*
* @example
* ```tsx
* import { TOKEN_LIST } from '@sei-js/registry';
*
* const uSei = TOKEN_LIST['pacific-1'].find((asset) => asset.symbol === 'sei');
* ```
*/
export const TOKEN_LIST = TokenListJSON;