Skip to content

cedoor/mpc-hello-server-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mpc-hello (server <> server)

This is a template repository designed to be the hello-world of mpc-framework.

It uses summon for circuit generation and emp-wasm-backend for secure 2PC.

It's a computation between two servers to find the larger of two numbers.

  • ~100 sloc
  • Communication with WebSocket
  • Circuit code included via ordinary project files

Running Locally

npm install
npm run server1
npm run server2

The two input numbers are encoded in a constant for the sake of the example, and the computation's output will be displayed immediately.

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published