Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Meteor and Bitcoin
Magical, awesome cryptocurrency for a
magical, awesome framework
Our implementation
● Initially planned an elaborate scheme…
○ Multiple offline servers
○ Manual transfers between servers
Our implementation
Our implementation
● ...ended up with something much simpler
○ One “cold” wallet, to minimize potential losses
○ One “hot”...
Implementation speedbumps
● Testing!
github.com/codebounty/bitcoin
● Encryption and keypool errors
github.com/codebounty/b...
Bitcoin for Meteor
● Sending transactions
var client = new Bitcoin.Client(settings);
client.sendToAddress(address, amount,...
Bitcoin for Meteor
● Receiving transactions
○ Register a proxy address with Blockchain.info
https://blockchain.info/api
○ ...
Resources
Code Bounty: codebounty.co
Bitcoin: en.bitcoin.it/wiki/
Me: ryepdx.com
Upcoming SlideShare
Loading in …5
×

Meteor and Bitcoin (Lightning Talk)

1,292 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
  • Be the first to comment

  • Be the first to like this

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

×