Commit Graph

22 Commits

Author SHA1 Message Date
lunar-mining
5102102d95 renamed 'asset' to 'token' across project 2021-10-12 11:20:20 +02:00
lunar-mining
4727914b85 renamed asset_id to token_id across project 2021-10-12 11:09:59 +02:00
ghassmo
d2e4b2a704 bugfix: move zero bits append in spend contract 2021-10-07 06:02:37 +03:00
narodnik
298e5ed0f1 bugfix: move zero bits append in mint contract 2021-10-06 13:42:17 +02:00
lunar-mining
f641ab02d6 spend_contract: cleaned up boilerplate and mimic earlier ordering 2021-10-06 11:58:08 +02:00
lunar-mining
3166a44ef4 mint_contract: changed the order of 'preimage.extend' to reflect earlier commit. cleaned more boilerplate 2021-10-06 11:48:29 +02:00
lunar-mining
79ea1294b7 mint_contract: changed add zero bits to a for loop to reduce boilerplate 2021-10-06 11:26:01 +02:00
lunar-mining
02ae6bf9a2 spend_contract: removed dupliate asset_id assignment 2021-10-06 11:04:21 +02:00
parazyd
19727d1528 Code linting. 2021-09-23 17:44:07 +02:00
lunar-mining
ddf3535852 added bytes buffer to asset_id in mint/spend 2021-09-12 14:53:06 +02:00
lunar-mining
2cc8d30f19 changed asset_id type to jubjub::Fr on mint/spend contracts 2021-09-12 14:53:06 +02:00
rachel-rose
23faf56fdd removed own_coins vector. fn apply() now writes directly to sqlite 2021-06-30 12:29:15 +02:00
Nym
48beeeb94d Blind the asset_id and enforce asset matches among inputs and outputs. 2021-06-27 11:29:16 +00:00
Nym
40f15fc991 Fix fake generated comments. 2021-06-26 17:27:14 +00:00
Nym
9942b28e94 Add asset_id to coin. Unenforced for now but gets passed around and
included in the coin hash.
2021-06-26 17:08:28 +00:00
narodnik
c97feb8f0b rename ambigous 'Node' to MerkleNode 2021-05-24 11:41:30 +02:00
narodnik
9cc5b39f2a cargo fmt 2021-05-22 15:47:33 +02:00
narodnik
e5bb81dee6 make merkle depth an adjustable parameter in the code 2021-05-22 11:27:33 +02:00
narodnik
dffcf1e77b add public key to sig spend script 2021-05-04 14:35:34 +02:00
narodnik
059389cf90 working tx builder + verification! 2021-05-01 13:33:18 +02:00
narodnik
b813bd1b0e spend_contract 2021-04-29 13:46:07 +02:00
narodnik
ff480aeb09 add mint contract: cargo run --release --bin mint-classic ... and be patient 2021-04-29 13:25:12 +02:00