Skip to content
Development on self-sovereign identity and verifiable claims
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Updated name-registry dependency. Added onlyActionKeyHolder modifier. Jun 13, 2018
contracts
migrations Added scripts for deployment, and updated the contract for being able… Apr 16, 2018
test
.eslintignore
.eslintrc.json
.gitignore Fixed npm audit vulnerabilities. Added tests. Jun 13, 2018
.solcover.js
.solhint.json
CONTRIBUTING.md
README.md README additions Jun 13, 2018
hdWallet.js Added scripts for deployment, and updated the contract for being able… Apr 16, 2018
package-lock.json
package.json Added all missing execution and multi-approval tests. Got coverage to… Jul 2, 2018
truffle.js Updated name-registry dependency. Added onlyActionKeyHolder modifier. Jun 13, 2018
web3Engine.js

README.md

did-claims

Smart contracts that implement self-sovereign identity, and verifiable claims.

  • developCircleCI
  • masterCircleCI

Overview

Selfkey implementation of ERC725 identity standard. It adds functionality specific for acting as a DID (Decentralized Identifier) contract, by providing the means to manage "service endpoints" and also sending or withdrawing ETH/tokens.

Development

The smart contracts are being implemented in Solidity 0.4.19.

Prerequisites

  • NodeJS, version 9.5+ (I use nvm to 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 truffle version.
  • Access to the KYC_Chain Jira

Initialisation

npm install

Testing

Standalone

npm test

or with code coverage

npm run test:cov

From within Truffle

Run the truffle development environment

truffle develop

then from the prompt you can run

compile
migrate
test

as well as other Truffle commands. See truffleframework.com for more.

Linting

We provide the following linting options

  • npm run lint:sol — to lint the Solidity files, and
  • npm run lint:js — to lint the Javascript.

Contributing

Please see the contributing notes.

You can’t perform that action at this time.