open-index/open-npm huggingface dataset:
npm package: @keyringnetwork/circuits
Description: TypeScript SDK for interacting with Keyring zero-knowledge circuits. Provides high-level APIs for proof generation, verification, and cryptographic operations.
Latest version: 4.1.0

# @keyringnetwork/circuits

TypeScript SDK for interacting with Keyring zero-knowledge circuits. Provides high-level APIs for proof generation, verification, and cryptographic operations.

## Overview

This package provides a comprehensive TypeScript SDK for the Keyring protocol, enabling:

- **Circuit Integration**: High-level APIs for RSA and Schnorr authorization circuits
- **Cryptographic Operations**: RSA, Schnorr, ElGamal, and elliptic curve cryptography
- **Domain Objects**: Structured data models for identities, policies, and authentication messages
- **Proof Generation**: End-to-end proof creation and verification workflows
- **Utilities**: Helper functions for common operations

## Installation

```bash
npm install @keyringnetwork/circuits
# or
pnpm add @keyringnetwork/circuits
```

## Configuration

The SDK requires initialization with cryptographic backends:

```typescript
import { crypto } from '@keyringnetwork/circuits';
import { groth16 } from 'snarkjs';
import { poseidon, babyJub, eddsa } from '@iden3/js-crypto';

// Initialize SnarkJS backend
crypto.importSnarkJS({
  prove: groth16.prove,
  verify: groth16.verify,
  // ... other methods
});

// Initialize elliptic curve crypto
crypto.importECCryptoSuite({
  poseidon,
  babyJub,
  eddsa,
  // ... other methods
});
```

## Testing

```bash
# Run all tests
pnpm test

```

## Development

### Building

```bash
# Build the package
pnpm build

# Watch mode for development
pnpm dev
```


## Requirements

- Node.js >= 22.0.0
- TypeScript >= 5.0.0

## Browser Support

The SDK supports modern browsers with WebAssembly and BigInt support. For older browsers, polyfills may be required.
npm package: @keyringnetwork/keyring-zkpg-sdk
Description: ## Overview
Latest version: 1.0.0

# Keyring Network ZKPG SDK

## Overview

The Keyring Network ZKPG SDK is a TypeScript library that provides a set of functions to interact with the Keyring Network.

## Installation

```bash
npm install @keyringnetwork/keyring-zkpg-sdk
yarn add @keyringnetwork/keyring-zkpg-sdk
pnpm add @keyringnetwork/keyring-zkpg-sdk
```

## Required Dependencies

These are the dependencies that are required to be installed in the frontend project that uses this SDK.

```js
"@iden3/js-crypto": "1.3.1",
"@keyringnetwork/circuits": "4.0.1",
"ffjavascript": "^0.3.1",
"snarkjs": "0.7.5",
```

These dependencies are injected into the SDK via the `jsCrypto` and `snarkjs` parameters in the `KeyringZKPG.getInstance` function.