blockstack-proofs

Python library for verifying proofs (twitter, github, domains etc) linked to a blockchain ID


Keywords
blockchain, bitcoin, social, proof, verifications, identity
License
MIT
Install
pip install blockstack-proofs==0.0.6

Documentation

Blockstack Proofs

CircleCI PyPI PyPI PyPI Slack

A python library for verifying identity proofs in blockstack profiles / blockchain IDs.

Proof types supported:

  • Twitter
  • Facebook
  • GitHub
  • Domain names

Installation

$ pip install blockstack-proofs

Getting Proofs from a Profile

To get the proofs for a blockchain ID, pass in the profile and username for the ID as shown below.

>>> from blockstack_proofs import profile_to_proofs
>>> proofs = profile_to_proofs(profile, username)
>>> print proofs
[{'identifier': 'naval', 'proof_url': 'https://twitter.com/naval/status/486609266212499456', 'service': 'twitter', 'valid': True}, {'identifier': 'navalr', 'proof_url': 'https://facebook.com/navalr/posts/10152190734077261', 'service': 'facebook', 'valid': True}, {'identifier': 'navalr', 'proof_url': 'https://gist.github.com/navalr/f31a74054f859ec0ac6a', 'service': 'github', 'valid': True}]