# @kodadot1/static

> Static constants in the KodaDot development

Latest version **0.0.8-rc.0** (published 2025-06-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install @kodadot1/static
pnpm add @kodadot1/static
yarn add @kodadot1/static
bun add @kodadot1/static
```

## Health

**Score 50/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 0.0.8-rc.0 |
| Published | 2025-06-02 |
| First published | 2023-03-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 25.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 685 |
| Maintainers | yangwao, vikiival |

## Links

- npm: https://www.npmjs.com/package/@kodadot1/static
- Repository: https://github.com/kodadot/nft-gallery
- Homepage: https://github.com/kodadot/nft-gallery#readme
- Issues: https://github.com/kodadot/nft-gallery/issues
- npm.io page: https://npm.io/package/@kodadot1/static

## Recent versions

- 0.0.8-rc.0 (latest) — 2025-06-02
- 0.0.7 — 2024-10-04
- 0.0.6 — 2024-08-19
- 0.0.5 — 2024-04-06
- 0.0.4 — 2023-11-16
- 0.0.3 — 2023-08-11
- 0.0.3-rc.5 — 2023-07-28
- 0.0.3-rc.4 — 2023-05-29
- 0.0.3-rc.3 — 2023-05-24
- 0.0.3-rc.1 — 2023-05-23
- 0.0.3-rc.0 — 2023-05-23
- 0.0.2 — 2023-05-12
- 0.0.1 — 2023-04-14
- 0.0.1-rc.1 — 2023-03-30
- 0.0.1-rc.0 — 2023-03-06

## README

# @kodadot1/static

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![Github Actions][github-actions-src]][github-actions-href]
[![Codecov][codecov-src]][codecov-href]

> Magic static void main

## Usage

Install package:

```sh
# npm
npm install @kodadot1/static

# yarn
yarn add @kodadot1/static

# pnpm
pnpm install @kodadot1/static
```

Import:

```js
// ESM
import * as static from "@kodadot1/static";

// CommonJS
const static = require("@kodadot1/static");
```

## Available config files

### 🔧 chains

Static chain files such as decimals, symbol, ss58

```js
import { CHAINS } from "@kodadot1/static";
```

### 🔧 endpoints

Map of RPC endpoints for each chain

```js
import { ENDPOINT_MAP } from "@kodadot1/static";
```

### 🔧 indexers

Map of subsquid indexer endpoints for each chain

```js
import { INDEXERS, APOLLO_ENDPOINTS, toApolloEndpoint } from "@kodadot1/static";
```

### 🔧 names

Map of chain names for each chain. Suitable for frontend

```js
import { NAMES } from "@kodadot1/static";
```

### 🔧 services

Map of clodflare workers we use

```js
import { SERVICES } from "@kodadot1/static";
```

### 🔧 types

Misc types for each config

## License

Made with 💛

Published under [MIT License](./LICENSE).

<!-- Badges -->

[npm-version-src]: https://img.shields.io/npm/v/@kodadot1/static?style=flat-square
[npm-version-href]: https://npmjs.com/package/@kodadot1/static
[npm-downloads-src]: https://img.shields.io/npm/dm/@kodadot1/static?style=flat-square
[npm-downloads-href]: https://npmjs.com/package/@kodadot1/static
[github-actions-src]: https://img.shields.io/github/actions/workflow/status/@kodadot1/static/ci.yml?branch=main&style=flat-square
[github-actions-href]: https://github.com/@kodadot1/static/actions?query=workflow%3Aci
[codecov-src]: https://img.shields.io/codecov/c/gh/@kodadot1/static/main?style=flat-square
[codecov-href]: https://codecov.io/gh/@kodadot1/static

---
_Source: https://npm.io/package/@kodadot1/static · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
