Bitcoin Forum

Other => Beginners & Help => Topic started by: pancake on May 24, 2012, 07:00:50 AM



Title: Javascript code to check if an address is valid
Post by: pancake on May 24, 2012, 07:00:50 AM
Hi forummers!

Recently I felt the need to check if a bitcoin address is valid or not. By googling I can find some implementations in php, java and c++.. but i want it for the browser, to notify the user that he pasted an incorrect address.

Do you know if anyone already did it?

Thanks


Title: Re: Javascript code to check if an address is valid
Post by: Stephen Gornick on May 24, 2012, 08:13:18 AM
BitAddress.com might have that:
 - http://www.BitAddress.org

or Blockchain.info's javascript might as well:
 - http://www.BlockChain.info/wallet