Explorar el Código

add simple.prf file

narodnik hace 5 años
padre
commit
d2417f29d2
Se han modificado 1 ficheros con 8 adiciones y 0 borrados
  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
+