mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-10 07:08:05 -05:00
add simple.prf file
This commit is contained in:
8
proofs/simple.prf
Normal file
8
proofs/simple.prf
Normal file
@@ -0,0 +1,8 @@
|
||||
const:
|
||||
G_SPEND: SubgroupPoint
|
||||
contract input_spend(
|
||||
secret: Fr -> BinaryNumber
|
||||
) -> Point:
|
||||
let public: Point = secret * G_SPEND
|
||||
emit public
|
||||
|
||||
Reference in New Issue
Block a user