chainwayxyz / clementine

Citrea's BitVM Based Trust-Minimized Two-Way Peg Program
https://www.blog.citrea.xyz/unveiling-clementine
55 stars 13 forks source link

Add a handler for communication between Citrea and Clementine #314

Open ceyhunsen opened 1 month ago

ceyhunsen commented 1 month ago

Proposal Description

Currently, some functions prepares JSON call for Citrea RPC endpoint and sends it directly. There is a need for new crate that needs to streamline this.

New crate should:

See: https://gist.github.com/okkothejawa/a9379b02a16dada07a2b85cbbd3c1e80

ekrembal commented 1 month ago

I think no need for function selectors, since we will use few