keep-network / tbtc

Trustlessly tokenized Bitcoin on Ethereum ;)
https://tbtc.network
MIT License
213 stars 41 forks source link

Detail the signing process #24

Closed mhluongo closed 5 years ago

mhluongo commented 5 years ago

We can link out to the threshold ECDSA yellowpaper, but it's worth describing signing at a high-level.

Bare minimum, we should explain

mhluongo commented 5 years ago

A flow diagram would be :fire:

I think we'll be covered here by #39

mhluongo commented 5 years ago

@gakonst I'll take the first draft here and get it to PR- after than can you take it to the finish line?

gakonst commented 5 years ago

Since #39 is now almost done I've started documenting this.

Future threshold/aggregation friendly:

mhluongo commented 5 years ago

BTC multisig not good enough, can't handle more than 15-of-15 in practice

We also get the benefit of much simpler validation from the EVM and forwards compatibility- eg we can increase the number of signers as tech improves in future upgrades without it making a difference on the BTC side, growing tx sizes, etc

gakonst commented 5 years ago

Update, I'm almost done with this, just re-reading the fast tecdsa with fast trustless setup paper to make sure the summary is accurate.

gakonst commented 5 years ago

Closing since #238 is merged.