Commit Graph

1066 Commits

Author SHA1 Message Date
parazyd
0fb6cefa75 halo2: Add ecc gadget and constants from orchard codebase 2021-08-14 14:09:34 +02:00
parazyd
a9283c7d34 halo2: Add necessary dependencies for the rest of stuff in orchard 2021-08-14 14:08:13 +02:00
parazyd
94e60f441c halo2: WIP Mint circuit 2021-08-14 11:30:48 +02:00
parazyd
777be2ada9 halo2/poseidon: Calculate time for proving 2021-08-13 09:07:12 +02:00
parazyd
b60aa913c8 halo2: Have poseidon example create actual proofs instead of MockProver 2021-08-13 09:00:33 +02:00
ghassmo
62e31480ae fix an error occur when open cashierd.toml file 2021-08-13 05:35:07 +03:00
ghassmo
e0cb31d983 fix the warnings 2021-08-13 05:08:34 +03:00
ghassmo
eaaa8aa985 cashier: update CashierError enum 2021-08-13 05:07:34 +03:00
ghassmo
e35698330b cashier: add withdraw function to cashierclient & cashierservice send DBTC address when receive Withdraw command 2021-08-13 04:55:16 +03:00
ghassmo
b8434dd003 darkfid: handle withdraw request 2021-08-13 04:44:18 +03:00
ghassmo
5c8f65d881 cashier: fix bugs in cashierdb 2021-08-13 04:42:06 +03:00
ghassmo
e939643d8d drk: pass the amount as a number of type f64 2021-08-13 04:39:16 +03:00
ghassmo
d3d56b3d85 cashierd: add a missing dependency 2021-08-13 04:35:52 +03:00
parazyd
8110621009 halo2: Add poseidon example
This shows how to use the poseidon gadget, and how to enforce a sum value.
2021-08-12 17:44:20 +02:00
parazyd
caffa1af67 halo2: Add Cargo.lock 2021-08-12 17:44:20 +02:00
parazyd
e9732c2b68 halo2: Add poseidon gadget from orchard 2021-08-12 17:44:20 +02:00
parazyd
062f73ed78 halo2: Add utilities gadget from orchard 2021-08-12 17:44:20 +02:00
parazyd
afc0759480 halo2: Add poseidon hash primitives 2021-08-12 17:44:20 +02:00
parazyd
5b7bd7cbcd halo2: Move existing examples to bin directory. 2021-08-12 17:44:20 +02:00
Janus
bd6d33cb4f Add GatewayClient to cashier for posting tx to blockchain 2021-08-11 23:07:00 -04:00
Janus
c562d78fb9 Update todo.md 2021-08-10 09:30:00 -04:00
Janus
f2b68bfaac Add scheduler and requests for watching btc address 2021-08-10 09:07:11 -04:00
parazyd
1cd593ef6d todo: Add tasks for halo2 2021-08-10 09:30:49 +02:00
ghassmo
e5d1b59b44 clean up and refactor the borker in darkfid 2021-08-10 02:35:56 +03:00
ghassmo
e52ff2dfce add Base58EncodeError and Base58DecodeError to error.rs 2021-08-10 02:34:47 +03:00
ghassmo
cf0501c330 update todo.md 2021-08-10 01:41:14 +03:00
lunar-mining
8734978f1e added cashier->darkfid withdraw channel. ran cargo fmt 2021-08-09 15:21:48 +02:00
lunar-mining
b40933435a updated todo.md 2021-08-09 11:45:48 +02:00
lunar-mining
21f59662dd implemented withdraw on the client side 2021-08-09 11:30:29 +02:00
lunar-mining
dbd5a7bd57 cleaned up cli print statements 2021-08-09 10:57:01 +02:00
lunar-mining
9cc72263ea added todo.md. deleted very old TODO.md 2021-08-09 09:44:53 +02:00
ghassmo
87e862084c update README.md 2021-08-09 03:59:25 +03:00
ghassmo
f9b880f609 add cashier_url to darkfid config file 2021-08-09 03:54:34 +03:00
ghassmo
e54fa18bdb drk: print a proper message when receive the response 2021-08-09 03:45:04 +03:00
ghassmo
deb3dd21bf handle deposit request from darkfid 2021-08-09 03:41:24 +03:00
lunar-mining
fdc098c17f moved mutex up to CashierClient reqprotocol object 2021-08-08 20:00:36 +02:00
ghassmo
5b867308e2 remove mutex from zmq socket 2021-08-08 17:46:45 +03:00
narodnik
e5d0ca1d16 plonk "simple" example 2021-08-08 14:39:03 +02:00
lunar-mining
2d9caa2884 added deposit() to drk_cli 2021-08-08 13:56:00 +02:00
narodnik
2cc4480c38 round 2 2021-08-08 13:19:35 +02:00
narodnik
04dc04ece5 plonk-simple round 1 of proving phase 2021-08-08 12:09:19 +02:00
lunar-mining
8a6f14571a added mutex lock to zmq socket. finished client side deposit().
ran cargo fmt
2021-08-08 12:19:18 +02:00
narodnik
a241497ddc simple plonk manual worked example 2021-08-08 11:52:30 +02:00
narodnik
354c4ffd99 get root of unity for 2-adic subgroup within vesta base field Fq, which has an order of 32 2021-08-08 09:12:30 +02:00
narodnik
3d2f35c26a renamed: plonk.sage -> plonk_naive.sage 2021-08-08 08:28:25 +02:00
ghassmo
94c63b15be add walletdb path to darkfid config file 2021-08-08 07:09:38 +03:00
ghassmo
b22d8ba0f6 add option to change the path of config file for darkfid and drk cli & remove unused code
in src/cli
2021-08-08 06:47:32 +03:00
narodnik
3f17311bbe add clarifying comment 2021-08-07 11:19:12 +02:00
narodnik
61837f09ab reduced plonk permutation argument 2021-08-07 11:16:56 +02:00
parazyd
bb8d0bcb85 cli/cli_config: Use proper OS-specific TMPDIR for writing logs 2021-08-07 10:10:30 +02:00