diff --git a/toolbox/zokrates_js.html b/toolbox/zokrates_js.html index 6c2e2ff..57f3221 100644 --- a/toolbox/zokrates_js.html +++ b/toolbox/zokrates_js.html @@ -145,10 +145,11 @@

ZoKrates

Note: As this library uses a model where the wasm module itself is natively an ES module, you will need a bundler of some form. Currently the only known bundler known to be fully compatible with zokrates-js is Webpack. The choice of this default was done to reflect the trends of the JS ecosystem.

+

If using the library with React, it may be helpful to reference this post on using WASM with React.

import { initialize } from 'zokrates-js';
 
Node
-
const { initialize } = require('zokrates-js/node');
+
const { initialize } = require('zokrates-js');
 

Example

initialize().then((zokratesProvider) => {