Author

Topic: this-wallet - Open Source code for a Coinbase wallet (Read 986 times)

brand new
Activity: 0
Merit: 0
it ' s interesting too
https://bitcointalkorg/index.php?topic=284987.9
But not everyone can...
legendary
Activity: 1890
Merit: 1000
Landscaping Bitcoin for India!
+1

Nice project...

Can it accept payments from web wallets too ?

Yep. that is why it requests for a withdrawal address, so it does not have to rely on offchain addresses.
legendary
Activity: 2338
Merit: 1204
The revolution will be digital
+1

Nice project...

Can it accept payments from web wallets too ?
legendary
Activity: 1890
Merit: 1000
Landscaping Bitcoin for India!
This project will continue as 'thisware'.
I will be adding more functionality, such as an API and merchant functions along with more security validation.
Will also add this-exchange and this-crowd-funder to the list over the next few months.

Contributors are welcome.
legendary
Activity: 1890
Merit: 1000
Landscaping Bitcoin for India!
Coinbase has an awesome API, and it is quite easy to integrate onto any website. There are some features such as creating a widget with a user entered price, obtaining withdrawal address, validation of the address, etc which require certain steps which are are not 'pick-up' and go.

Here is some Ajax/ PHP code for the same.

It allows the user to easily modify security details.
Comprises of
  coinbase-php library - for the button response code function
  phpcoinaddress library - for some random number functions. I did want to use this to validate addresses as well, but not very accurate, hence the additional layer of blockchain.info
  bootstrap - for modals and nice curves Smiley
  jquery of course
  jquery ui

It is quite easy to get started.

The payment comes into the application and data is received back into the callback file which writes the mysql database. Security validation needs to be added to the callback file. Once the payment is received, a script checks the database and then can redirect the user to any part of your application which requires the payment.

It is running across few live implements. Demo is available at coinsecure.in/this-wallet.

Get the code here: https://github.com/bensonsamuel/this-wallet
Jump to: