Skip to content

nick/identity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ERC 725+735: Identity

Please see OriginProtocol/identity-playground for a more recent implementation and UI

Installation

git clone https://github.com/nick/identity.git
cd identity
npm install
npm test

Tests

Contracts

  • KeyHolder.sol - Implementation of ERC 725
  • ClaimHolder.sol - Implementation of ERC 735
  • ClaimVerifier.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 of function getKey(bytes32 _key, uint256 _purpose)
  • Claim uses bytes32 data instead of bytes data to make implementation easier :-)

Credits

Thanks to @JosefJ for his original implementation

About

ERC 725+735: Identity

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published