Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@bcts/components

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bcts/components

A TypeScript implementation of Blockchain Commons cryptographic components. Supports key generation, signing, verification, encryption, and post-quantum cryptography.

latest
Source
npmnpm
Version
1.0.0-alpha.23
Version published
Weekly downloads
338
83.7%
Maintainers
1
Weekly downloads
 
Created
Source

Blockchain Commons Secure Components for TypeScript

Disclaimer: This package is under active development and APIs may change.

Introduction

A collection of useful primitives for cryptography, semantic graphs, and cryptocurrency, primarily for use in higher-level Blockchain Commons projects. All the types are CBOR serializable, and a number of them can also be serialized to and from URs.

Also includes a library of CBOR tags and UR types for use with these types.

Rust Reference Implementation

This TypeScript implementation is based on bc-components-rust v0.31.1 (commit).

Limitations: SSH Agent Integration

The following features require platform-specific implementations and are not yet functional:

  • SSH agent lock/unlock operations
  • SSH signature schemes

These features will throw a CryptoError with kind SshAgent or Ssh when attempted. Use alternative methods:

  • For key derivation: Use HKDF, PBKDF2, Scrypt, or Argon2id instead of SSHAgent
  • For signing: Use Ed25519, Schnorr, Ecdsa, or Sr25519 schemes instead of SSH schemes

Keywords

blockchain

FAQs

Package last updated on 25 Apr 2026

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