polkadot-utilities

Integrate Polkadot address, crypto, storage, and logging utilities in TypeScript projects.

2|2|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/paritytech/polkadot-apps --skill polkadot-utilities
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: polkadot-utilities
Source: https://github.com/paritytech/polkadot-apps/tree/main/skills/polkadot-utilities
Command: npx skills add https://github.com/paritytech/polkadot-apps --skill polkadot-utilities

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Five leaf packages provide foundational utilities across the monorepo for Polkadot apps. All are pure TypeScript, framework-agnostic, and published under the @polkadot-apps/ scope.

Core Features & Use Cases

  • Address utilities (SS58/H160) for encoding, decoding, and display.
  • Crypto and utils libraries (encryption, hashing, encoding, token formatting, and storage helpers).
  • Storage and logging integrations for streamlined app telemetry and state management.
  • Use Case: Quickly bootstrap a Polkadot app with typed helpers and reusable utilities across packages.

Quick Start

Install and import the utility packages from @polkadot-apps to start using address, crypto, utils, storage, and logger helpers.

Frequently Asked Questions about polkadot-utilities

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I encode and decode Polkadot SS58 addresses in a TypeScript app?

This Skill provides pure TypeScript address utilities for encoding, decoding, and displaying SS58 and H160 addresses. You can import the @polkadot-apps address package directly to handle Polkadot address formats without external dependencies.

What cryptography primitives are available for Polkadot TypeScript projects?

This Skill provides crypto primitives including AES, ChaCha, HKDF, and NaCl for Polkadot TypeScript projects. These framework-agnostic libraries handle encryption, hashing, and cryptographic operations directly within your applications.

Can I use these Polkadot utilities with any TypeScript framework?

Yes, you can use these Polkadot utilities with any TypeScript framework. All five leaf packages are pure TypeScript and framework-agnostic, published under the @polkadot-apps scope for integration across diverse project architectures.

What's the best way to manage state and logging in a Polkadot app?

The best way to manage state and logging is using the lightweight KV storage API and structured logger included in this Skill. They provide typed helpers for streamlined telemetry and state management across your Polkadot applications.

Do I need external dependencies to handle token formatting and utility encoding?

No, you do not need external dependencies for token formatting and utility encoding. This Skill consolidates utility encoding, hashing, and token formatting into pure TypeScript libraries, providing typed helpers directly within your project.