Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 574 Bytes

README.md

File metadata and controls

24 lines (19 loc) · 574 Bytes

Overview

This is a Rust wrapper for creating Ironfish accounts and transactions to be converted into WASM. For developers, navigate to index.html for how it works.

To Compile WASM

npm install
npm run build

This will generate a ironfish_wasm/pkg folder that you can import in js files elsewhere in the repository with the following (choose either as appropriate):

  import init, {
  generateKey,
  initialize_sapling,
  WasmNoteEncrypted,
  WasmTransaction,
  WasmNote,
  WasmProof,
  WasmEphemeralKeyPair,
} from "ironfish_wasm";