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