Bitcoin Forum

Bitcoin => Project Development => Topic started by: ThePiachu on May 28, 2013, 09:36:17 AM



Title: A quick Bitcoin payment extension I put together for Chrome
Post by: ThePiachu on May 28, 2013, 09:36:17 AM
http://www.reddit.com/r/Bitcoin/comments/1f6tje/a_quick_bitcoin_payment_extension_i_put_together/

The store link is here - https://chrome.google.com/webstore/detail/tps-bitcoin-quick-payment/jjdbklmemcpdklojpniabhfhclngpppe, the source code is here - https://github.com/ThePiachu/TPs-Bitcoin-Quick-Payments .

So, what's this all about? I am learning to program Chrome Extensions, so I am making small useful programs for Bitcoin. This is my 4th one - a quick payment extension. It saves your blockchain.info identifier that you specify (we encourage creating a new wallet for "change" payments to be used with this extension), and whenever you want to make a payment, you just input the addresses and amounts desired, put your password and 2 factor authentication in and we create a transaction for you.

I can already feel the flame I will be getting for making anyone input their password to their blockchain wallet - again, you can review the code, see how we handle your identifier and password - I don't want to steal your money. Make a separate wallet for change, keep the balance minimal, protect your coins.

I have also incorporated functionalities from my previous extensions - the app keeps a track of your balance, as well as can search the current page for any Bitcoin addresses you can send the money to.

So finally, we have a way of sending Bitcoins that is faster and can be more convenient than PayPal. I aim to be expending the idea further with some other ideas I have, but at the moment - I hope you will enjoy this extension :).


Title: Re: A quick Bitcoin payment extension I put together for Chrome
Post by: ct1aic on May 28, 2013, 10:15:59 AM
Greetings.

I already installed the Chrome extension and it's working, seeing the BTC I have in my wallet.

The only think I think it's not working for me is the access to blockchain.info, as I can put the Identifier and Password, but not the Google Authenticator that I use as two-factor authentication.

Good luck with your great work.


Title: Re: A quick Bitcoin payment extension I put together for Chrome
Post by: ThePiachu on May 28, 2013, 10:26:38 AM
Greetings.

I already installed the Chrome extension and it's working, seeing the BTC I have in my wallet.

The only think I think it's not working for me is the access to blockchain.info, as I can put the Identifier and Password, but not the Google Authenticator that I use as two-factor authentication.

Good luck with your great work.


If you leave the 2-factor field blank, it should be working fine. Any error message you are getting?


Title: Re: A quick Bitcoin payment extension I put together for Chrome
Post by: ct1aic on May 28, 2013, 10:34:53 AM
ThePiachu:

I don't get any error message, when I input my Blockchain.info wallet ID and pass (or even without pass) but I don't get the several wallets I have there. I only get info of the wallet I put manually at last field.

Quote
This extension will be using your blockchain.info wallet to let you quickly send Bitcoin payments.
Your identifier will be stored for ease of use.
You can also input your password now to fetch all addresses associated with your identifier from blockchain.
We encourage you use two factor authentication to secure your wallet.

You can also input your addresses manually in the text area lower.

Please input your Blockchain.info wallet identifier (this information will be stored):


Please input your password if you wish to fetch your addresses (the password will not be saved):


Save

Please input addresses you are interested in.
One per line, no punctuation marks please.


Save



Title: Re: A quick Bitcoin payment extension I put together for Chrome
Post by: ThePiachu on May 28, 2013, 11:04:33 AM
Ah, I thought you were having problems sending payments...

I rely on the data sent back through http://blockchain.info/api/blockchain_wallet_api 's "Listing Addresses" option. It might be possible that the extra wallets are not accessible through the API - I don't see any option for wallets with fetching addresses or sending payments.

I guess it would be best to just use a separate vanilla wallet for the extension.


Title: Re: A quick Bitcoin payment extension I put together for Chrome
Post by: ct1aic on May 28, 2013, 11:15:08 AM
Ah, I thought you were having problems sending payments...

I rely on the data sent back through http://blockchain.info/api/blockchain_wallet_api 's "Listing Addresses" option. It might be possible that the extra wallets are not accessible through the API - I don't see any option for wallets with fetching addresses or sending payments.

I guess it would be best to just use a separate vanilla wallet for the extension.

I used the "very complex" copy/past methode to trasfer my wallet's public keys to the last field...  ;D

I will try to send BTC later on to see how it works.



Title: Re: A quick Bitcoin payment extension I put together for Chrome
Post by: cad_cdn on May 28, 2013, 11:22:42 AM
great idea, how secure is the data being shared?


Title: Re: A quick Bitcoin payment extension I put together for Chrome
Post by: ThePiachu on May 28, 2013, 12:03:01 PM
I used the "very complex" copy/past methode to trasfer my wallet's public keys to the last field...  ;D

I will try to send BTC later on to see how it works.

Well, that is useful for keeping your full balance, but again - you might be unable to spend the money from your extra wallets through the extension.


great idea, how secure is the data being shared?

API calls are done over HTTPS connection, password or 2-factor key is never stored. Wallet identifier is stored locally (or can be input on the fly if needed).

So it should be pretty much as safe as using blockchain.info on its own - as long as your browser and computer are not compromised, your money should be safe. I would also encourage you to check the code - everything should be in order and secure, but then again - mistakes can always happen.


Title: Re: A quick Bitcoin payment extension I put together for Chrome
Post by: human on September 17, 2013, 01:59:51 AM
Great! Do you plan any UI improvements? Like One-Click-Tips/Payments?


Title: Re: A quick Bitcoin payment extension I put together for Chrome
Post by: ThePiachu on September 17, 2013, 05:35:37 AM
Great! Do you plan any UI improvements? Like One-Click-Tips/Payments?

Not at the moment, I'm rather busy currently.