项目作者: SelfKeyFoundation

项目描述 :
Development on self-sovereign identity and verifiable claims
高级语言: JavaScript
项目地址: git://github.com/SelfKeyFoundation/identity-contracts.git
创建时间: 2018-02-07T03:32:31Z
项目社区:https://github.com/SelfKeyFoundation/identity-contracts

开源协议:

下载


did-claims (DEPRECATED)

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

  1. npm install

Testing

Standalone

  1. npm test

or with code coverage

  1. npm run test:cov

From within Truffle

Run the truffle development environment

  1. truffle develop

then from the prompt you can run

  1. compile
  2. migrate
  3. 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.