proto-kit / framework

Apache License 2.0
28 stars 10 forks source link

[WIP] feat: zk programmable interface with mocking support #36

Closed maht0rz closed 1 year ago

maht0rz commented 1 year ago

This PR fixes #19 by introducing ZkProgrammable, a unified interface for writing ZkPrograms as classes and toggling between js/mock/simulation behavior and real proving.

The attached ZkProgrammable.test.ts showcases the implemented behaviour in full, the following highlights from the implementation are worth mentioning:

In order to merge this PR, we need to do the following: