Blockstack Proofs
A python library for verifying identity proofs in blockstack profiles / blockchain IDs.
Proof types supported:
- 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}]