Bitcoin Forum
May 06, 2024, 09:21:23 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 [4] 5 6 7 8 »  All
  Print  
Author Topic: Chrome Bitcoin Extension Bounty(260 and more BTC were paid.)  (Read 29618 times)
Bitquux
Member
**
Offline Offline

Activity: 116
Merit: 10



View Profile
October 27, 2010, 03:46:53 PM
 #61

It would be much nicer if it was possible to automatically detect BTC addresses and mark them somehow, instead of having to select them.

I've been thinking about this. Since it's not part of a tag, it would require parsing all the text on a page. And since there's nothing really overt to identify a bitcoin address as such, that means checking every word on the page for length, and then sending it to Bitcoin for verification, which can get pretty ugly. Still, it might be worth trying just to see how it performs.

I'm liking the data- attributes idea for images. I'll have to take a closer look at that.
1714987283
Hero Member
*
Offline Offline

Posts: 1714987283

View Profile Personal Message (Offline)

Ignore
1714987283
Reply with quote  #2

1714987283
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, but full nodes are more resource-heavy, and they must do a lengthy initial syncing process. As a result, lightweight clients with somewhat less security are commonly used.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714987283
Hero Member
*
Offline Offline

Posts: 1714987283

View Profile Personal Message (Offline)

Ignore
1714987283
Reply with quote  #2

1714987283
Report to moderator
1714987283
Hero Member
*
Offline Offline

Posts: 1714987283

View Profile Personal Message (Offline)

Ignore
1714987283
Reply with quote  #2

1714987283
Report to moderator
1714987283
Hero Member
*
Offline Offline

Posts: 1714987283

View Profile Personal Message (Offline)

Ignore
1714987283
Reply with quote  #2

1714987283
Report to moderator
bitcoinex
Sr. Member
****
Offline Offline

Activity: 350
Merit: 252


probiwon.com


View Profile WWW
October 28, 2010, 04:40:47 AM
 #62

It would be much nicer if it was possible to automatically detect BTC addresses and mark them somehow, instead of having to select them.

I've been thinking about this. Since it's not part of a tag, it would require parsing all the text on a page. And since there's nothing really overt to identify a bitcoin address as such, that means checking every word on the page for length, and then sending it to Bitcoin for verification, which can get pretty ugly. Still, it might be worth trying just to see how it performs.

I'm liking the data- attributes idea for images. I'll have to take a closer look at that.


Addresses have a convenient format for parsing. They always begin with the number "1" and have a length of at least n and no more than m.

Following the discovery of such strings that looks like addresses you can check it on the client,  this option recently added to it.

New bitcoin lottery: probiwon.com
- Moжeт, ты eщё и в Heвидимyю Pyкy Pынкa вepyeшь? - Зaчeм жe вepoвaть в тo, чтo мoжнo нaблюдaть нeпocpeдcтвeннo?
Bitquux
Member
**
Offline Offline

Activity: 116
Merit: 10



View Profile
October 29, 2010, 12:17:22 AM
 #63

Ok, next version is up. It will attempt to convert Bitcoin addresses to links which bring up the send box when clicked. It has some limitations and can still get confused, but it should work in most cases. You can still do the double-click to hi-light and right-click to send method in places where it fails.

I'm working on getting ahold of some online wallet services to see about integrating them for a no-client-needed option. Though, unless they can also provide address verification, you'd still need the client to convert addresses to links and whatnot.
kiba (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1014


View Profile
October 29, 2010, 12:38:34 AM
 #64

Ok, next version is up. It will attempt to convert Bitcoin addresses to links which bring up the send box when clicked. It has some limitations and can still get confused, but it should work in most cases. You can still do the double-click to hi-light and right-click to send method in places where it fails.

I'm working on getting ahold of some online wallet services to see about integrating them for a no-client-needed option. Though, unless they can also provide address verification, you'd still need the client to convert addresses to links and whatnot.


It doesn't convert anything for me and I still can't send bitcoins.

Bitquux
Member
**
Offline Offline

Activity: 116
Merit: 10



View Profile
October 29, 2010, 12:44:41 AM
 #65

It doesn't convert anything for me and I still can't send bitcoins.

Is upgrading Chrome a possibility for you?
alidor
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
October 29, 2010, 02:38:32 AM
 #66

Just tried it but no highlights showing for me either...

Ubuntu Meerkat + Chrome 8.0.552.18 dev
Bitquux
Member
**
Offline Offline

Activity: 116
Merit: 10



View Profile
October 29, 2010, 02:45:45 AM
 #67

Just tried it but no highlights showing for me either...

Ubuntu Meerkat + Chrome 8.0.552.18 dev

Thanks. I'll check it out in linux tomorrow.
kiba (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1014


View Profile
October 29, 2010, 03:33:12 AM
 #68

It doesn't convert anything for me and I still can't send bitcoins.

Is upgrading Chrome a possibility for you?


I could.

However, you gottach realize that the usefulness of the extension also depend in part how well it work on the stable version.

Bitquux
Member
**
Offline Offline

Activity: 116
Merit: 10



View Profile
October 29, 2010, 04:06:06 AM
 #69

Is upgrading Chrome a possibility for you?


I could.

However, you gottach realize that the usefulness of the extension also depend in part how well it work on the stable version.

Agreed. Chrome 7 is latest stable version.
kiba (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1014


View Profile
October 29, 2010, 04:45:11 AM
Last edit: October 29, 2010, 01:08:11 PM by kiba
 #70

Is upgrading Chrome a possibility for you?


I could.

However, you gottach realize that the usefulness of the extension also depend in part how well it work on the stable version.

Agreed. Chrome 7 is latest stable version.


And my system just happen to update to 7.0.517.43.

Bitquux
Member
**
Offline Offline

Activity: 116
Merit: 10



View Profile
October 29, 2010, 01:06:38 PM
 #71

Any my system just happen to update to 7.0.517.43.

Excellent. I'll let you know if I come up with anything on the linux front today.
Bitquux
Member
**
Offline Offline

Activity: 116
Merit: 10



View Profile
October 29, 2010, 02:23:23 PM
 #72

Ok, I tried this out on a debian box. At first I was getting my balance, so I was connecting to Bitcoin properly, but my attempts at sending coins all resulted in the "Error validating address string." The linux box was running Bitcoin 0.3.13 so I upgraded to 0.3.14, which is apparently the version that added the address validation. Now it works fine. However, the first time I clicked one of the links it created a box came up about loading an external link handler in which I chose 'Do nothing' and checked the box to make it permanent for that link type. This was because I formatted the links href as bitcoin:?addr= which can be changed or eliminated since it's not really used. So I suppose my next question is what version of Bitcoin are you using?
Bitquux
Member
**
Offline Offline

Activity: 116
Merit: 10



View Profile
October 29, 2010, 02:53:52 PM
 #73

Don't know if this will help or not in an extension for finding a bitcoin address if it's just in plaintext, but I use this a lot.

Regular expressions are so lightweight and simple.

Code:
\b1[1-9a-km-zA-HJ-NP-Z]{32,34}\b

Check for beggining and end of a word, first character must be a one, and the additional 32-34 characters must be base58 letters. Will find a bitcoin address every time buried in text. If you use that in an extension, you could make any address on a page be able to do your function if you can tie bitcoin in.

Thanks Smiley. I am using a regex, but mine isn't quite as specific. Care if I swipe it?
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5194
Merit: 12972


View Profile
October 29, 2010, 03:06:01 PM
 #74

Quote
\b1[1-9a-km-zA-HJ-NP-Z]{32,34}\b

Valid addresses can be 25-34 characters in length, though the smaller ones are very rare.

Testnet addresses can be 35 characters long, and they don't always start with a 1.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
kiba (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1014


View Profile
November 03, 2010, 08:28:34 PM
 #75

Is this project dead or alive?

Bitquux
Member
**
Offline Offline

Activity: 116
Merit: 10



View Profile
November 03, 2010, 11:21:37 PM
 #76

Is this project dead or alive?

It's alive. I just haven't worked on it in a few days. Did you get my question about what version of Bitcoin you're running?
kiba (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1014


View Profile
November 03, 2010, 11:52:09 PM
 #77

Is this project dead or alive?

It's alive. I just haven't worked on it in a few days. Did you get my question about what version of Bitcoin you're running?

Mine is 0.13.3 beta.

Bitquux
Member
**
Offline Offline

Activity: 116
Merit: 10



View Profile
November 03, 2010, 11:58:10 PM
 #78

Is this project dead or alive?

It's alive. I just haven't worked on it in a few days. Did you get my question about what version of Bitcoin you're running?

Mine is 0.13.3 beta.

Ok, I guess the address validation part of the JSON-RPC was added in 0.3.14, so that's probably why it's not working for you.
kiba (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1014


View Profile
November 04, 2010, 04:10:54 AM
 #79

Is this project dead or alive?

It's alive. I just haven't worked on it in a few days. Did you get my question about what version of Bitcoin you're running?

Mine is 0.13.3 beta.

Ok, I guess the address validation part of the JSON-RPC was added in 0.3.14, so that's probably why it's not working for you.

Congratulation. My part for the bounty paid.

Bitquux
Member
**
Offline Offline

Activity: 116
Merit: 10



View Profile
November 04, 2010, 03:23:52 PM
 #80

Thanks. When I get some time I'll work on interfacing directly with Mt.Gox and/or MyBitcoin.
Pages: « 1 2 3 [4] 5 6 7 8 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!