@chainsafe/webzjs-zcash-snap

0.2.4 • Public • Published

WebZjs Zcash Snap

🔐 Overview

WebZjs Zcash Snap is a MetaMask Snap that brings Zcash functionality directly into the MetaMask browser extension. WebZjs is the first JavaScript SDK for Zcash, enabling seamless integration of Zcash privacy features for web users.

📘 Project Description

Snap uses a Rust library WebZjs compiled to WebAssembly (Wasm). It is meant to be used in conjunction with WebZjs web-wallet.

🛠 Prerequisites

WebZjs

  • Node.js
  • Yarn
  • MetaMask Browser Extension (MetaMask Flask for development purposes) Install MM Flask

🔨 Development

For local development, you need to add http://localhost:8080 to the allowedOrigins in snap.manifest.json. The endowment:rpc section should look like this:

"endowment:rpc": {
  "allowedOrigins": ["https://webzjs.chainsafe.dev", "http://localhost:8080"]
}
  1. Install dependencies with yarn install
  2. Build the project with yarn build
  3. Host snap on localhost http://localhost:8080 yarn serve

Readme

Keywords

none

Package Sidebar

Install

npm i @chainsafe/webzjs-zcash-snap

Weekly Downloads

71

Version

0.2.4

License

(MIT-0 OR Apache-2.0)

Unpacked Size

2.93 MB

Total Files

5

Last publish

Collaborators

  • gregthegreek
  • sadiq1971
  • beroburny
  • morrigan88
  • alexey_krasnoperov
  • irubido