Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

A simple Django package to build web-based Indy agent applications.

Project description

Indy Community is a simple Django framework for building Hyperledger Indy Agent enabled web applications. Detailed documentation is in the “docs” directory.

Please see for detailed docmentation

Quick start

You can find a basic Indy Community application here

To add indy_community to your own django application:

  1. Copy the requirements.txt file into your application directory and install requirements
  2. Add “indy_community” to your INSTALLED_APPS setting like this:
    # this should go first
  1. Add the following Indy configuration settings (this is for a local install):
import platform

def file_ext():
    if platform.system() == 'Linux':
        return '.so'
    elif platform.system() == 'Darwin':
        return '.dylib'
    elif platform.system() == 'Windows':
        return '.dll'
        return '.so'

    'storage_dll': 'libindystrgpostgres' + file_ext(),
    'storage_entrypoint': 'postgresstorage_init',
    'payment_dll': 'libnullpay' + file_ext(),
    'payment_entrypoint': 'nullpay_init',
    'wallet_config': {'id': '', 'storage_type': 'postgres_storage'},
    'wallet_credentials': {'key': ''},
    'storage_config': {'url': 'localhost:5432'},
    'storage_credentials': {'account': 'postgres', 'password': 'mysecretpassword', 'admin_account': 'postgres', 'admin_password': 'mysecretpassword'},
    'vcx_agency_url': 'http://localhost:8080',
    'vcx_agency_did': 'VsKV7grR1BUE29mG2Fm2kX',
    'vcx_agency_verkey': 'Hezce2UWMZ3wUhVkh2LfKSs8nDzWwzs2Win7EzNN3YaR',
    'vcx_payment_method': 'null',
    'vcx_enterprise_seed': '000000000000000000000000Trustee1',
    'vcx_institution_seed': '00000000000000000000000000000000',
    'vcx_genesis_path': '/tmp/atria-genesis.txt',
    'register_dids': True,
    'ledger_url': 'http://localhost:9000',
  1. Configure background tasks:

  1. Ensure your local templates are loaded first:
        'DIRS': [
            os.path.join(BASE_DIR, '<your app>/templates'),
  1. Override User, Organization and Relationship models, if you have your own subclass of these models:
AUTH_USER_MODEL = 'indy_community.IndyUser'
INDY_ORGANIZATION_MODEL = 'indy_community.IndyOrganization'
INDY_ORG_RELATION_MODEL = 'indy_community.IndyOrgRelationship'
  1. Include the indy URLconf in your project like this:
path('indy/', include('indy_community.urls')),
  1. Ensure you have all pre-requisites running, as per django-indy-community docs
  2. Run python migrate to create the indy models.
  3. Run python runserver and connect to http://localhost:8000/indy`

You can customize the UI and add event handling for VCX Connection and Messaging events. See the demos in for examples of how to do this.

View detailed documentation in the Docs directory (

Project details

Download files

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

Files for django-indy-community, version 0.1.14
Filename, size File type Python version Upload date Hashes
Filename, size django_indy_community-0.1.14-py3-none-any.whl (87.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size django-indy-community-0.1.14.tar.gz (52.7 kB) File type Source Python version None Upload date Hashes View

Supported by

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