New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@dorgtech/id-dao-contracts

Package Overview
Dependencies
Maintainers
3
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dorgtech/id-dao-contracts

Identity DAO contracts.

  • 1.1.0-rc.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
21
increased by5%
Maintainers
3
Weekly downloads
 
Created
Source

IdentityRegistry Contracts

GitHub package.json version CircleCI codecov

The IdentityRegistry is responsible for keeping a record of humans the DAO has verified. Functions dealing with adding, updating, and removing users are thus restricted to the DAO's Avatar, which acts as the contract's "owner".

Usage

To test these contracts,

  • Deploy a test blockchain via npm run chain
  • Run tests via npm test

Linting scripts are also included, and are briefly described below:

  • lint - Lint all source files (.sol and .ts)
  • lint:js - Lint all TypeScript files with ESLint
  • lint:sol: - Lint all Solidity .sol contracts with solhint

Code coverage is provided thanks to solidity-coverage:

  • coverage - Run code coverage of all smart contracts

Deployment

All that is needed to set up deployment configuration with Infura is a .env file, with the following:

INFURA_KEY="INSERT_INFURA_KEY_HERE"
MNEMONIC="INSERT_MNEMONIC_HERE"

Only deployment to the Rinkeby test network is currently set up, which can be accomplished through the following command:

  • truffle migrate --network rinkeby

FAQs

Package last updated on 23 Nov 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc