Bitcoin Forum

Bitcoin => Project Development => Topic started by: ThePiachu on June 01, 2013, 11:10:01 AM



Title: BrainPay - a new way to manage your Bitcoins with your brainwallet
Post by: ThePiachu on June 01, 2013, 11:10:01 AM
http://www.reddit.com/r/Bitcoin/comments/1fgjxb/brainpay_a_new_way_to_send_transactions_from_your/

So, after creating a few Chrome Extensions (https://chrome.google.com/webstore/search-extensions/tpidev) I finally got to the meat of what I set out to do.
Combining my previous extensions focusing on balance checking, creating transactions and brainwallets, I created BrainPay - https://chrome.google.com/webstore/detail/tps-brainpay/aihogeigcnkcklfaljfimkefkmbmlomi .
This cool extension lets you access your money stored in a brainwallet from a small popup and send payments to anyone without exposing your private keys outside of the extension.
That's right - no more keeping your wallet.dat secure, no more storing long gibberish URLs, and no more letting other people keep your money "safe" for you in eWallets.
Finally, your coins are both secure and easy to access for you.

I got the idea for this extension from a fellow Bitcoiner that I met at a local Bitcoin Meetup. He is working on an interesting idea that uses the same technology I presented here for a bigger purpose,
but I won't be going into that over here.

So, lets talk about the features the extension has:

* It automatically tracks the balance of your brainwallet address if you wish
* It can fetch all Bitcoin addresses present in your current tab with just one button - you no longer have to manually copy the addresses over
* You can send money to any number of addresses at once
* When you are ready to pay, you just input your brainwallet passphrase and decide whether it is compressed or not (yes, we support compressed addresses for those people that are concerned about the blockchain ;) )
* The app fetches your unspent transactinos from blockchain.info, creates an appropriate transaction and presents it to you for either later use (both as JSON and raw), or to be sent imidietly
* Your passphrase or private key never leave the extension

I hope you will enjoy this Chrome Extension. Source code is available here - https://github.com/ThePiachu/TPs-BrainPay - so you can review it and make sure we don't send your sensitive information anywhere.
If you are also worried about our future updates being used to steal your money, again just use the source code and after review import it into your browser that way.
Nobody can automatically update your apps if they are imported like that through a developer mode.
And as always - create a new and secure brainwallet password for this new extension. Keep your cold storage safe while your spiffy new hot brainwallet handles the change ;).


Title: Re: BrainPay - a new way to manage your Bitcoins with your brainwallet
Post by: FreddyFender on June 05, 2013, 08:59:10 PM
I'm diving into code now...
Clappity-clap, clap, clap!
Three cheers!


Title: Re: BrainPay - a new way to manage your Bitcoins with your brainwallet
Post by: ThePiachu on June 06, 2013, 02:01:58 AM
I'm diving into code now...
Clappity-clap, clap, clap!
Three cheers!

Glad you like it. ;)


Title: Re: BrainPay - a new way to manage your Bitcoins with your brainwallet
Post by: b!z on June 06, 2013, 02:11:43 AM
Chrome probably isn't the most secure platform for a software like this. It's a very interesting concept though, I like it :)


Title: Re: BrainPay - a new way to manage your Bitcoins with your brainwallet
Post by: ThePiachu on June 06, 2013, 02:25:06 AM
Chrome probably isn't the most secure platform for a software like this. It's a very interesting concept though, I like it :)

Well, it's a popular platform, which means that more people will be able to use it.


Title: Re: BrainPay - a new way to manage your Bitcoins with your brainwallet
Post by: b!z on June 06, 2013, 02:13:23 PM
Chrome probably isn't the most secure platform for a software like this. It's a very interesting concept though, I like it :)

Well, it's a popular platform, which means that more people will be able to use it.

You do have a good point, but many people like to feel safer when managing their Bitcoins. Your extension is pretty cool though. :)


Title: Re: BrainPay - a new way to manage your Bitcoins with your brainwallet
Post by: virtualmaster on June 06, 2013, 02:21:10 PM
Why not Mozilla extension ?


Title: Re: BrainPay - a new way to manage your Bitcoins with your brainwallet
Post by: ThePiachu on June 06, 2013, 04:17:54 PM
Why not Mozilla extension ?

Because Chrome is 2 times as popular? http://www.w3schools.com/browsers/browsers_stats.asp

I also use Chrome as my main browser, so I made the extension for myself ;).

I will be looking into moving it to Firefox once I get my head around what I need to do to develop for it, the process appears a lot more complicated.

You do have a good point, but many people like to feel safer when managing their Bitcoins. Your extension is pretty cool though. :)

Well, eWallets are not created for top safety (that's what traditional clients are for), but for ease of use. I use them for pocket change and access outside of my house.


Title: Re: BrainPay - a new way to manage your Bitcoins with your brainwallet
Post by: virtualmaster on June 06, 2013, 08:32:40 PM
Why not Mozilla extension ?

Because Chrome is 2 times as popular? http://www.w3schools.com/browsers/browsers_stats.asp

I also use Chrome as my main browser, so I made the extension for myself ;).

I will be looking into moving it to Firefox once I get my head around what I need to do to develop for it, the process appears a lot more complicated.

Probably it is a good feature but I will wait until it is available for Mozilla.
Thanks.


Title: Re: BrainPay - a new way to manage your Bitcoins with your brainwallet
Post by: usscfounder on June 10, 2013, 05:09:13 PM
Quote
Your passphrase or private key never leave the extension

How do you secure the extension?

Doesn't matter anyway.

The extension should not save anything. The extension should generate the wallet key on demand.

The purpose of a brain wallet is so you do not have to save anything at all.

Maybe that is what you are trying to say.  If so, then very good initiative!


Title: Re: BrainPay - a new way to manage your Bitcoins with your brainwallet
Post by: ThePiachu on June 10, 2013, 05:55:03 PM
Quote
Your passphrase or private key never leave the extension

How do you secure the extension?

Doesn't matter anyway.

The extension should not save anything. The extension should generate the wallet key on demand.

The purpose of a brain wallet is so you do not have to save anything at all.

Maybe that is what you are trying to say.  If so, then very good initiative!

It only saves the public address if you wish it to in the options. Rest is just in RAM and never gets stored permanently. It is only kept in the working memory to create transactions (with the option to edit changes).


Title: Re: BrainPay - a new way to manage your Bitcoins with your brainwallet
Post by: rebuilder on June 10, 2013, 11:07:22 PM
So this handles change in a sane way? AFAIK the current recommendation is to empty a brainwallet completely when you decide to spend it, else the change will be sent to an address you do not control...


Title: Re: BrainPay - a new way to manage your Bitcoins with your brainwallet
Post by: ThePiachu on June 10, 2013, 11:16:39 PM
So this handles change in a sane way? AFAIK the current recommendation is to empty a brainwallet completely when you decide to spend it, else the change will be sent to an address you do not control...

I think that's how BitcoinQT handles things. Other custom wallets like blockchain send the change back to the same address. BrainPay does the latter as well. While it might offer less anonymity, there is always the convenience factor.


Title: Re: BrainPay - a new way to manage your Bitcoins with your brainwallet
Post by: virtualmaster on June 11, 2013, 06:51:57 PM
Why not Mozilla extension ?

Because Chrome is 2 times as popular? http://www.w3schools.com/browsers/browsers_stats.asp

I also use Chrome as my main browser, so I made the extension for myself ;).

I will be looking into moving it to Firefox once I get my head around what I need to do to develop for it, the process appears a lot more complicated.

You do have a good point, but many people like to feel safer when managing their Bitcoins. Your extension is pretty cool though. :)

Well, eWallets are not created for top safety (that's what traditional clients are for), but for ease of use. I use them for pocket change and access outside of my house.
I tried with Google Chrome Portable and it works but I don't thrust so much this browser even if it is more popular than Mozilla.
With Mozilla (if implemented as add-on) I would thrust much more to make small payments.
It would be a great extension to the brain wallets.