You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a template repository designed to be the hello-world of mpc-framework. The repository contains three different examples:
Client-Client: A web application built using Vite that demonstrates peer-to-peer (p2p) computation between two clients. Communication is facilitated via rtc-pair-socket for direct client-to-client interaction.
Client-Server: A web application, also built with Vite, that illustrates how a client and a server can collaboratively run a secure computation. Communication is established using WebSockets.
Server-Server: An example showcasing how two servers can perform a secure MPC computation. This setup uses WebSockets for communication between the servers.
Deno-Deno: An example showcasing how two Deno servers can perform a secure MPC computation. This setup uses WebSockets for communication between the servers.
Getting Started
After creating your repository based on this template, clone it and navigate to the example you want to run:
git clone https://github.com/voltrevo/mpc-hello.git
cd mpc-hello/<example-folder>
npm install
Read the README file of the example for more instructions on how to run the app.
License
This is a template repository. You are free to use it as a starting point for your own work without restriction. You may modify it, distribute it, and apply your own licensing terms to your derived work as you see fit. This software is provided "AS IS" without warranty of any kind, as described by the MIT license.