Commit graph

151 commits

Author SHA1 Message Date
5ce149c54f
Functions to create and manage Orchard commitment trees (#99)
This PR contains the functions to create, update and validate Orchard commitment trees.

Reviewed-on: https://git.vergara.tech///Vergara_Tech/zcash-haskell/pulls/99
Co-authored-by: Rene Vergara <rene@vergara.network>
Co-committed-by: Rene Vergara <rene@vergara.network>
2024-11-05 18:28:45 +00:00
6d4b6840d3
Optimize transaction creation (#98)
Reviewed-on: https://git.vergara.tech///Vergara_Tech/zcash-haskell/pulls/98
Co-authored-by: Rene Vergara <rene@vergara.network>
Co-committed-by: Rene Vergara <rene@vergara.network>
2024-10-30 16:47:11 +00:00
96cfe3a52a
feat: use SaplingFrontier for witnesses 2024-10-18 09:43:02 -05:00
3203c7e8ff
feat: implement Frontier for Sapling witnesses 2024-10-18 08:47:52 -05:00
5a08c80285
feat: add toJSON for BlockResponse 2024-10-11 08:17:02 -05:00
38e4131daa
feat!: update Orchard witness calculation
Now uses Frontier
2024-09-30 13:18:47 -05:00
48afd81595
feat!: migrate Orchard commitment trees to Frontier 2024-09-30 12:11:47 -05:00
5de1844e9d
feat: improve witness updates 2024-09-25 14:43:11 -05:00
f24ea80cde
feat: add block hash to BlockResponse 2024-09-23 10:17:35 -05:00
343495f6e7
feat: add privacy policy error to TxError 2024-09-18 07:27:53 -05:00
5a8cd44fbc
feat: implement wagyu-zcash-parameters crate 2024-09-16 13:36:49 -05:00
85a4741dcb
fix: decode unified addresses with no transparent receivers
ensures that a unified address that does not contain a transparent
receiver is properly represented in the type
2024-08-30 11:02:52 -05:00
c8f411fcdd
add JSON instances for Transaction 2024-08-20 15:50:07 -05:00
774e135aab
Fix data type 2024-08-14 12:32:48 -05:00
b7c91e10fe
Add functions to compare and validate addresses 2024-08-14 12:32:30 -05:00
9ca702a68e
Add ValidAddress 2024-08-13 07:56:25 -05:00
7c79ee6163
Add JSON instances for ZcashNet 2024-07-25 11:09:17 -05:00
812ff0aa70
Upgrade to GHC 9.6.5 2024-07-01 16:05:33 -05:00
874db2907e
Performance enhancement for transaction creation 2024-05-16 10:42:44 -05:00
148abd95d0
Implement fee calculator 2024-05-08 13:49:39 -05:00
2d14ef6b22
Update to use commitment trees for anchors 2024-05-02 12:35:36 -05:00
bea4d2f071
Fix typo in constructor 2024-05-01 16:14:41 -05:00
bc074d0386
Add transparent key derivation 2024-05-01 14:24:18 -05:00
787cf40629
Add functionality for transaction creation 2024-05-01 09:12:58 -05:00
26a79443a7
Add Read instance to Rseed 2024-04-30 19:14:30 -05:00
ad9e2f074d
Implement transaction creation 2024-04-30 16:54:15 -05:00
8901d97c64
Upgrade of Zcash Rust crates 2024-04-29 10:27:45 -05:00
af9806d72d
Add witness update functionality 2024-04-25 19:56:29 -05:00
173445612d
Merge branch 'dev040' into rvv040 2024-04-24 11:59:58 -05:00
ebfac8438f rvv040 - decodeExchangeAddress modified to return an ExcahngeAddress object 2024-04-18 08:30:14 -04:00
e6d16267ee rvv040 - Functions to create and decode an ExchangeAddress added
New DataType ExchangeAddress added.
2024-04-17 20:36:04 -04:00
e98ca65409
Merge branch 'dev040' into rav001 2024-04-17 10:23:30 -05:00
f94a1f83cb
Merge branch 'dev040' into rvv040 2024-04-17 09:25:46 -05:00
a56a4b1e15
Add Orchard commitment tree functionality 2024-04-17 09:21:47 -05:00
06aff8c787 rvv040 - Add encodeSaplingAddress function
Added new tests for encodeSaplingAddress and decodeSaplingAddress
2024-04-16 18:51:14 -04:00
382284a8ca rvv040 - decodeSaplingAddress Function added
SaplingAddress  data type added
2024-04-16 14:39:56 -04:00
5402fcc072
Update Sapling commitment tree reader 2024-04-15 19:58:26 -05:00
1b98120376
Add nullifier field to DecodedNote 2024-04-14 17:35:49 -05:00
15b2f98f1d rvv040 - Fix transparent address decoding -
Function was returning the "digest" instead the "transparentReceiver"
2024-04-14 08:37:19 -04:00
95f20adb56
Merge branch 'dev040' into rvv040 2024-04-14 07:01:51 -05:00
e781ed6bd0
Add test to for transparent decoding 2024-04-14 06:57:36 -05:00
deacf373e1 rvv040 - Add new function to decode a Transparent Address in HRF
The function  retunrs a TransparentAddress object.
2024-04-13 18:27:59 -04:00
6a2849aae0
Add Sapling nullifier calculation to decoding 2024-04-12 13:15:41 -05:00
0f19e376dc
Add Sapling commitment tree functionality 2024-04-11 16:01:29 -05:00
ce6a13e333
Merge branch 'dev040' into rav001 2024-04-10 11:39:27 -05:00
b6af8630b8
Merge branch 'dev040' into rvv040 2024-04-10 11:34:40 -05:00
30ca143dc9
Update changelog 2024-04-10 11:29:59 -05:00
cea8a70f44 rvva040 - Convert Sapling receiver to Human readable format
Function getSaplingFromUA -> Now returns "Maybe T.Text" instead of "T.Text"
2024-04-10 10:27:09 -04:00
3f918f734a rvv040 - Sapling address encoding to human readable format
Change Bech32m to Bech32  encoding for Sapling address
2024-04-10 09:55:41 -04:00
27b291c49a
Add function to append nodes to commitment tree 2024-04-10 07:06:04 -05:00