
Product
Introducing GitHub Actions Scanning Support
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.
@p0tion/backend
Advanced tools
An easy-to-configure, deploy and maintain cloud infrastructure solution for automating the coordination, scalability, and storage of your Groth16 zkSNARKs Phase 2 Trusted Setup ceremonies.
| This library provides everything needed to configure, deploy and manage the infrastructure required to run one or more Phase 2 Trusted Setup ceremonies. |
|---|
Launching the ready-to-run customized scripts everyone could handle whatever is needed to accomplish the users authentication, ceremony setup, coordination and finalization. You could count on the combination of services provided by the far most popular cloud solutions in the market, as AWS for S3 Storage and GCP Firebase for Authentication, Firestore DB and, Cloud Functions services.
Prerequisites
packages/backend/serviceAccountKey.json file..firebaserc production project alias with your Firebase project name.Navigate to backend package by running
cd packages/backend
Copy the .default.env file as .env:
cp .env.default .env
And add your environment variables.
Login using your Google Account to Firebase CLI running
yarn firebase:login
Run the following to logout
yarn firebase:logout
Initialize a new Firebase project interactively
yarn firebase:init
awscli (docs) and add the keys for this user.terraform (docs)cd lambdazip -r ../lambda.zip .terraform initterraform planterraform applyterraform output secret_key
The IAM user created with the steps above can be used for all p0tion's features.
Deploy the current configuration to the prod project running
yarn firebase:deploy
To deploy only the latest Cloud Functions run
yarn firebase:deploy-functions
To deploy only the latest Firestore configuration and rules run
yarn firebase:deploy-firestore
Firebase provides a Local Emulator Suite as a set of advanced dev-tools w/ a rich user-interface to build and test apps locally using Firebase services as Cloud Functions, Firestore and Authentication.
Prerequisites
To start the Emulator run
yarn emulator:serve
To emulate only Cloud Functions service run
yarn emulator:serve-functions
To run the Emulator shell in a new command line window run
yarn emulator:shell
To run tests (e2e/unit) locally in the Emulator run
yarn test:emulator
FAQs
MPC Phase 2 backend for Firebase services management
We found that @p0tion/backend demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 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
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.

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.