Skip to content

BlockzillaTech/convert-bech32-address

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

convert-bech32-address

Zero dependancy bech32 address converter, in javascript for browsers.

Derives an address with a custom prefix, from a source BIP32 HD wallet address

Usage:

  • include the 3 javascript source files (OR the minified version: script.min.js) found in the src folder,
  • calling the function: lookup(address,prefix) (found in src\address.js) will generate an address with a prefix derived from the source address

Example:

  • view https://jasbanza.github.io/convert-bech32-address/ or git clone this repo, and open index.html in your browser.
  • Enter any wallet address, e.g. cosmos1aaaaa...zzzz and the prefix of the target address, e.g. akash
  • Click Convert and your target address will be generated: akash1aaaaa...yyyy

About

Zero dependancy bech32 address converter, in JavaScript for browsers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 98.3%
  • HTML 1.7%