Public claim registry for Selfkey DIDs
ClaimRegistry contract provides the following functionality.
Addresses are able to set any (32 byte) key-value associated with an arbitrary address which is regarded as the "claim subject".
Only the original issuer of a given claim is able to remove it.
Given a "key", anyone can get a specific claim made by an issuer about a subject via the
getClaimmethod, for verification purposes.
All smart contracts are being implemented in Solidity
- NodeJS, version 9.5+ (I use
nvmto manage Node versions —
brew install nvm.)
- truffle, which is a comprehensive framework for Ethereum development.
npm install -g truffle— this should install Truffle v4+. Check that with
or with code coverage
npm run test:cov
From within Truffle
truffle development environment
then from the prompt you can run
compile migrate test
as well as other Truffle commands. See truffleframework.com for more.
We provide the following linting options
npm run lint:sol— to lint the Solidity files, and
Please see the contributing notes.