Meteor and Bitcoin (Lightning Talk)

994 views
778 views

Published on

My experience integrating Bitcoin with a Meteor app. Given in August 2013 at the Meteor meetup in San Francisco.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
994
On SlideShare
0
From Embeds
0
Number of Embeds
13
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Meteor and Bitcoin (Lightning Talk)

  1. 1. Meteor and Bitcoin Magical, awesome cryptocurrency for a magical, awesome framework
  2. 2. Our implementation ● Initially planned an elaborate scheme… ○ Multiple offline servers ○ Manual transfers between servers
  3. 3. Our implementation
  4. 4. Our implementation ● ...ended up with something much simpler ○ One “cold” wallet, to minimize potential losses ○ One “hot” wallet, for everything else
  5. 5. Implementation speedbumps ● Testing! github.com/codebounty/bitcoin ● Encryption and keypool errors github.com/codebounty/bitcoin-meteor
  6. 6. Bitcoin for Meteor ● Sending transactions var client = new Bitcoin.Client(settings); client.sendToAddress(address, amount, callback); More information at github.com/jb55/node-bitcoin and github.com/codebounty/bitcoin-meteor
  7. 7. Bitcoin for Meteor ● Receiving transactions ○ Register a proxy address with Blockchain.info https://blockchain.info/api ○ Set up an IPN endpoint ■ Needs to have a secret key to verify that the request is coming from Blockchain.info ■ Needs to be able to relate payments to orders by Bitcoin address. ■ Should also verify transaction hashes against your local copy of bitcoind.
  8. 8. Resources Code Bounty: codebounty.co Bitcoin: en.bitcoin.it/wiki/ Me: ryepdx.com

×