Bitcoin Forum
December 15, 2024, 12:15:17 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How do I generate a transaction offline (preferably with an offline website)?  (Read 178 times)
Nathan047 (OP)
Sr. Member
****
Offline Offline

Activity: 504
Merit: 250



View Profile
January 02, 2018, 04:47:53 PM
 #1

I generally use a Debian Live CD and an offline version of a web based wallet generator to create paper wallets for cold storage. When I go to spend from them I sweep them into a regular wallet and then send the funds I want to keep cold into a new cold wallet. However I was wondering if it would be possible for me to cut out some of the headache and just create the transaction on the offline computer and skip creating a new cold wallet. How would I do this?

I'm starting a technology blog T4CH.top, check it out!
LoyceV
Legendary
*
Offline Offline

Activity: 3528
Merit: 17829


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
January 02, 2018, 06:18:33 PM
 #2

I was wondering if it would be possible for me to cut out some of the headache and just create the transaction on the offline computer and skip creating a new cold wallet. How would I do this?
You can't create the transaction on an offline computer, it needs input from the blockchain to know your funds.

What you can do, is create the transaction online using https://coinb.in/#newTransaction . You'll only need your Bitcoin address for this, you don't need your private key.
Then, you can download the same website, and use it from your Debian Live CD to verify and sign the transaction offline.
The last step is to broadcast your transaction from your online computer.

This requires transfering an unsigned transaction to your offline computer, and after that a signed transaction to your online computer. An USB stick is easiest, or you can create and scan QR-codes if you're truely paranoid (like me).

▄▄███████████████████▄▄
▄█████████▀█████████████▄
███████████▄▐▀▄██████████
███████▀▀███████▀▀███████
██████▀███▄▄████████████
█████████▐█████████▐█████
█████████▐█████████▐█████
██████████▀███▀███▄██████
████████████████▄▄███████
███████████▄▄▄███████████
█████████████████████████
▀█████▄▄████████████████▀
▀▀███████████████████▀▀
Peach
BTC bitcoin
Buy and Sell
Bitcoin P2P
.
.
▄▄███████▄▄
▄████████
██████▄
▄██
█████████████████▄
▄███████
██████████████▄
███████████████████████
█████████████████████████
████████████████████████
█████████████████████████
▀███████████████████████▀
▀█████████████████████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀

▀▀▀▀███▀▀▀▀
EUROPE | AFRICA
LATIN AMERICA
▄▀▀▀











▀▄▄▄


███████▄█
███████▀
██▄▄▄▄▄░▄▄▄▄▄
████████████▀
▐███████████▌
▐███████████▌
████████████▄
██████████████
███▀███▀▀███▀
.
Download on the
App Store
▀▀▀▄











▄▄▄▀
▄▀▀▀











▀▄▄▄


▄██▄
██████▄
█████████▄
████████████▄
███████████████
████████████▀
█████████▀
██████▀
▀██▀
.
GET IT ON
Google Play
▀▀▀▄











▄▄▄▀
Nathan047 (OP)
Sr. Member
****
Offline Offline

Activity: 504
Merit: 250



View Profile
January 03, 2018, 03:43:44 PM
 #3

That sounds like what I was looking for, thanks Loyce.

I'm starting a technology blog T4CH.top, check it out!
TechPriest
Sr. Member
****
Offline Offline

Activity: 377
Merit: 282


Finis coronat opus


View Profile
January 03, 2018, 10:24:31 PM
 #4

You can't create the transaction on an offline computer, it needs input from the blockchain to know your funds.

You must admit that it's fair only for web services. You can create transaction with core wallet in offline (it provides to you your utxo). Also, many online block explorers and some other services can provide to you such information. But without proper tools and some experience it will be hard task.

In science we trust!
TryNinja
Legendary
*
Offline Offline

Activity: 3052
Merit: 7466


Top Crypto Casino


View Profile WWW
January 04, 2018, 12:39:39 AM
 #5

You must admit that it's fair only for web services. You can create transaction with core wallet in offline (it provides to you your utxo). Also, many online block explorers and some other services can provide to you such information. But without proper tools and some experience it will be hard task.
So, let's say I have an offline PC with Core that never connected to the internet. If I send 1 BTC to my address, how exactly can Core know the UTXO?

███████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████

███████████████████████
.
BC.GAME
▄▄▀▀▀▀▀▀▀▄▄
▄▀▀░▄██▀░▀██▄░▀▀▄
▄▀░▐▀▄░▀░░▀░░▀░▄▀▌░▀▄
▄▀▄█▐░▀▄▀▀▀▀▀▄▀░▌█▄▀▄
▄▀░▀░░█░▄███████▄░█░░▀░▀▄
█░█░▀░█████████████░▀░█░█
█░██░▀█▀▀█▄▄█▀▀█▀░██░█
█░█▀██░█▀▀██▀▀█░██▀█░█
▀▄▀██░░░▀▀▄▌▐▄▀▀░░░██▀▄▀
▀▄▀██░░▄░▀▄█▄▀░▄░░██▀▄▀
▀▄░▀█░▄▄▄░▀░▄▄▄░█▀░▄▀
▀▄▄▀▀███▄███▀▀▄▄▀
██████▄▄▄▄▄▄▄██████
.
..CASINO....SPORTS....RACING..


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Kakmakr
Legendary
*
Offline Offline

Activity: 3542
Merit: 1966

Leading Crypto Sports Betting & Casino Platform


View Profile
January 04, 2018, 09:28:27 AM
 #6

I was looking for something similar, where you sweep your paper wallets offline and once you go online again, the changes gets syncronized with the Blockchain. I have been playing around with offline transactions, but this is not what I need.

I want to reduce the amount of time that my paper wallet/private key is exposed online. It would even be better if the private key are encrypted, before you go online and decrypted before you syncronize the sweep action.

..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..PLAY NOW..
TechPriest
Sr. Member
****
Offline Offline

Activity: 377
Merit: 282


Finis coronat opus


View Profile
January 04, 2018, 10:29:13 AM
 #7

So, let's say I have an offline PC with Core that never connected to the internet. If I send 1 BTC to my address, how exactly can Core know the UTXO?

Without some "help" it won't.
But you can use blockchain.info for example.
See below:

At first you must know all unspent outputs for exact address. Then you are using any blockexplorer to get such information (txid)
Then you create raw transaction with createrawtransaction command. It has next arguments [{"txid":txid,"vout":n},...] {address:amount,...}
txid - is our txid
vout - the number of output (starts from "0")
address - is address of recipient.
amount - is amount of coins which you want to send (one important moment - difference between you output "balanace" and this amount will become fee for miners. So, if you have 1 btc and want to send 0.1 you also must show(means send to it) change address)
Then you must sign your raw transaction with signrawtransaction command and after that ( if status "complete" will be true ) you are able to send your transaction with online wallets (https://blockchain.info/pushtx for example)

To be honest, you can do that without Core wallet at all. There many special tools wich can help you to create transaction if you know only private key and txid of genesis transaction.

In science we trust!
Pages: [1]
  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!