Skip to content

Latest commit

 

History

History
37 lines (19 loc) · 817 Bytes

File metadata and controls

37 lines (19 loc) · 817 Bytes

Data Integrity using the BIP340 CryptoSuite

Experimental Python Implementation

Warning: This code is for experimental purposes only and should NOT be used in production.

Prerequisites

  • Python >= 3.8
  • Pip

Getting started

  1. Create a virtual environment

python -m venv venv

  1. Activate the virtual environment

source venv/bin/activate

  1. Install the package requirements

pip install -e .

  1. Run the main (See di_bip340/__main__.py)

python di_bip340

The code in __main__.py, creates and verifies a DateIntegrityProof on a Verifiable Credential using the bip340-jcs-2025 CryptoSuite.

Relevant Specifications