Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vplasencia/semaphore-nodejs

Example of project using Semaphore v3 in Node.js.
https://github.com/vplasencia/semaphore-nodejs

Last synced: about 1 month ago
JSON representation

Example of project using Semaphore v3 in Node.js.

Awesome Lists containing this project

README

        

# Semaphore in Node.js

This is an example of project using [Semaphore](https://semaphore.pse.dev/) in Node.js.

## Run Locally

### Clone the Repository

```bash
git clone https://github.com/vplasencia/semaphore-nodejs.git
```

### Install dependencies

```bash
yarn
```

### Download the Semaphore snark artifacts

```bash
yarn download:snark-artifacts
```

### Run the identities file

```bash
yarn identities
```

### Run the groups file

```bash
yarn groups
```

### Run the proofs file

```bash
yarn proofs
```

### Code quality and formatting

Run [ESLint](https://eslint.org/) to analyze the code and catch bugs:

```bash
yarn lint
```

Run [Prettier](https://prettier.io/) to check formatting rules:

```bash
yarn prettier
```

Or to automatically format the code:

```bash
yarn prettier:write
```