News:

Are you new to Groestlcoin and have questions you are afraid to ask?
Check out the New Users board and post there.
Welcome to all newcomers.

Main Menu

How to compile standalone groestlcoinjs-lib and minimized file

Started by jackielove4u, November 08, 2018, 04:24:51 PM

Previous topic - Next topic

jackielove4u

git clone https://github.com/Groestlcoin/groestlcoinjs-lib
cd groestlcoinjs-lib
npm install
npm pack
cp groestlcoinjs-lib-4.0.5.tgz /root/
cd\
npm i groestlcoinjs-lib-4.0.5.tgz
npm -g install browserify uglify-es uglifyjs
browserify -r groestlcoinjs-lib -s groestlcoin > groestlcoinjs.js
uglifyjs groestlcoinjs.js > groestlcoinjs.min.js