Library with functions to interact with the Zcash blockchain
Find a file
Rene Vergara 7d3ae36d2b
Rust dependencies update (#103)
This PR updates the Rust dependencies and updates the code for the latest version of `zcash_primitives`.

Reviewed-on: #103
Co-authored-by: Rene Vergara <rene@vergara.network>
Co-committed-by: Rene Vergara <rene@vergara.network>
2024-12-19 15:23:12 +00:00
librustzcash-wrapper Rust dependencies update (#103) 2024-12-19 15:23:12 +00:00
src Support for Zebra 2.1.0 (#102) 2024-12-14 12:51:06 +00:00
test Rust dependencies update (#103) 2024-12-19 15:23:12 +00:00
.gitignore Update .gitignore 2024-02-25 17:50:47 -06:00
block.json Add tests for JSON parsers 2023-08-21 09:57:45 -05:00
cabal.project Upgrade to GHC 9.6.5 2024-07-01 16:05:33 -05:00
cabal.project.freeze Milestone 3 (#101) 2024-11-21 14:19:43 +00:00
CHANGELOG.md Rust dependencies update (#103) 2024-12-19 15:23:12 +00:00
configure Update installation package 2024-02-25 15:22:53 -06:00
LICENSE Update license to MIT 2024-01-18 12:55:23 -06:00
README.md Update install instructions 2024-02-25 16:14:04 -06:00
Setup.hs Increase verbosity of Rust compile 2024-03-03 15:29:50 -06:00
tx.json Add tests for JSON parsers 2023-08-21 09:57:45 -05:00
zcash-haskell.cabal Rust dependencies update (#103) 2024-12-19 15:23:12 +00:00
zebrablock.json Implement Transaction hex deserialization 2024-03-26 09:50:49 -05:00
zebrahexblock.json Implement Transaction hex deserialization 2024-03-26 09:50:49 -05:00
zebratx.json Implement Transaction hex deserialization 2024-03-26 09:50:49 -05:00

zcash-haskell

A Haskell library to interact with the Zcash blockchain.

Installation

  • Install Rust and Cargo
  • Install cbuild:
    cargo install cargo-c
    
  • Install c2hs:
    stack install c2hs
    
  • Set up the paths to locate the static library:
    ./configure
    
  • Compile the Rust and Haskell portions:
    cabal build
    

Use

Add these dependencies to your stack.yaml:

  - git: https://git.vergara.tech/Vergara_Tech/zcash-haskell.git
    commit: fef3d3af35a09db718cddb8fc9166b2d2691a744
  - git: https://git.vergara.tech/Vergara_Tech/haskell-foreign-rust.git
    commit: 787c2e813eb3a5d16c375d4b37dfefbd2adcdf05
  - git: https://github.com/well-typed/borsh.git
    commit: d2fcfa159e0a844b1ec5e8ed3e232d4b380fa831
  - aeson-2.1.2.1@sha256:5b8d62a60963a925c4d123a46e42a8e235a32188522c9f119f64ac228c2612a7,6359
  - vector-0.13.0.0@sha256:fa5cac81a17a5af388716792e8b99c24b3b66770086756d0d8b23f8272a0244c,9112

Add zcash-haskell to your package.yaml as needed.