Coder Social home page Coder Social logo

tenoorja / bitcoin-paper-wallet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dbasch/bitcoin-paper-wallet

0.0 2.0 0.0 17 KB

Generate a Bitcoin paper wallet offline as a png file, no need for a browser.

License: Eclipse Public License 1.0

Clojure 100.00%

bitcoin-paper-wallet's Introduction

bitcoin-paper-wallet

Generate a Bitcoin paper wallet offline, without the need for a browser.

Usage

lein run

The program will print out a private key and a public bitcoin address, and a wallet.png file that you can send to your printer (hopefully not connected to the internet). The paper wallet is unencrypted, so keep it in a safe place.

The wallet will look like this:

wallet

You may want to do this on a computer that's never been connected to the internet. For example, you could:

  • Boot a live CD/USB of Ubuntu, don't connect it to a network.
  • run lein uberjar on a trusted computer, copy the jar file to a pen drive and then to the Ubuntu box.
  • run java -jar bitcoin-[version]-SNAPSHOT-standalone.jar on the Ubuntu box.

Password-protected wallets

If you run

lein run "correct horse battery staple"

You will get a wallet with an encrypted key. It will look like:

wallet

You will need your passphrase when you want to convert it into the Wallet Import Format. You can decrypt it by running:

lein run -m bitcoin.bip38 "correct horse battery staple" 6P......

If you do this, you should either memorize your passphase or keep it in a safe place separate from the wallet. Otherwise, you might as well generate it unencrypted.

WARNING WARNING WARNING

Be very careful when using this program. It uses the bitcoinj library for key generation so I'm not responsible for any bugs that might generate insecure wallets. Use at your own risk.

Find this useful? Send me a tip at 1EmwBbfgH7BPMoCpcFzyzgAN9Ya7jm8L1Z :)

License

Copyright © 2014 Diego Basch

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.