Browserifies the stuff in main.js into bundle.js which can be used within browsers
-
Install node and npm
-
Clone this repo and navigate to the directory
-
Run: npm install
-
Install browserify globally with: npm install -g browserify
-
Run: browserify main.js -s freeverse -o bundle.js
-
Copy the newly created bundle.js and reference it in the html of your webapp
-
Call: freeverse.decrypt(encryptedWeb3) in client-side javascript, where encryptedWeb3 is the encrypted web3 address passed by the Freeverse webmarket as a URL parameter