Bitcoin Forum
May 08, 2024, 10:44:33 AM *
News: Latest Bitcoin Core release: 27.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 154 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!
1715165073
Hero Member
*
Offline Offline

Posts: 1715165073

View Profile Personal Message (Offline)

Ignore
1715165073
Reply with quote  #2

1715165073
Report to moderator
1715165073
Hero Member
*
Offline Offline

Posts: 1715165073

View Profile Personal Message (Offline)

Ignore
1715165073
Reply with quote  #2

1715165073
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
LoyceV
Legendary
*
Online Online

Activity: 3304
Merit: 16618


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).

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: 2828
Merit: 6978



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?

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
Kakmakr
Legendary
*
Offline Offline

Activity: 3444
Merit: 1957

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!