UNPKG

@sei-js/registry

Version:

TypeScript library for Sei chain constants and assets

23 lines (22 loc) 903 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.TOKEN_LIST = void 0; const assetlist_json_1 = __importDefault(require("../../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'); * ``` */ exports.TOKEN_LIST = assetlist_json_1.default;