Skip to content

Latest commit

 

History

History
64 lines (42 loc) · 1.98 KB

README.md

File metadata and controls

64 lines (42 loc) · 1.98 KB

BIP-0322 Signatures

BIP-0322: Generic Signed Message Format

The aim of this repository is to demonstrate how the Bitcoin Improvement Proposal (BIP) 0322 for a generic signed message format could be used to sign Verifiable Credentials from a Bitcoin address. Ultimately, this address will be identified through a did:btcr DID.

This repository makes use of the buidl-python Bitcoin library developed by Jimmy Song. It also uses Jupyter Notebooks to document the approach taken when implementing the BIP 0322 specification.

Currently implemented in repo:

Author

Acknowledgements

This work was funded by Ryan Grant, Digital Contract Design. Thanks also go to Joe Andrieu, Kalle Alm, Pieter Wuille and Jimmy Song for engaging with and supporting various aspects of this work.

Using the Repo

Note: These instructions are for a linux machine

Pre-requisites

  • Python v3.8
  • Pip

Install Dependencies

  1. Create a virtual environment
python -m venv venv
  1. Activate the virtual environment
source venv/bin/activate
  1. Install python packages
pip install -r requirements.txt

Run Notebooks

  1. Launch the jupyter server
jupyter notebook
  1. Run through the notebooks

shift + enter runs a cell