@ledgerhq/zcash-decrypt
v0.1.0
Published
WebAssembly module for decrypting Zcash shielded transactions.
Downloads
14,435
Maintainers
Keywords
Readme
ZCash Decrypt
WebAssembly module for decrypting Zcash shielded transactions.
Getting Started
Requirements
# install rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# install wasm-pack
cargo install wasm-packBuild and Test for Node.js
# development build
pnpm run build:dev
# production build (optimized for size)
pnpm run buildThis will generate files in pkg/.
Building on a Mac?
You might want to try the following if you are having troubles building on Mac.
Update Clang via Homebrew:
brew install llvmUse a newer version from Brew:
export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
export CC=/opt/homebrew/opt/llvm/bin/clang
export AR=/opt/homebrew/opt/llvm/bin/llvm-arTest
# test
pnpm run test