Skip to content

A Jupyter notebook based implementation of BIP0322 signatures using Jimmy Song's buidl-python bitcoin library

Notifications You must be signed in to change notification settings

LegReq/bip0322-signatures

 
 

Repository files navigation

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

About

A Jupyter notebook based implementation of BIP0322 signatures using Jimmy Song's buidl-python bitcoin library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Jupyter Notebook 97.8%
  • Python 2.2%