Skip to content
/ bech32-js Public

Javascript validation for bech32 (BIP173) bitcoin addresses

License

Notifications You must be signed in to change notification settings

geco/bech32-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bech32-js

Javascript validation for Bech32 BIP173 bitcoin addresses.

Example

<script src="bech32-js.min.js"></script>
var result = checkbech32('abcdef1qpzry9x8gf2tvdw0s3jn54khce6mua7lmqqqxw')
// => 'OK'
var result = checkbech32('wrongabcdef1qpzry9x8gf2tvdw0s3jnkhce6muawrong')
// => 'KO'

Credits

License MIT

About

Javascript validation for bech32 (BIP173) bitcoin addresses

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published