1.0.13 • Published 11 months ago

@learncard/simple-signing-plugin v1.0.13

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Simple Signing Plugin

A LearnCard plugin that integrates with the Simple Signing Service to enable signature verification for LearnCard Network operations.

Overview

This plugin provides a connection between LearnCard and a Simple Signing Service implementation. It allows LearnCard Network operations to utilize a signing authority that can verify and sign actions within the network.

Key features:

  • Integration with LearnCard Network for credential operations
  • Signing Authority for network actions like claim links and Auto Boosts

Usage

import { initLearnCard } from '@learncard/init';
import { getSimpleSigningPlugin } from '@learncard/simple-signing-plugin';

// Initialize LearnCard with network capabilities
const learnCard = await initLearnCard({ seed: 'abc123', network: true });

// Add the Simple Signing Plugin
const saLearnCard = await learnCard.addPlugin(
  await getSimpleSigningPlugin(learnCard, 'https://yourendpoint.com/trpc')
);

// Now your LearnCard instance can use signing operations with the Simple Signing Service

Self-Hosting

This plugin is designed to work with a self-hosted Simple Signing Service. See the simple-signing-service package for details on setting up your own service.

E2E Testing

This plugin is particularly useful for end-to-end testing of LearnCard Network operations that require Signing Authorities, without needing to implement a full production signing authority.

License

MIT © Learning Economy Foundation

1.0.13

11 months ago

1.0.12

11 months ago

1.0.11

11 months ago

1.0.10

11 months ago

1.0.9

12 months ago

1.0.8

12 months ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago