🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@paraport/static

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paraport/static

Static configuration and constants for ParaPort SDK

latest
npmnpm
Version
0.0.6
Version published
Maintainers
2
Created
Source

@paraport/static

Static configuration and constants for ParaPort SDK

Installation

# npm
npm install @paraport/static

# yarn
yarn add @paraport/static

# pnpm
pnpm install @paraport/static

Usage

// ESM
import * as static from "@paraport/static";

// CommonJS
const static = require("@paraport/static");

Configuration Files

đź”§ Chains

Static chain files including decimals, symbol, and ss58 formats

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

đź”§ providers

Map of RPC providers for each chain

import { provider_MAP } from "@paraport/static";

đź”§ Names

Chain name mappings for frontend display

import { CHAIN_NAMES } from "@paraport/static";

đź”§ Types

Miscellaneous type definitions

import { TYPES } from "@paraport/static";

Developer Notes

Provider Generation

The RPC providers are pre-generated to avoid external dependencies in the published package. The provider generator is automatically set up during package installation via the postinstall script in the root package.json, and the providers are automatically generated during the prebuild process.

Automatic Process

The providers are generated automatically when building the package via the prebuild script

Manual Process (if needed)

If you need to manually update the providers:

  • Run the provider generation script:
cd scripts/generate-providers
pnpm run generate
  • Build the package:
cd packages/static
pnpm build

License

MIT

Build

  • Build this package first so other packages can consume generated providers and dist outputs
  • From repo root: pnpm --filter @paraport/static build
  • Watch mode: pnpm --filter @paraport/static dev

Topological order across packages:

  • @paraport/static → @paraport/core → @paraport/vue → @paraport/sdk → @paraport/react

See TESTING.md for end-to-end build and test flow.

Keywords

paraport

FAQs

Package last updated on 31 Oct 2025

Did you know?

Socket

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.

Install

Related posts