@sei-js/registry
Version:
TypeScript library for Sei chain constants and assets
19 lines (18 loc) • 704 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.NETWORKS = void 0;
const chains_json_1 = __importDefault(require("../../chain-registry/chains.json"));
/**
* A constant holding the network configurations for each network, imported from the official Sei [chain-registry](https://github.com/sei-protocol/chain-registry)
*
* @example
* ```tsx
* import { NETWORKS } from '@sei-js/registry';
*
* const pacific1 = NETWORKS.find((network) => network.chainId === 'pacific-1');
* ```
*/
exports.NETWORKS = chains_json_1.default;