
Security News
Vite+ Joins the Push to Consolidate JavaScript Tooling
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
@maci-protocol/coordinator
Advanced tools
Please refer to Offchain relayer service documentation for more information.
pnpm install
pnpm run build
Install Redis database (if the scheduler module is going to be used) using the official guide
Download the zkeys
pnpm run download-zkeys:test
# for production zkeys
# pnpm run download-zkeys:ceremony
cd apps/coordinator
pnpm run generate-keypair
.env.example
for reference)cp .env.example .env
pnpm run start
# or
pnpm run start:prod
Remember to run it from the monorepo root directory.
# Build docker
docker compose -f apps/coordinator/docker-compose.yml build
# Run container detached
docker compose -f apps/coordinator/docker-compose.yml up -d
# Enter the container
docker compose -f apps/coordinator/docker-compose.yml exec coordinator-service /bin/sh
# Stop container
docker compose -f apps/coordinator/docker-compose.yml down
It is possible to deploy subgraph using coordinator service.
First, you need to setup subgraph and create a project. Subgraph dashboard.
Then, set env variables:
# Subgraph name
SUBGRAPH_NAME="maci-subgraph"
# Subgraph provider url
SUBGRAPH_PROVIDER_URL=https://api.studio.thegraph.com/deploy/
# Subgraph deploy key
SUBGRAPH_DEPLOY_KEY=*******
# Subgraph project folder
SUBGRAPH_FOLDER=../subgraph
After deployment, subgraph url will be available in studio dashboard and you can use this type of url to get latest deployed version in your application:
https://api.studio.thegraph.com/.../{SUBGRAPH_NAME}/version/latest
FAQs
Coordinator service for MACI
The npm package @maci-protocol/coordinator receives a total of 162 weekly downloads. As such, @maci-protocol/coordinator popularity was classified as not popular.
We found that @maci-protocol/coordinator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
Security News
Ruby Central’s incident report on the RubyGems.org access dispute sparks backlash from former maintainers and renewed debate over project governance.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.