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)
![Page 1: Meteor and Bitcoin (Lightning Talk)](https://reader038.fdocuments.in/reader038/viewer/2022100500/54c956304a7959de738b45f0/html5/thumbnails/1.jpg)
Meteor and BitcoinMagical, awesome cryptocurrency for a
magical, awesome framework
![Page 2: Meteor and Bitcoin (Lightning Talk)](https://reader038.fdocuments.in/reader038/viewer/2022100500/54c956304a7959de738b45f0/html5/thumbnails/2.jpg)
Our implementation
● Initially planned an elaborate scheme…○ Multiple offline servers○ Manual transfers between servers
![Page 3: Meteor and Bitcoin (Lightning Talk)](https://reader038.fdocuments.in/reader038/viewer/2022100500/54c956304a7959de738b45f0/html5/thumbnails/3.jpg)
Our implementation
![Page 4: Meteor and Bitcoin (Lightning Talk)](https://reader038.fdocuments.in/reader038/viewer/2022100500/54c956304a7959de738b45f0/html5/thumbnails/4.jpg)
Our implementation
● ...ended up with something much simpler○ One “cold” wallet, to minimize potential losses○ One “hot” wallet, for everything else
![Page 5: Meteor and Bitcoin (Lightning Talk)](https://reader038.fdocuments.in/reader038/viewer/2022100500/54c956304a7959de738b45f0/html5/thumbnails/5.jpg)
Implementation speedbumps
● Testing!github.com/codebounty/bitcoin
● Encryption and keypool errorsgithub.com/codebounty/bitcoin-meteor
![Page 6: Meteor and Bitcoin (Lightning Talk)](https://reader038.fdocuments.in/reader038/viewer/2022100500/54c956304a7959de738b45f0/html5/thumbnails/6.jpg)
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
![Page 7: Meteor and Bitcoin (Lightning Talk)](https://reader038.fdocuments.in/reader038/viewer/2022100500/54c956304a7959de738b45f0/html5/thumbnails/7.jpg)
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.
![Page 8: Meteor and Bitcoin (Lightning Talk)](https://reader038.fdocuments.in/reader038/viewer/2022100500/54c956304a7959de738b45f0/html5/thumbnails/8.jpg)
Resources
Code Bounty: codebounty.co
Bitcoin: en.bitcoin.it/wiki/
Me: ryepdx.com