
Product
PHP and Composer Support Is Now in Beta
Socket’s PHP and Composer support is now in Beta for all customers, with PHP reachability analysis generally available.
@dedot/chain-specs
Advanced tools
A collection of well-known chain specifications for connecting to Polkadot, Kusama, and testnet networks using Dedot with the Smoldot light client.
This package provides optimized chain specs with full ESM and CommonJS support via subpath exports, allowing you to import individual network specifications on-demand.
This package is a fork of @substrate/connect-known-chains with customizations!
# npm
npm install @dedot/chain-specs
# yarn
yarn add @dedot/chain-specs
# pnpm
pnpm add @dedot/chain-specs
Import chain specs and use them with Dedot and Smoldot:
import { DedotClient, SmoldotProvider } from 'dedot';
import { start } from 'dedot/smoldot';
import { chainSpec } from '@dedot/chain-specs/polkadot';
const smoldot = start();
const chain = await smoldot.addChain({ chainSpec });
const provider = new SmoldotProvider(chain);
const client = await DedotClient.new(provider);
// Import specific networks
import { chainSpec as polkadot } from '@dedot/chain-specs/polkadot';
import { chainSpec as kusama } from '@dedot/chain-specs/ksmcc3';
import { chainSpec as assetHub } from '@dedot/chain-specs/polkadot_asset_hub';
// Or import all at once
import { polkadot, ksmcc3, polkadot_asset_hub } from '@dedot/chain-specs';
polkadot - Polkadot relay chainpolkadot_asset_hub - Polkadot Asset Hub parachainpolkadot_bridge_hub - Polkadot Bridge Hub parachainpolkadot_collectives - Polkadot Collectives parachainpolkadot_people - Polkadot People parachainksmcc3 - Kusama relay chainksmcc3_asset_hub - Kusama Asset Hub parachainksmcc3_bridge_hub - Kusama Bridge Hub parachainksmcc3_people - Kusama People parachainwestend2 - Westend testnet relay chainwestend2_asset_hub - Westend Asset Hub parachainwestend2_bridge_hub - Westend Bridge Hub parachainwestend2_collectives - Westend Collectives parachainwestend2_people - Westend People parachainpaseo - Paseo testnetpaseo_asset_hub - Paseo Asset Hubpaseo_bridge_hub - Paseo Bridge Hubpaseo_collectives - Paseo Collectivespaseo_people - Paseo PeopleFor more information on connecting to networks with Dedot and Smoldot, visit the Dedot documentation.
MIT
FAQs
Well-known chain specs for light clients (Smoldot)
The npm package @dedot/chain-specs receives a total of 76 weekly downloads. As such, @dedot/chain-specs popularity was classified as not popular.
We found that @dedot/chain-specs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Product
Socket’s PHP and Composer support is now in Beta for all customers, with PHP reachability analysis generally available.

Product
Socket is bringing experimental protection to Firefox, scanning 97,000+ extensions in Mozilla's official directory for malware and risky updates.

Research
/Security News
Three compromised Rust crates pulled in a malicious dependency that downloaded and executed cross-platform malware during Cargo builds.