Commit Graph

2280 Commits

Author SHA1 Message Date
ghassmo
a591bb526d WIP clean and refactoring according to issue #35 2022-01-08 04:11:03 +04:00
parazyd
9888739171 zkas/proofs: Add initial doc and proper source code for anonymous voting. 2022-01-07 21:19:34 +01:00
parazyd
f0f56e406e zkas/proofs: Add voting contract. 2022-01-07 21:00:30 +01:00
parazyd
4773b85097 contrib: Add Uint32 type to zkas LPEG lexer. 2022-01-07 20:54:37 +01:00
parazyd
ec7a4a9c34 book/zkas/sapling: Update some text and add a few footnotes. 2022-01-07 19:57:38 +01:00
ghassmo
24bc06daf8 cli: print the path when there is an error parsing the config file 2022-01-07 19:08:24 +04:00
parazyd
a722f984a4 book: Link IDEOLOGY.md from git root. 2022-01-07 16:06:31 +01:00
parazyd
fe6c62f38a zkas: Prepend magic AND version. 2022-01-07 15:58:30 +01:00
parazyd
dc79fe325c Change some logs from trace to debug in the codebase. 2022-01-07 15:20:26 +01:00
ghassmo
4e2c7f677f service/btc: print the main address when run cashierd 2022-01-07 17:50:31 +04:00
parazyd
cf02fd2f4e book/zkas/bincode: Add magic bytes and remove STACK_INDEX from .contract 2022-01-07 14:01:30 +01:00
parazyd
9d898b507f zkas/compiler: Don't write STATEMENT_TYPE to circuit statements. 2022-01-07 14:01:30 +01:00
parazyd
c999e20cc4 zkas/compiler: Prepend magic bytes to binary and remove STACK_INDEX from contract. 2022-01-07 14:01:30 +01:00
parazyd
dac6bab2cd zkas: Document opcodes and types. 2022-01-07 14:01:30 +01:00
parazyd
8c93154dc6 book/zkas: Add introductory text. 2022-01-07 14:01:29 +01:00
lunar-mining
6398d919e6 map: updated Cargo.toml 2022-01-07 14:00:57 +01:00
lunar-mining
30ff5f2287 map: simple box that quits with q 2022-01-07 14:00:57 +01:00
lunar-mining
a06e2c0e67 map: add readme 2022-01-07 14:00:57 +01:00
parazyd
ef575206fe config: Update default cashier public key. 2022-01-07 09:52:50 +01:00
parazyd
0aa596749f Update dependency list in the Readme. 2022-01-07 09:50:32 +01:00
parazyd
e2a309c906 Remove the previous tag note from the Readme. v0.2.0 2022-01-07 00:12:29 +01:00
parazyd
de3f42530d darkfid: Fix fetching balances.
Before this, only the final coin was shown for the balance. Now all the
coins are summed and the true balance is shown.
2022-01-07 00:11:57 +01:00
parazyd
abf96fd767 Makefile: Default to building gatewayd as well. 2022-01-07 00:09:38 +01:00
parazyd
b006cb5a96 cli: Fix amount param type (change from u64 to f64). 2022-01-06 23:19:58 +01:00
ghassmo
17644b1049 use clap 3 in example/net.rs 2022-01-07 01:00:16 +04:00
parazyd
2ae2647de7 proofs/burn: Calculate Merkle root for derived coin C. 2022-01-06 19:53:14 +01:00
parazyd
42e8a34ae0 zkas/opcode: Pass leaf position as call argument to CalculateMerkleRoot. 2022-01-06 19:52:41 +01:00
parazyd
389602e253 zkas: Implement Uint32 type. 2022-01-06 19:47:40 +01:00
parazyd
9b15f27cfe net/manual_session: (clippy) Dereference SocketAddr. 2022-01-06 19:41:15 +01:00
parazyd
7b72406057 util/address: clippy lint for from_str(). 2022-01-06 19:40:16 +01:00
parazyd
b98f98fb8b book/development: git etiquette 2022-01-06 19:28:39 +01:00
Dastan-glitch
f6874ff1bf Use same async sleep function throughout source code (#47)
* Use same async sleep function throughout source code

* Rename module async to async_util

* Minor formatting

Closes #46
2022-01-06 18:17:57 +00:00
parazyd
431f95dbb6 zkas/compiler: Place CONSTANT_NAME as last in the declaration. 2022-01-06 19:16:04 +01:00
parazyd
d965a9b9f8 contrib: Add LPEG lexer for the zkas language. 2022-01-06 18:37:42 +01:00
sgmoore
d0a9d768d6 Minor typo (#48)
book/zkas/bincode: Spelling fix at line 14.
2022-01-06 17:02:09 +00:00
sgmoore
883964364d Minor typos (#49)
book/tutorial: Spelling fixes at lines 46, 87, 119, and 198.
2022-01-06 17:01:47 +00:00
narodnik
1150696fca show nick changes 2022-01-06 17:35:13 +01:00
parazyd
5dbf0ac421 zkas/analyzer: Improve incorrect argument error messages. 2022-01-06 17:33:03 +01:00
parazyd
e71c8bebb1 zkas: Add EcMulBase opcode. 2022-01-06 17:24:52 +01:00
parazyd
00776e81e4 book/zkas: Typo correction in bincode.md 2022-01-06 17:04:50 +01:00
parazyd
ba41f1b863 zkas/compiler: Implement initial bincode generation. 2022-01-06 16:53:21 +01:00
parazyd
49338d6e1b book/zkas: Add short summary on the bincode. 2022-01-06 16:53:21 +01:00
parazyd
b05a32d0e1 zkas: Use IndexMap instead of HashMap to keep order. 2022-01-06 16:53:21 +01:00
lunar-mining
97f2e6dbe1 tui: update example 2022-01-06 11:55:51 +01:00
lunar-mining
8a672bf19f tui: pass coordinates to Widget::new() 2022-01-06 11:55:51 +01:00
ghassmo
7029ad57db mdbook: add index to jsonrpc.md 2022-01-06 04:00:21 +04:00
ghassmo
2f53917417 generate json rpc api from darkfid's comments for mdbook 2022-01-06 03:45:34 +04:00
parazyd
e90102e49d net/manual_session: Fix formatting. 2022-01-06 00:08:17 +01:00
parazyd
a78441729c zkas: Compiler skeleton. 2022-01-06 00:07:56 +01:00
parazyd
fd0021106a zkas: Semantic analysis stub. 2022-01-05 19:34:21 +01:00