Bitcoin Forum
December 13, 2024, 03:39:56 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 4 5 »  All
  Print  
Author Topic: Printing bitcoins, an implementation  (Read 17811 times)
db (OP)
Sr. Member
****
Offline Offline

Activity: 279
Merit: 261



View Profile
February 22, 2011, 12:32:02 AM
Last edit: February 22, 2011, 01:26:25 AM by db
 #1

There has been much talk about printing bitcoins. Here is a program to do it.

http://bitcoin.modernjob.info/print.html

It takes a wallet.dat file and generates PDF and EPS bitcoin cheques looking like this:




Each bitcoin address in the wallet with available coins gets a note containing the amount and the private key that controls it, both human readable and in QR Code.

(The notes above are real. The first person to take them gets them.)

Edit: PDF / EPS link.
N12
Donator
Legendary
*
Offline Offline

Activity: 1610
Merit: 1011



View Profile
February 22, 2011, 12:44:47 AM
 #2

So how should I use this without the according public key? I like this idea though. You could use that as a physical backup if combined with the public key.
db (OP)
Sr. Member
****
Offline Offline

Activity: 279
Merit: 261



View Profile
February 22, 2011, 12:46:14 AM
 #3

So how should I use this without the according public key? I like this idea though. You could use that as a physical backup if combined with the public key.

The public key is derived from the private key.
Binford 6100
Hero Member
*****
Offline Offline

Activity: 504
Merit: 504


PGP OTC WOT: EB7FCE3D


View Profile
February 22, 2011, 12:57:22 AM
 #4

(The notes above are real. The first person to take them gets them.)

user Hal organized a similar quest on weekend
his was a bit more complicated (he provided us with a base58 encoded pvt key and for the first round with an invalid key : )))
at least 2 people have a valid implementation for spending transactions based on private key
if they find out, they might claim your bitcoins instantly by reusing what they wrote for the Hal challenge.


You can't build a reputation on what you are going to do.
FatherMcGruder
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250



View Profile WWW
February 22, 2011, 01:08:23 AM
Last edit: February 22, 2011, 04:32:05 AM by FatherMcGruder
 #5

How does one convert those paper bitcoins back to electronic ones?

EDIT: Just found this thread. Seems complicated.

Use my Trade Hill referral code: TH-R11519

Check out bitcoinity.org and Ripple.

Shameless display of my bitcoin address:
1Hio4bqPUZnhr2SWi4WgsnVU1ph3EkusvH
JollyGreen
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
February 22, 2011, 04:46:40 AM
 #6

I have tried several QR decoders that are free on the internet and none seem to be able to read the images or cropped images.  Has anyone been able to decode these QR images?
Nefario
Hero Member
*****
Offline Offline

Activity: 602
Merit: 513


GLBSE Support support@glbse.com


View Profile WWW
February 22, 2011, 04:55:07 AM
 #7

I have tried several QR decoders that are free on the internet and none seem to be able to read the images or cropped images.  Has anyone been able to decode these QR images?

+1, QR decoder libraries

PGP key id at pgp.mit.edu 0xA68F4B7C

To get help and support for GLBSE please email support@glbse.com
N12
Donator
Legendary
*
Offline Offline

Activity: 1610
Merit: 1011



View Profile
February 22, 2011, 04:57:46 AM
 #8

I have tried several QR decoders that are free on the internet and none seem to be able to read the images or cropped images.  Has anyone been able to decode these QR images?

+1, QR decoder libraries
Works for me with Barcode Scanner on Android. Still, I don’t know how to get the public key out of the private one.
JollyGreen
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
February 22, 2011, 05:01:32 AM
 #9

I have tried several QR decoders that are free on the internet and none seem to be able to read the images or cropped images.  Has anyone been able to decode these QR images?

+1, QR decoder libraries
Works for me with Barcode Scanner on Android. Still, I don’t know how to get the public key out of the private one.

Well, I'm not sure you would have to if you just insert it back into a wallet.dat file and then use bitcoin to open the wallet.dat
JollyGreen
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
February 22, 2011, 05:58:05 AM
 #10

following instructions from the other forum post,

here is the block for the "1.0" BTC bill.

http://blockexplorer.com/address/1BNiV3yU9VjdAgHDtdN3rNYT9MbhuNLw2Z
JollyGreen
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
February 22, 2011, 07:10:10 AM
 #11

So, I guess we do need to compute a Public Key from the private.  If you look in "key.h" in the BitCoin source there is a function "GetPubKey()".  It is calling a function "i2o_ECPublicKey".  I've spent way too much time on this for one BTC Smiley  Hopefully someone else can figure this out and create a python interface.  I would contribute more BTC but I only have "0.11" haha

Binford 6100
Hero Member
*****
Offline Offline

Activity: 504
Merit: 504


PGP OTC WOT: EB7FCE3D


View Profile
February 22, 2011, 09:49:55 AM
 #12

How does one convert those paper bitcoins back to electronic ones?

EDIT: Just found this thread. Seems complicated.

yes, it's been solved on weekend in the forum you found
Prize for importing private key [WON]

and when the folks who solved it find this forum, they will just run the apps they wrote with the keys
from the banknotes.

what  you can do is PM them with link to this forum and ask for a small tip, share of the bounty, imho

it's not that complicated. just 3 or 4 steps but requires some coding experience.

You can't build a reputation on what you are going to do.
Nefario
Hero Member
*****
Offline Offline

Activity: 602
Merit: 513


GLBSE Support support@glbse.com


View Profile WWW
February 22, 2011, 10:37:13 AM
 #13

So with a few extra coded tools this could make bitcoins easily transferred via paper? Or even better, with mobile phones(android, iphone)?


PGP key id at pgp.mit.edu 0xA68F4B7C

To get help and support for GLBSE please email support@glbse.com
BitterTea
Sr. Member
****
Offline Offline

Activity: 294
Merit: 252



View Profile
February 22, 2011, 10:51:36 AM
 #14

You know, when you're transferring BTC this way, maybe you don't even bother importing the private key into a wallet. You could scan the block chain looking for the coins associated with the key having been spent and create a transaction using that key, sending to another Bitcoin address you control. Broadcast to the network and wait for a confirmation. That way they can't spend those coins after they have given you the key.
db (OP)
Sr. Member
****
Offline Offline

Activity: 279
Merit: 261



View Profile
February 22, 2011, 11:15:40 AM
 #15

So with a few extra coded tools this could make bitcoins easily transferred via paper? Or even better, with mobile phones(android, iphone)?

As long as you trust them to give you a valid note or can verify and claim it before you let them out of your sight. Still, printed bitcoins could even work in a grocery store. Scan the note with the barcode reader and immediately check that the coins are not spent and that there is no double spending announced. Print the change on the receipt.
Nefario
Hero Member
*****
Offline Offline

Activity: 602
Merit: 513


GLBSE Support support@glbse.com


View Profile WWW
February 22, 2011, 11:21:39 AM
 #16

Nice but doesn't this take some time for there first to be confirmations? Wouldn't that kind of make it a little less practical to use?

PGP key id at pgp.mit.edu 0xA68F4B7C

To get help and support for GLBSE please email support@glbse.com
ribuck
Donator
Hero Member
*
Offline Offline

Activity: 826
Merit: 1060


View Profile
February 22, 2011, 11:28:29 AM
 #17

Hey db, this is very nice, but would you consider modifying the program to use the terminology discussed here?

http://bitcointalk.org/index.php?topic=3311.msg46648#msg46648

That way it will be tidier when we get down to the smallest subdivisions of a bitcoin.
db (OP)
Sr. Member
****
Offline Offline

Activity: 279
Merit: 261



View Profile
February 22, 2011, 11:53:22 AM
 #18

Nice but doesn't this take some time for there first to be confirmations? Wouldn't that kind of make it a little less practical to use?

As discussed in the fast transaction acceptance thread you don't have to wait for confirmations. Just check that no double spendings are announced. Then the only way to do fraud is to have found a block in advance that spends the coins. In a mature Bitcoin economy that is expensive and very unlikely as there will always only be about six blocks per hour.
db (OP)
Sr. Member
****
Offline Offline

Activity: 279
Merit: 261



View Profile
February 22, 2011, 12:30:06 PM
 #19

Hey db, this is very nice, but would you consider modifying the program to use the terminology discussed here?

http://bitcointalk.org/index.php?topic=3311.msg46648#msg46648

That way it will be tidier when we get down to the smallest subdivisions of a bitcoin.

If / when we get down to the smallest subdivision we will have much bigger problems than having to call it "10 nBTC" (what's even bad about that at all?). All the inconsistency and confusion from changing the basic unit to bitcent (what is the proposed three letter(?) abbreviation for that by the way?) and mixing powers of 100 and 1000 is not worth it to solve something that isn't even a problem.
Nefario
Hero Member
*****
Offline Offline

Activity: 602
Merit: 513


GLBSE Support support@glbse.com


View Profile WWW
February 22, 2011, 12:49:44 PM
 #20

I like the paper version.

PGP key id at pgp.mit.edu 0xA68F4B7C

To get help and support for GLBSE please email support@glbse.com
Pages: [1] 2 3 4 5 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!