Zero dependancy bech32 address converter, in javascript for browsers.
Derives an address with a custom prefix, from a source BIP32 HD wallet address
- include the 3 javascript source files (OR the minified version:
script.min.js) found in thesrcfolder, - calling the function:
lookup(address,prefix)(found insrc\address.js) will generate an address with a prefix derived from the source address
- view https://jasbanza.github.io/convert-bech32-address/ or git clone this repo, and open
index.htmlin your browser. - Enter any wallet address, e.g.
cosmos1aaaaa...zzzzand the prefix of the target address, e.g.akash - Click
Convertand your target address will be generated:akash1aaaaa...yyyy