Python
The Python implementation lives at
dcdpr/did-btcr2-py.
Status — Experimental alpha. It implements the earlier did:btc1 draft of the specification, not the current did:btcr2 specification. The last commit is from 2025-07-30. No PyPI package yet — install from source.
Install
Section titled “Install”pip install libbtc1@git+https://github.com/dcdpr/did-btcr2-pyFrom source:
git clone https://github.com/dcdpr/did-btcr2-py.gitcd did-btcr2-pypython -m venv venvsource venv/bin/activate # Windows: .\venv\Scripts\activatepip install -r requirements.txtCreate
Section titled “Create”# TODO — pending stable Python API.# See https://github.com/dcdpr/did-btcr2-py for the in-development surface.Resolve
Section titled “Resolve”# TODOUpdate
Section titled “Update”# TODODeactivate
Section titled “Deactivate”# TODOContributing
Section titled “Contributing”Fork https://github.com/dcdpr/did-btcr2-py, create a virtualenv, run the
test suite (python -m unittest), submit a PR.