Bitcoin Forum
April 24, 2024, 03:23:12 PM *
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 29616 times)
bitcoinex
Sr. Member
****
Offline Offline

Activity: 350
Merit: 252


probiwon.com


View Profile WWW
October 22, 2010, 06:54:41 AM
 #21

May be make plugin who parses page and search valid bitcoin addresses, and where will it doing the "pay" buttion? Address search can be done quickly - addres is a certain length and starts from "1" symbol.

Or so it will be?

And it need to enable JSON for bitcoin (GUI client)
I wonder, is this possible?

Then would client in the tray, and the user could pay on sites with one click.

The need for a bitcoin GUI client negate the benefit of a chrome extension. The objective is to lower the barrier of getting into bitcoin, not increase it.

I think that those people who can use bitcoind barriers will not notice, but others more comfortable with a GUI bitcoin

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?
1713972192
Hero Member
*
Offline Offline

Posts: 1713972192

View Profile Personal Message (Offline)

Ignore
1713972192
Reply with quote  #2

1713972192
Report to moderator
If you want to be a moderator, report many posts with accuracy. You will be noticed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713972192
Hero Member
*
Offline Offline

Posts: 1713972192

View Profile Personal Message (Offline)

Ignore
1713972192
Reply with quote  #2

1713972192
Report to moderator
1713972192
Hero Member
*
Offline Offline

Posts: 1713972192

View Profile Personal Message (Offline)

Ignore
1713972192
Reply with quote  #2

1713972192
Report to moderator
1713972192
Hero Member
*
Offline Offline

Posts: 1713972192

View Profile Personal Message (Offline)

Ignore
1713972192
Reply with quote  #2

1713972192
Report to moderator
davout
Legendary
*
Offline Offline

Activity: 1372
Merit: 1007


1davout


View Profile WWW
October 22, 2010, 08:46:07 AM
 #22

I think most users won't really bother with generating coins, an extension that interfaces a i-keep-your-bitcoins-safe-and-available-from-anywhere would be something pretty easy for newcomers to get a hold of, wouldn't it ?

kiba (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1014


View Profile
October 22, 2010, 02:10:26 PM
 #23


I think that those people who can use bitcoind barriers will not notice, but others more comfortable with a GUI bitcoin

The ideas of having to install two software package is a barrier.

FreeMoney
Legendary
*
Offline Offline

Activity: 1246
Merit: 1014


Strength in numbers


View Profile WWW
October 22, 2010, 09:27:37 PM
 #24

In the future I imagine someone designing cool looking bitcoin GUIs and advertising "Now you can keep bitcoins on YOUR OWN computer!" and people will be like "Oh, how does that work..." lol.

Oh, and then people will move their coins off of the wallets and find out they were all fractional reserving it up.

Play Bitcoin Poker at sealswithclubs.eu. We're active and open to everyone.
Bitquux
Member
**
Offline Offline

Activity: 116
Merit: 10



View Profile
October 22, 2010, 09:48:28 PM
Last edit: October 22, 2010, 10:53:59 PM by Bitquux
 #25

Ok, posting a handful of screenshots here. I'm going to run through a couple more tests and then put it up on google and post the link in here. I'd like to take some time and tidy up the code a bit, but if everyone's that desperate to look at it, I'll give you what I've got. Functionality is fairly basic at this point, but here's what it does:

- Makes a Bitcoin Icon in the browser you can click to check your balance.
- You will need to right-click that Icon and go to options to set it up.
- Allows you to hilight the text of a bitcoin address and right-click to choose a "Send Bitcoins" option, which opens a notification and lets you enter an amount to send.
- The same "Send Bitcoins" option shows up when you right-click an image. This works a little different. If someone sets up a payment button using a graphic that says something like "Buy Now for 100 BTC!", they can set it up to work with the extension by loading the graphic like this:

Code:
<img src="100BTC.png?100|17v4AR81oFJLAG8jHDKJKNKjSvY2QAmf1V" />

Placing the amount before the | and the address after. The amount can be left blank, but you have to include the | before the address. The amount will then automatically get filled in as seen in screenshot 1.

You have to have Bitcoin running and in -server mode (which means setting up the RPC user and password options in bitcoin.conf). And don't forget to set the extension options or the other functions won't work. I've only tested this on two XP machines running Chrome 7 and Bitcoin 0.3.14 and one of them I had to specify the rpc login credentials on the command line for some reason.

That's about the gist of it. Pretty basic so far, but it should be expandable to include things like:
- SSL
- Generate and paste a new receive address
- Periodically check balance and alert changes
- mybitcoin.com interface
- Use mtgox.com data to show balance in USD

I'll post back later with the google URL to install it.

https://chrome.google.com/extensions/detail/hhbhfoohbnjkdcndbhjlicijccioklea
kiba (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1014


View Profile
October 22, 2010, 10:01:28 PM
 #26


You have to have Bitcoin running and in -server mode (which means setting up the RPC user and password options in bitcoin.conf). And don't forget to set the extension options or the other functions won't work. I've only tested this on two XP machines running Chrome 7 and Bitcoin 0.3.14 and one of them I had to specify the rpc login credentials on the command line for some reason.


What I have in mind doesn't require the use of a bitcoin daemon. It should be self-contained as a bitcoin client.

Simplicity is the driving goal here. It should be so easy that grandmas can use it.

Sorry that I didn't emphasize it strongly enough. So I will pay once the chrome extension is available for installation or it is available as source code. I will pledge more bitcoins for the development of a self-contained browser extension for bitcoin.

Bitquux
Member
**
Offline Offline

Activity: 116
Merit: 10



View Profile
October 22, 2010, 10:36:25 PM
 #27

What I have in mind doesn't require the use of a bitcoin daemon. It should be self-contained as a bitcoin client.

Simplicity is the driving goal here. It should be so easy that grandmas can use it.

Sorry that I didn't emphasize it strongly enough. So I will pay once the chrome extension is available for installation or it is available as source code. I will pledge more bitcoins for the development of a self-contained browser extension for bitcoin.

I actually sort of gathered that from some of your last few posts in this thread. What I've done is still fairly useful even if it doesn't meet your requirements. A stand-alone client in the form of a browser extension is a tad more complicated. The best way I can think to do it would be to interface with something like mybitcoin.com, which I'll look into. I just don't have the resources to host that end of it. You don't owe me a bounty, at least until I deliver on that.

Would you mind helping me test this extension? I just learned how to build them yesterday, so this one is a big step toward stuff like you're looking for.
kiba (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1014


View Profile
October 22, 2010, 10:50:27 PM
 #28


Would you mind helping me test this extension? I just learned how to build them yesterday, so this one is a big step toward stuff like you're looking for.


I wouldn't mind testing it.

Bitquux
Member
**
Offline Offline

Activity: 116
Merit: 10



View Profile
October 22, 2010, 10:51:45 PM
 #29

I'll update my above post to include this as well.

https://chrome.google.com/extensions/detail/hhbhfoohbnjkdcndbhjlicijccioklea
kiba (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1014


View Profile
October 22, 2010, 11:04:58 PM
 #30

I highlighted a bitcoin address and click on send bitcoin but nothing happens.

The balance of my bitcoin wallet shows though.

Bitquux
Member
**
Offline Offline

Activity: 116
Merit: 10



View Profile
October 22, 2010, 11:08:44 PM
 #31

I highlighted a bitcoin address and click on a bitcoin address but nothing happens.

Does your balance show up when you click the Bitcoin browser button?
Make sure you're right-clicking after hilighting.
You may also need to reload the page the address is on if you had it opened before you installed.
LZ
Legendary
*
Offline Offline

Activity: 1722
Merit: 1072


P2P Cryptocurrency


View Profile
October 23, 2010, 07:09:03 AM
 #32

No, it does not send bitcoins for me too. Chrome 8. Sad

My OpenPGP fingerprint: 5099EB8C0F2E68C63B4ECBB9A9D0993E04143362
bitcoinex
Sr. Member
****
Offline Offline

Activity: 350
Merit: 252


probiwon.com


View Profile WWW
October 23, 2010, 07:20:49 AM
 #33

- The same "Send Bitcoins" option shows up when you right-click an image. This works a little different. If someone sets up a payment button using a graphic that says something like "Buy Now for 100 BTC!", they can set it up to work with the extension by loading the graphic like this:

Code:
<img src="100BTC.png?100|17v4AR81oFJLAG8jHDKJKNKjSvY2QAmf1V" />

This is a dirty hack, although this does not seem as it. It will ruin the caching of images, at least.

I suggest use a new tag:

<bitcoin amount="100" address="17v4AR81oFJLAG8jHDKJKNKjSvY2QAmf1V">
<img src="100BTC.png">
</bitcoin>

or

<bitcoin amount="100" address="17v4AR81oFJLAG8jHDKJKNKjSvY2QAmf1V"/>

for built-in into plugin "pay" buttion

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?
LZ
Legendary
*
Offline Offline

Activity: 1722
Merit: 1072


P2P Cryptocurrency


View Profile
October 23, 2010, 07:28:48 AM
 #34

You suggested a new tag. So W3C should add it to the HTML5 standard immediately! Grin

My OpenPGP fingerprint: 5099EB8C0F2E68C63B4ECBB9A9D0993E04143362
bitcoinex
Sr. Member
****
Offline Offline

Activity: 350
Merit: 252


probiwon.com


View Profile WWW
October 23, 2010, 07:33:58 AM
 #35

Wow! New tag? So W3C should add it to the HTML5 standard immediately! Grin

Browsers ignore tags which are unknown. If they did not do this  to give an error then the new versions of html never began to be used.

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?
bitcoinex
Sr. Member
****
Offline Offline

Activity: 350
Merit: 252


probiwon.com


View Profile WWW
October 23, 2010, 07:38:21 AM
 #36

Bitcoin Extension Options
JSON-RPC Server: http://
Username:
Password:


The plugin can read files in the user's system? I would like to avoid entering any password entering and addresses

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?
LZ
Legendary
*
Offline Offline

Activity: 1722
Merit: 1072


P2P Cryptocurrency


View Profile
October 23, 2010, 07:45:22 AM
Last edit: January 22, 2018, 09:02:36 AM by LZ
 #37

Anyway, I think that using some URI is preferable than slow HTML parsing. Undecided

The plugin can read files in the user's system?
To give it (or to exploit) an opportunity to steal a wallet.dat file? Undecided

My OpenPGP fingerprint: 5099EB8C0F2E68C63B4ECBB9A9D0993E04143362
bitcoinex
Sr. Member
****
Offline Offline

Activity: 350
Merit: 252


probiwon.com


View Profile WWW
October 23, 2010, 08:06:57 AM
 #38

Anyway, I think that using some URI is preferable than slow HTML parsing. Undecided

The plugin can read files in the user's system?
To give it (or to an exploit) an opportunity to steal a wallet.dat file? Undecided

Why? Network connection, name and password is already enough to steal money by bitcoin transaction.

Ideally it would not give the name and password to plugin. Plugin can ask GUI client by JSON for payment dialog. The client could show a window with the amount and address, which would be passed from plugin by JSON.

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?
eurekafag
Full Member
***
Offline Offline

Activity: 185
Merit: 100


View Profile
October 23, 2010, 10:13:43 AM
 #39

For now the client have no ability to show the send window after JSON-RPC request. I guess it shouldn't have such an option at all because JSON-RPC is for silent operations by design. To prevent exploits and malicious operations the code of the extension should be reviewed before installing or updating. The problem is that chrome extensions update silently if no additional permissions were requested since the last update. At least (most of) the extensions are written on javascript so they are open source by definition. Well, they may be obfuscated and packed though.
doublec
Legendary
*
Offline Offline

Activity: 1078
Merit: 1005


View Profile
October 23, 2010, 10:28:00 AM
 #40

This is a dirty hack, although this does not seem as it. It will ruin the caching of images, at least.

I suggest use a new tag:
...
<bitcoin amount="100" address="17v4AR81oFJLAG8jHDKJKNKjSvY2QAmf1V"/>
HTML 5 defines 'data attributes' for this use:

http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#embedding-custom-non-visible-data-with-the-data-*-attributes

So this could be:

<img src='foo.png' data-amount="100" data-address="17v4AR81oFJLAG8jHDKJKNKjSvY2QAmf1V">

This has the advantage of validating with HTML 5 validators.
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!