
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
@kodadot1/static
Advanced tools
Magic static void main
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");
Static chain files such as decimals, symbol, ss58
import { CHAINS } from "@kodadot1/static";
Map of RPC endpoints for each chain
import { ENDPOINT_MAP } from "@kodadot1/static";
Map of subsquid indexer endpoints for each chain
import { INDEXERS, APOLLO_ENDPOINTS, toApolloEndpoint } from "@kodadot1/static";
Map of chain names for each chain. Suitable for frontend
import { NAMES } from "@kodadot1/static";
Map of clodflare workers we use
import { SERVICES } from "@kodadot1/static";
Misc types for each config
Made with 💛
Published under MIT License.
FAQs
Static constants in the KodaDot development
The npm package @kodadot1/static receives a total of 199 weekly downloads. As such, @kodadot1/static popularity was classified as not popular.
We found that @kodadot1/static demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.