Content
@
0 reply
0 recast
0 reaction
GIGAMΞSH
@gigamesh
Is this possible? 1. ZK prove set of casts that contain tips 2. Tip casts reduced to simple data structure and submitted onchain with proof from step 1 3. Smart contract verifies proof before taking additional actions based on the tip data (ex: updating balances)
6 replies
9 recasts
107 reactions
avi
@avichalp
sounds like for the circuit part you want to do some kind of regex match on cast text and verify the signature? would recommend looking in zkemail. it does the same thing for email headers and DKIM signatures
2 replies
0 recast
1 reaction
avi
@avichalp
https://github.com/zkemail
1 reply
0 recast
1 reaction
EulerLagrange.eth - bank/acc
@eulerlagrange.eth
You also have to prove the signature was made by a valid signer. Which is the hard part. I’d start off by indexing keys into a ZK friendly structure
1 reply
0 recast
1 reaction
avi
@avichalp
oh yes! how will you do that within the circuit?
1 reply
0 recast
0 reaction
avi
@avichalp
maybe merkle proof with a list of valid signers? and with a zk friendly hash function
0 reply
0 recast
0 reaction