Giter Club home page Giter Club logo

Comments (3)

iquerejeta avatar iquerejeta commented on June 27, 2024

Yes, this sounds helpful for experimenting. First thought for the CLI would be as follows (nothing set in stone):

./stm parameters -k 3 -m 10 -phi 1 <path-for-params>

# This must be run for different players
./stm stm-init -id <ID> -stake <STAKE> <path-for-params> <path-for-initialiser> <path-for-broadcastable-data>

# This must be run for different players
./stm key-reg <path-for-broadcastable-data> [of all parties] <path-for-key-registration>

# This must be run for different players
./stm init-signer <path-for-initialiser> <path-for-key-registration> <path-for-signer>

# This must be run for different players
./stm try-signatures -m <MESSAGE> <path-for-signer> <path-for-parameters> <path-to-store-valid-sigs>

# This needs to be performed a single time
./stm aggregate -m <MESSAGE> <path-for-parameters> <path-to-store-valid-sigs> [for all sigs] <path-for-aggregate-msig>

./stm verify-msig -m <MESSAGE> <path-for-parameters> <path-for-aggregate-msig> 

All these calls can have the option of verbose where all the values will be printed to terminal. Maybe we want to allow for the CLI to take as input the serialised data as well?

from mithril.

abailly-iohk avatar abailly-iohk commented on June 27, 2024

Cool stuff! Once I manage to have my code to compile (see #47 ) I will start working along those lines.

from mithril.

abailly-iohk avatar abailly-iohk commented on June 27, 2024

@jpraynaud started this executable.

from mithril.

Related Issues (20)

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.