keep-starknet-strange / raito

Bitcoin ZK client written in Cairo.
https://raito.wtf
MIT License
40 stars 34 forks source link

[feat] Run light client program for multiple blocks #125

Closed m-kus closed 1 month ago

m-kus commented 2 months ago

Create and test the following pipeline:

  1. Build the program
  2. Fetch next N blocks from RPC and prepare program input
  3. Run program with cairo1-run using Sierra output and prepared arguments
  4. Collect retrieved PIE
  5. Go to 2

The wrapper script has to be able to validate chain from any state A to any state B (B > A).

litmus-zhang commented 1 month ago

@m-kus can i work on this?