Meteor and Bitcoin (Lightning Talk)
Click here to load reader
-
Upload
ryan-casey -
Category
Technology
-
view
105 -
download
0
description
Transcript of Meteor and Bitcoin (Lightning Talk)
Meteor and BitcoinMagical, 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” wallet, for everything else
Implementation speedbumps
● Testing!github.com/codebounty/bitcoin
● Encryption and keypool errorsgithub.com/codebounty/bitcoin-meteor
Bitcoin for Meteor
● Sending transactions
var client = new Bitcoin.Client(settings);
client.sendToAddress(address, amount, callback);
More information atgithub.com/jb55/node-bitcoinand github.com/codebounty/bitcoin-meteor
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.
Resources
Code Bounty: codebounty.co
Bitcoin: en.bitcoin.it/wiki/
Me: ryepdx.com