@kodadot1/static
TypeScript icon, indicating that this package has built-in type declarations

0.0.7 • Public • Published

@kodadot1/static

npm version npm downloads Github Actions Codecov

Magic static void main

Usage

Install package:

# npm
npm install @kodadot1/static

# yarn
yarn add @kodadot1/static

# pnpm
pnpm install @kodadot1/static

Import:

// 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

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

🔧 endpoints

Map of RPC endpoints for each chain

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

🔧 indexers

Map of subsquid indexer endpoints for each chain

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

🔧 names

Map of chain names for each chain. Suitable for frontend

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

🔧 services

Map of clodflare workers we use

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

🔧 types

Misc types for each config

License

Made with 💛

Published under MIT License.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.74latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.74
0.0.63
0.0.580
0.0.42
0.0.31
0.0.3-rc.51
0.0.3-rc.41
0.0.3-rc.31
0.0.3-rc.11
0.0.3-rc.01
0.0.21
0.0.11
0.0.1-rc.11
0.0.1-rc.01

Package Sidebar

Install

npm i @kodadot1/static

Weekly Downloads

99

Version

0.0.7

License

MIT

Unpacked Size

26.4 kB

Total Files

8

Last publish

Collaborators

  • vikiival
  • yangwao