Commit Graph

152 Commits

Author SHA1 Message Date
Oskar Thoren d82148d140
ci: add ci 2022-03-16 13:21:31 +08:00
Oskar Thoren 15c331db36
Add identity poseidon test 2022-03-15 18:04:11 +08:00
Oskar Thoren c718101ff1
import util for fr/bigint 2022-03-15 17:51:13 +08:00
Oskar Thoren b2fe1bd99b
more deps 2022-03-15 17:48:42 +08:00
Oskar Thoren b2a301a967
Import identity.rs from semaphore-rs 2022-03-15 17:30:44 +08:00
Oskar Thoren 751fd22951
Add deps 2022-03-15 17:29:40 +08:00
Oskar Thoren f090f199ac
Add poseidon-rs 2022-03-15 17:27:24 +08:00
Oskar Thoren b23dabab4f
Update RLN README 2022-03-11 18:09:45 +08:00
Oskar Thoren 4737dd34c1
Adapt rln fields etc
Proof works!
2022-03-11 18:08:41 +08:00
Oskar Thoren 224589a1ed
Add rln r1cs wasm files 2022-03-11 17:55:55 +08:00
Oskar Thoren 2af04cc729
Init rln from poseidon-tornado 2022-03-11 17:55:46 +08:00
Oskar Thoren a21e0c4ac3
Add comment 2022-03-11 16:02:27 +08:00
Oskar Thoren 6ecf5a17f3
Add proof to README 2022-03-11 15:59:47 +08:00
Oskar Thoren 9972af5661
Update README 2022-03-11 15:59:10 +08:00
Oskar Thoren e020b53acc
Revert "remove tracing"
This reverts commit 74f6588f5a.
2022-03-11 15:44:03 +08:00
Oskar Thoren f7fc0d137b
cleanup 2022-03-11 15:40:53 +08:00
Oskar Thoren 6f7055c967
remove tornado-core 2022-03-11 15:39:09 +08:00
Oskar Thoren cd05701f67
poseidon-tornado works 2022-03-11 15:37:16 +08:00
Oskar Thoren f356f2e84f
Revert "remove existing poseidon-tornado"
This reverts commit 24bf16653c.
2022-03-11 15:30:53 +08:00
Oskar Thoren 733f835922
typo fix.... 2022-03-11 15:30:08 +08:00
Oskar Thoren c1ffb13d09
more similar 2022-03-11 15:27:26 +08:00
Oskar Thoren 74f6588f5a
remove tracing 2022-03-11 15:20:55 +08:00
Oskar Thoren 24bf16653c
remove existing poseidon-tornado 2022-03-11 15:20:08 +08:00
Oskar Thoren 66f241d16c
Try tornado-core 2022-03-11 14:40:08 +08:00
Oskar Thoren 7de867d23e
nullifier 0 for consistency 2022-03-11 14:19:12 +08:00
Oskar Thoren 1129611b0e
use bigint radix 10 rep
Still fails but looks... better?
2022-03-10 13:06:07 +08:00
Oskar Thoren f6b428fb24
Try to parse bigints in witness
0x bigint mismatch
2022-03-02 14:20:33 +08:00
Oskar Thoren 7c856fd1b1
Parse and print JSON WitnessInput 2022-03-02 13:44:03 +08:00
Oskar Thoren e197f285ea
Adding JSON witness example from poseidon-tornado 2022-03-02 13:06:58 +08:00
Oskar Thoren 9b1fa85e46
Minimal constraint trace fail 2022-02-25 16:42:43 +08:00
Oskar Thoren 491b085807
Use withdraw circuits 2022-02-23 17:18:38 +08:00
Oskar Thoren d8e9f55683
Use local libs, add tracing 2022-02-23 17:17:38 +08:00
Oskar Thoren d4020bc25b
Add withdraw wasm/r1cs files 2022-02-21 12:59:59 +08:00
Oskar Thoren 3139738a88
poseidon-tornado init from multiplier 2022-02-21 12:14:45 +08:00
Oskar Thoren 721f3b8fa9
FFI: new -> new_circuit 2022-01-21 15:58:37 +08:00
Oskar Thoren 9507cf9fb8
FFI: Verify 2022-01-21 15:57:28 +08:00
Oskar Thoren a35392912f
FFI: Prove 2022-01-21 15:54:37 +08:00
Oskar Thoren f52ba69439
FFI: New 2022-01-21 15:54:25 +08:00
Oskar Thoren 7421c2b93b
FFI: Add buffer struct 2022-01-21 15:54:12 +08:00
Oskar Thoren a216612bed
Get rid of warnings; fmt 2022-01-20 12:52:58 +08:00
Oskar Thoren ac4056b3de
Verify fn and deserialize proof 2022-01-20 12:51:12 +08:00
Oskar Thoren 78f3ce4fdd
Serialize proof 2022-01-19 13:09:38 +08:00
Oskar Thoren b382046584
Multiplier proof test 2022-01-19 12:19:25 +08:00
Oskar Thoren c96ab25bc6
WIP: Sketch out public Rust API for Multiplier 2022-01-19 11:48:09 +08:00
Oskar Thoren b85950f827
Update deps and edition
rust-analyzer issue
2022-01-19 11:46:26 +08:00
Oskar Thoren cc4cf11583
Minimal FFI example for C and Nim 2022-01-18 11:19:17 +08:00
Oskar Thoren fb81e32977
Basic multiplier example
Taken from Circom 2 tests
2022-01-17 12:39:15 +08:00
Oskar Thoren 9e1dc8f4c6
Add Circom 2 example circuits 2022-01-17 12:34:02 +08:00
Oskar Thoren a340ea50fb
Add ark-circom dep with circom-2 flag 2022-01-17 12:08:14 +08:00
Oskar Thoren 4cedf635a0
Add gitignore 2022-01-17 12:08:09 +08:00