Skip to content

This repo contains test scripts to reproduce issues with BC Wallets. The scripts is shared with BC team.

Notifications You must be signed in to change notification settings

Northern-Block/testscripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Credential Issuance CLI

Overview

This project is a Node.js-based CLI tool for creating and issuing credentials through an API.
It guides the user through providing credential details, sending them to the API, preparing an Out-of-Band (OOB) invitation, and generating a QR code for sharing.


Features

  • Interactive CLI prompts for credential details.
  • Offer Creation using provided schema and credential definition.
  • API Communication for sending offers and generating OOB invitations.
  • QR Code Generation (displayed in terminal).
  • Environment Variable Validation to prevent missing configuration issues.

Basic Setup

  • .env file configured with API and credential settings.
  • Node.js installed on your system.

Installation

# Clone the repository
git clone <repository_url>

# Navigate into the project directory
cd <project_folder>

# Install dependencies
yarn install


# Development run
bash run.sh

Example CLI Input

Enter your first name: John
Enter your last name: Doe
Enter your date of birth (YYYYMMDD): 20000219
Enable auto issuance? (yes/no): yes

About

This repo contains test scripts to reproduce issues with BC Wallets. The scripts is shared with BC team.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •