Author

Topic: How to Extract Bitcoin Addresses ?? (Read 712 times)

sr. member
Activity: 266
Merit: 250
One world One currency, Bitcoin.
April 09, 2016, 04:59:43 AM
#3
You can use https://github.com/trapp/brainwallet to understand how address generation works,  but be aware that it is vulnerable that's why original Brainwallet website was shut down.
For production version use bip32 based https://bip32jp.github.io/english/.
tyz
legendary
Activity: 3346
Merit: 1530
April 06, 2016, 07:25:42 AM
#2
Are you familiar with regular expressions? If so, you can find the solution on this[1] post on Stackoverflow. I used it myself some time ago and it worked fine.

[1] http://stackoverflow.com/questions/21683680/regex-to-match-bitcoin-addresses
hero member
Activity: 1162
Merit: 547
CryptoTalk.Org - Get Paid for every Post!
April 06, 2016, 03:15:34 AM
#1
I want a javascript (.js) that can find the Valid Bitcoin Addresses from a piece of text.
This might help :

https://github.com/achow101/BitcointalkAccountPricer/blob/master/src/com/achow101/bctalkaccountpricer/server/Address.java

It is the GitHub directory of http://www.bctalkaccountpricer.info . This java file does the same task that i want.
The only problem is that i want that it should be a .js script. Can anyone help me in achieving this ?
Jump to: