Home |
Mobile App |
Repositories |
SIM Apps |
Here is an index of our repositories, and what is included in them:
Our cross platform Xamarin App, currently targeting Android 2.3+ including:
Tools for interacting with the LiteID Ethereum Contract, as a Python package for Python 2.x.
Installation:
pip install LiteID-Contract-Tools
Usage:
>>> from LiteIDContractTools import LiteIDContract
>>> myContract = LiteIDContract()
# On enabled RPC servers allow you to unlock an account
>>> myContract.unlock_account(account, password)
>>> myContract.create_contract('Mark Omo')
>>> with open('DriversLicense.pdf') as file:
... myContract.add_hash(bytearray(file.read()))
>>> myContract.dump_hashes()
# Returns Salted Hash, Salt, Original Hash, Origanal Data
# You can also give it the address of an already existing contranct
>>> bobsContract = LiteIDContract(contract_id=bobsAddress)
>>> bobsContract.dump_hashes()
# Dump Bob's hashes
Ethereum Contract that powers LiteID.
Contains both the SIM app and the SMS server.
The SMS server is in the Server subdirectory, and is based on Flask and uses Shelve to store LiteIDContract instances.
The SIM app is in the SIM Client subdirectory, and is merely a skelton prototype at this time.