
Product
Introducing Webhook Events for Pull Request Scans
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
@maci-protocol/coordinator
Advanced tools
Please refer to Offchain relayer service documentation for more information.
.env
file (see .env.example
).pnpm run generate-keypair
.pnpm run download-zkeys:{type}
(only test type is available for now).Authorization
header and coordinator private key for proof generation. Also it can be accessed through API method GET v1/proof/publicKey
.pnpm run start
to run the service.Authorization
header, where the value is encrypted with RSA public key you generated before. Header value contains message signature and message digest created by COORDINATOR_ADDRESSES
. The format is publicEncrypt({signature}:{digest})
.
Make sure you set COORDINATOR_ADDRESSES
env variable and sign any message with the addresses from your application (see AccountSignatureGuard).POST v1/proof/generate
API method or with Websockets (see dto spec, controller and wsgateway).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.
Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.