sigma0-xyz / zkbitcoin

zkBitcoin: zero-knowledge proofs on Bitcoin!
MIT License
161 stars 31 forks source link

zkapp explorer #8

Open mimoo opened 6 months ago

mimoo commented 6 months ago

it'd be nice to have an explorer, or at least a status page that shows you all the current zkapps deployed onchain and their vk hash + txid

and if they're stateful zkapps, then what was the chain of update that occurred so far + their current state

people could even upload the circom circuit that corresponds to a hashed vk, and any extra information if the current state represents a larger state for example (which we could verify like etherscan does).

note that we currently have the test get_zkapps() which scans for all zkapps this way:

$ BITCOIN_JSON_RPC_ENDPOINT="http://your_node_address:port" cargo test --package zkbitcoin --lib -- json_rpc_stuff::tests::get_zkapps --exact --nocapture
mimoo commented 6 months ago

I just added two commands: list-zkapps and get-zkapp which are useful to explore via the CLI, but it'd be nice to have a webpage :)

SouravInsights commented 6 months ago

I can probably help.. Just to confirm, we are using React right?

mimoo commented 6 months ago

yeah React is fine!