semiotic-ai / timeline-aggregation-protocol

A fast, efficient and trust-minimized unidirectional micro-payments system.
Apache License 2.0
14 stars 3 forks source link

Update library to use Ether-rs key/address instead of using k256 library directly #37

Closed ColePBryan closed 1 year ago

ColePBryan commented 1 year ago

The library currently uses K256::ECDSA Signing and Verifying keys directly. This should be updated to using Ether-rs Keys (which use K256), to make it easier to interface to other ether complonents (gateway, and indexer). The Ether-rs library handles converting from Public key to ethereum address so TAP won't have to implement this directly.