The first two commits are the main content of this PR, so changes are roughly two-fold:
refactor of existing infrastructure to prepare support for different signature schemes (other than BLS) for proxy signatures;
actually implementing ECDSA as a second signature scheme, whilst further refining the multiple signature infrastructure in the process.
The rest of the commits are smaller decisions and easier to follow.
Update 1
From eba97b0 below, the PR takes an alternative approach to implementing ECDSA proxies where we strive to flatten the flow by losing the generics and making the client SDK more type safe.
TODOs:
[x] Take care of local inline TODOs.
[x] Better serialization to request/response structs for a proper REST API
Quick summary:
The first two commits are the main content of this PR, so changes are roughly two-fold:
The rest of the commits are smaller decisions and easier to follow.
Update 1
From eba97b0 below, the PR takes an alternative approach to implementing ECDSA proxies where we strive to flatten the flow by losing the generics and making the client SDK more type safe.
TODOs:
fixes #20