Please see OriginProtocol/identity-playground for a more recent implementation and UI
git clone https://github.com/nick/identity.git
cd identity
npm install
npm test
KeyHolder.sol
- Implementation of ERC 725ClaimHolder.sol
- Implementation of ERC 735ClaimVerifier.sol
- Demonstrates how to verify a claim
- Uses mocha for tests. Test files and contracts are watched for changes.
- Uses
function getKey(bytes32 _key)
instead offunction getKey(bytes32 _key, uint256 _purpose)
- Claim uses
bytes32 data
instead ofbytes data
to make implementation easier :-)
Thanks to @JosefJ for his original implementation