Author Topic: How to compile standalone groestlcoinjs-lib file  (Read 12 times)

Offline jackielove4u

  • Administrator
  • Sr. Member
  • *****
  • Posts: 360
  • Groestlcoin
    • View Profile
How to compile standalone groestlcoinjs-lib file
« on: November 08, 2018, 04:24:51 pm »
git clone https://github.com/Groestlcoin/groestlcoinjs-lib
cd groestlcoinjs-lib
git checkout v3.3.2
npm pack
npm i groestlcoinjs-lib-3.3.2.tgz
npm -g install browserify
nano index.js
var groestlcoin_js = require('groestlcoinjs-lib')
module.exports = groestlcoin_js
browserify -r . --standalone groestlcoinjs > groestlcoinjs-3.3.2.js