#UPDATE There's now a web version — paste an address, get the other encoding back: https://jade-brioche-873777.netlify.app/
It converts both directions (t1/tm <-> tex/textest), shows the shared 20-byte
validating key hash, and runs entirely in the browser — no address is sent anywhere.
The page has no build step and no dependencies; the encoding lives in public/tex.js.
To run the original script, copy down the file (obviously) and in the file directory, run
-
npm install bech32
and
-
npm install bs58check
(or both at the same time whatevs). Open the file and paste your transparent address to be converted and/or tex address to be reverted. The script does both as an example. Run the command
-
node texes.js 2>/dev/null
The 2>/dev/null suppresses an error, run without to see. From https://zips.z.cash/zip-0320#reference-implementation