Przeglądaj źródła

add simple.prf file

narodnik 5 lat temu
rodzic
commit
d2417f29d2
1 zmienionych plików z 8 dodań i 0 usunięć
  1. 8 0
      proofs/simple.prf

+ 8 - 0
proofs/simple.prf

@@ -0,0 +1,8 @@
+const:
+    G_SPEND: SubgroupPoint
+contract input_spend(
+    secret: Fr -> BinaryNumber
+) -> Point:
+    let public: Point = secret * G_SPEND
+    emit public
+