Skip to content

Latest commit

 

History

History
16 lines (15 loc) · 667 Bytes

File metadata and controls

16 lines (15 loc) · 667 Bytes

texes

Reference implementation for encoding and decoding Zcash Tex addys in js.

#UPDATE Check out this online version! https://690e9524c66a3ecac5d54eff--jade-brioche-873777.netlify.app/

To run, 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