Library with functions to interact with the Zcash blockchain
Go to file
Rene Vergara 846c8971fe
Update Sapling decoding functions
2023-08-23 15:19:31 -05:00
librustzcash-wrapper Update Sapling decoding functions 2023-08-23 15:19:31 -05:00
src Update Sapling decoding functions 2023-08-23 15:19:31 -05:00
test Implement Sapling tx decoding 2023-08-22 15:05:40 -05:00
.gitignore Add rust code to repo 2023-04-15 19:07:08 -05:00
CHANGELOG.md Update dependency graph 2023-08-21 15:58:12 -05:00
LICENSE Initial commit 2023-04-13 18:35:15 -05:00
Makefile Add testing to Makefile 2023-06-14 10:54:20 -05:00
README.md Add installation instructions 2023-07-19 13:45:01 -05:00
block.json Add tests for JSON parsers 2023-08-21 09:57:45 -05:00
configure Add wrappers for UFVKs 2023-04-27 09:48:11 -05:00
package.yaml Add tests for JSON parsers 2023-08-21 09:57:45 -05:00
stack.yaml Documentation update 2023-08-17 10:02:32 -05:00
tx.json Add tests for JSON parsers 2023-08-21 09:57:45 -05:00
zcash-haskell.cabal Add tests for JSON parsers 2023-08-21 09:57:45 -05:00

README.md

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: make

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.