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

@semaphore-extensions/contracts

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@semaphore-extensions/contracts

Solidity contracts to enhance Semaphore with extra features and customization.

  • 1.0.0-beta.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

Semaphore Extension Contracts

Solidity contracts to enhance Semaphore with extra features and customization.

NPM license NPM version Downloads

👥 Contributing   |   🤝 Code of conduct   |   🔎 Issues   |   🗣️ Chat & Support

🛠 Install

npm or yarn

Install the @semaphore-extension/contracts package with npm:

npm i @semaphore-extension/contracts

or yarn:

yarn add @semaphore-extension/contracts

Usage

Compile contracts

yarn compile

Test contracts

yarn test

You can also generate a test coverage report:

yarn test:coverage

Or a test gas report:

yarn test:report-gas
  1. Copy the .env.example file as .env.
cp .env.example .env
  1. Add your environment variables.

Note
You should at least set a valid Ethereum URL (e.g. Infura) and a private key with some ethers.

Deploy contracts

To deploy the SemaphoreVoting.sol:

yarn deploy:semaphore-voting

To deploy the SemaphoreWhistleblowing.sol:

yarn deploy:semaphore-whistleblowing

FAQs

Package last updated on 29 Aug 2024

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