Skip to main content

Django authentication using cryptocurrency wallets

Project description

Authenticatio using cryptocurrency wallets for Django projects

This package provided a django app containing a set of utilities to make easier to implement the BitId and Monero Cryptolock authentication “protocols”.

Future releases might include other cryptocurrencies but for the being (until we reach some stability) the focus will continue BTC and XMR.

DISCLAIMER: This package is still in an early stage of development. It isn’t meant to be used on any production scenario yet (in other words, only test projects for now).


The full documentation is at


  1. Install Django-Cryptolock:

    pip install django-cryptolock
  2. Add it to your INSTALLED_APPS:

  1. Migrate your database:

    python migrate
  2. Add the following settings to your project for the Monero Backend:

DJCL_MONERO_WALLET_RPC_HOST = "<wallet_rpc_host>:<port>"
  1. Add Django-Cryptolock’s URL patterns:

from django.conf.urls import url

urlpatterns = [
    url(r"^auth/", include("django_cryptolock.urls", namespace="django_cryptolock")),

More detailed information can be found in the documentation.


Tools used in rendering this package:


0.1.0 (2020-03-31)

  • Add validation for existing addresses on the signup form

  • Add rudimentary BitId support

  • Renamed the base auth views to generic names

0.0.2 (2020-01-08)

  • A default is provided by the package so can work “out-of-the-box”.

  • Default location for templates moved to django_cryptolock folder.

  • Update quickstart guide.

  • Update instructions to contribute to the project.

  • Add DJCL namespace to all related settings.

  • MoneroAddressBackend is now executed when more parameters are added to the authenticate function.

0.0.1 (2019-11-25)

  • First release on PyPI.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-cryptolock-0.1.0.tar.gz (12.1 kB view hashes)

Uploaded source

Built Distribution

django_cryptolock-0.1.0-py2.py3-none-any.whl (13.9 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page