ZenGo-X / multi-party-ecdsa

Rust implementation of {t,n}-threshold ECDSA (elliptic curve digital signature algorithm).
GNU General Public License v3.0
966 stars 309 forks source link

Improve code quality in gg18 examples #162

Open HRezaei opened 2 years ago

HRezaei commented 2 years ago

This is the first try to improve code quality of the gg18 examples a little bit further.

Inspired from this article, I'm going to break down the main function in sign and keygen clients into smaller ones. For now, I created a client struct and moved most of the stuff relating to communication between parties into it.

Hope you accept these changes so we can apply similar changes into tss_cli and make it more readable and easier for maintenance.