Git Product home page Git Product logo

ferrule-mpc's Introduction

Ferrule MPC

WIP - Work in Progress

Not recommended for production use. This project is still in development and may not be stable or fully functional.

Introduction

Ferrule MPC is a golang library/tool to run a Farcaster Wallet App or Connected App as an MPC clustered signer. The cluster is leader less and uses a threshold signature scheme to sign transactions with a threshold of t out of n signers. It uses the binance tss library for the threshold signature scheme and the memberlist library for the cluster membership which uses the SWIM protocol.

Goals

  • Make it eaiser to deploy decentralized Farcaster apps
  • Be the foundational signer technology for Ferrule (the Farcaster Hub AVS)
  • Leaderless consensus

Getting Started

Currently you can run this by using docker compose. For a local testnet all you need is to run the following command:

docker-compose up

This will start a 3 node cluster with a threshold of 2 out of 3 signers. You can see all environment vars in the docker-compose.yml file.

Particulars

Currently the cluster uses a basic consensus system that assumes all signers are honest. This is not secure in a production environment. We are working on a more secure consensus system that will be implemented in the future.

ferrule-mpc's People

Contributors

austbot avatar

Stargazers

 avatar Liang avatar geoffhorwitz.eth  avatar zoz avatar Shun Kakinoki avatar  avatar linyao1900 avatar Rahul Gupta avatar BogdanA avatar

Watchers

Rob Benson avatar John Johnson avatar Tony Park avatar EulerLagrange.eth avatar zoz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.