Skip to content
LegReqPublic
forked from dcdpr/did-btcr2

About

Decentralized Identifier (DID) Method btc1 (did:btc1) anchors identity to the Bitcoin blockchain.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

did:btcr2 DID Method Specification

did:btcr2 is a censorship resistant DID Method using the Bitcoin blockchain as a Verifiable Data Registry to announce changes to the DID document. It improves on prior work by allowing: zero-cost off-chain DID creation; aggregated updates for scalable on-chain update costs; long-term identifiers that can support frequent updates; private communication of the DID document; private DID resolution; and non-repudiation appropriate for serious contracts.

The full specification may be viewed at https://dcdpr.github.io/did-btcr2/.

Compiling the Specification Locally

  1. Install 'pandoc' locally - https://pandoc.org/getting-started.html.
  2. Install 'npm' locally - http://docs.npmjs.com/downloading-and-installing-node-js-and-npm
  • Note: Mac users can get both with homebrew: brew install npm pandoc
  1. Run the following commands
  • cd did-btcr2
  • npm install
  • npm run pandoc-spec

The specification will be compiled and available in the _site/index.html file.

After editing the markdown files for the specification, see the chapters folder, you will need to rerun the script npm run pandoc-spec to see the changes.

History and Evolution of the did:btcr2 DID method

timeline
    title did:btcr2 — A Timeline of Development
    section RWOT Origins
      RWOT5 Boston  : Oct 2017
      RWOT7 Toronto — BTCR v0.1 Design Decensions : Sep 2018
    section Foundations
      Taproot & Schnorr activated : Nov 2021
      DID Core 1.0 Recommendation : Jul 2022
      BTCR v2 work (→ btcr2) starts : 2022
    section Specification Work
      Programming Bitcoin course : Mar 2023
      btcr2 spec drafting begins : Summer 2023
      DID WG recharter (DID Resolution focus) : April 2024
    section Exploration and Experimentation
      POC - Sparse Merkle Tree aggregation : Feb 2024
      Schnorr cryptosuite (bip340-2025) work starts : Dec 2024
    section Implementation and Adoption
      Implementations across Python/JS/Rust/Java : 2025
      bip340-2025 cryptosuite adopted (CCG Work Item) : Aug 2025
Loading

Jupyter Notebooks

Included under the notebooks folder are a set of Jupyter notebooks that implement the various features of the did:btcr2 specification. These are included as helpful reference material for those intending to implement the specification. To run the notebooks locally see the notebooks/README.md.

About

Decentralized Identifier (DID) Method btc1 (did:btc1) anchors identity to the Bitcoin blockchain.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages