https://github.com/vplasencia/semaphore-nodejs
Example of project using Semaphore v3 in Node.js.
https://github.com/vplasencia/semaphore-nodejs
Last synced: 5 months ago
JSON representation
Example of project using Semaphore v3 in Node.js.
- Host: GitHub
- URL: https://github.com/vplasencia/semaphore-nodejs
- Owner: vplasencia
- Created: 2023-10-01T17:48:35.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-07T17:20:25.000Z (almost 2 years ago)
- Last Synced: 2025-03-16T00:18:11.291Z (9 months ago)
- Language: TypeScript
- Homepage:
- Size: 1.09 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```