Skip to content
This repository has been archived by the owner on Feb 21, 2020. It is now read-only.

For verifying proofs (twitter, github, domains etc) linked to a blockchain ID

License

Notifications You must be signed in to change notification settings

stacks-archive/blockstack-proofs-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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}]

About

For verifying proofs (twitter, github, domains etc) linked to a blockchain ID

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages