فهرست منبع

add simple.prf file

narodnik 5 سال پیش
والد
کامیت
d2417f29d2
1فایلهای تغییر یافته به همراه8 افزوده شده و 0 حذف شده
  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
+