Forked from Royalfork https://royalforkblog.github.io/2014/08/11/graphical-address-generator/
See it live at https://jointhepartypooper.github.io/GraphicalPeercoinAddress/public/
Pay-to-TagHash (P2TH) explained: https://peerassets.github.io/P2TH/
Test vector: "txnId": "c23375caa1ba3b0eec3a49fff5e008dede0c2761bb31fddd830da32671c17f84", "Address":"PRoUKDUhA1vgBseJCaGMd9AYXdQcyEjxu9"
cd lib
tsc --module commonjs BigInteger.ts Base58.ts
tsc --module commonjs Peercoin.ts
npm run build-js