ceramicnetwork / rust-ceramic

Implementation of the Ceramic protocol in Rust
Other
34 stars 10 forks source link

feat: verify time event proofs from eth rpc client and calculate time #522

Closed dav1do closed 1 hour ago

dav1do commented 1 week ago

This is currently not used outside of tests. It includes the logic to use a time event to find the corresponding block on an the appropriate chain, validate the proof, and return a timestamp. We will need to add CLI flags to pass in the RPC URLs and there is more work to actually persist the transaction/proof information locally so we don't hit the RPC endpoints so frequently, and more importantly, to actually store the discovered timestamp so we can use it for conclusions.

linear[bot] commented 1 week ago

AES-274 use ethereum rpc information to validate a time event