Bitcoin Forum
November 16, 2024, 10:13:43 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Offline transaction - generate RAW transaction  (Read 1148 times)
Scaccomatt0 (OP)
Legendary
*
Offline Offline

Activity: 1120
Merit: 1000


https://cryptoworld.io


View Profile WWW
August 15, 2016, 04:38:13 PM
 #1

Let have the following scenario:
1- wallet A online 
2- full synced wallet A
3- bring the wallet A offline
4- create a RAW transaction from wallet A
5- copy/share the raw transaction from wallet A
5- use another wallet B online
6- paste / spread the RAW transaction from the online wallet B

Questions:
1- is it possible to generate a RAW transaction even if the wallet is in offline mode and not synced? I think so.
2- Wallet B online can spread the RAW transaction provided by someone else? I think so.
3- while the wallet A is offline, if I spent some BTC from another online wallet and using output that I want to include in my RAW transaction, the RAW transaction is generated correctly, but will be invalidated (attempt of double spent?).
4- Security issues?

Is it possible to generate offline transaction with a mobile wallet (Ie. Android app)?

thanks

       


████
████
████
████
████
████
████
████
████
████
████
████
████
████
████
               ______
          __███████████████_      █████         █████          █████           █████
       _█████████████████████      █████         █████        █████           █████
     _███████¯¯¯     ¯¯██████       █████         █████      █████           █████
   _██████¯            ¯████¯        █████         █████    █████           █████
  ██████¯                             █████          ██████████            █████
 ██████                               █████          ██████████            █████
 █████                                 █████         ██████████            █████
█████                                  █████          ████████            █████
█████                                  █████           ██████             █████
█████                                  █████           ██████             █████
█████                                  █████           ██████            █████    
█████                                   █████          ██████          █████    
 █████                                  █████          ██████          █████
 ██████                                 █████          ██████        █████
  ██████_                                █████         ██████        █████
   ¯██████_            _████_            █████        ████████       █████
     ¯███████___     __██████            █████      █████  █████     █████
       ¯█████████████████████             █████    █████    █████   █████
          ¯¯███████████████¯               ████████████      ███████████
               ¯¯¯¯¯¯                      ¯¯¯¯¯¯¯¯¯¯         ¯¯¯¯¯¯¯¯¯¯
|
  
FAUCET
ICO
ANDROID
       


████
████
████
████
████
████
████
████
████
████
████
████
████
████
████
DannyHamilton
Legendary
*
Offline Offline

Activity: 3486
Merit: 4851



View Profile
August 15, 2016, 05:56:25 PM
 #2

1- is it possible to generate a RAW transaction even if the wallet is in offline mode and not synced?

Yes, as long as you know which transaction outputs you want to spend.

2- Wallet B online can spread the RAW transaction provided by someone else?

Yes.

3- while the wallet A is offline, if I spent some BTC from another online wallet and using output that I want to include in my RAW transaction, the RAW transaction is generated correctly, but will be invalidated (attempt of double spent?).

Correct, if you have already spent the output in a transaction that is already confirmed then all peers will reject the new transaction as invalid due to the attempt of double spend.

4- Security issues?

Keep your keys safe and don't share signed transactions that you don't want broadcast.

Is it possible to generate offline transaction with a mobile wallet (Ie. Android app)?

I'm not aware of any mobile wallets that have that ability built into them.

thanks

You're welcome.
Scaccomatt0 (OP)
Legendary
*
Offline Offline

Activity: 1120
Merit: 1000


https://cryptoworld.io


View Profile WWW
August 15, 2016, 06:36:07 PM
 #3

1- is it possible to generate a RAW transaction even if the wallet is in offline mode and not synced?

Yes, as long as you know which transaction outputs you want to spend.

2- Wallet B online can spread the RAW transaction provided by someone else?

Yes.

3- while the wallet A is offline, if I spent some BTC from another online wallet and using output that I want to include in my RAW transaction, the RAW transaction is generated correctly, but will be invalidated (attempt of double spent?).

Correct, if you have already spent the output in a transaction that is already confirmed then all peers will reject the new transaction as invalid due to the attempt of double spend.

4- Security issues?

Keep your keys safe and don't share signed transactions that you don't want broadcast.

Is it possible to generate offline transaction with a mobile wallet (Ie. Android app)?

I'm not aware of any mobile wallets that have that ability built into them.

thanks

You're welcome.
Thanks sir,
you just confirmed my knowledge.

I can keep brainstorming my idea.

       


████
████
████
████
████
████
████
████
████
████
████
████
████
████
████
               ______
          __███████████████_      █████         █████          █████           █████
       _█████████████████████      █████         █████        █████           █████
     _███████¯¯¯     ¯¯██████       █████         █████      █████           █████
   _██████¯            ¯████¯        █████         █████    █████           █████
  ██████¯                             █████          ██████████            █████
 ██████                               █████          ██████████            █████
 █████                                 █████         ██████████            █████
█████                                  █████          ████████            █████
█████                                  █████           ██████             █████
█████                                  █████           ██████             █████
█████                                  █████           ██████            █████    
█████                                   █████          ██████          █████    
 █████                                  █████          ██████          █████
 ██████                                 █████          ██████        █████
  ██████_                                █████         ██████        █████
   ¯██████_            _████_            █████        ████████       █████
     ¯███████___     __██████            █████      █████  █████     █████
       ¯█████████████████████             █████    █████    █████   █████
          ¯¯███████████████¯               ████████████      ███████████
               ¯¯¯¯¯¯                      ¯¯¯¯¯¯¯¯¯¯         ¯¯¯¯¯¯¯¯¯¯
|
  
FAUCET
ICO
ANDROID
       


████
████
████
████
████
████
████
████
████
████
████
████
████
████
████
MyBTT
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile
August 19, 2016, 03:25:37 AM
 #4

I'm guessing you're trying to find a way too automate cold storage spending? Correct me if I'm wrong, but isn't that impossible?



 
 
           ▄████▄
         ▄████████▄
       ▄████████████▄
     ▄████████████████▄
    ████████████████████      ▄█▄                 ▄███▄                 ▄███▄                 ▄████████████████▀   ▄██████████

  ▄▄▄▀█████▀▄▄▄▄▀█████▀▄▄▄     ▀██▄             ▄██▀ ▀██▄             ▄██▀ ▀██▄             ▄██▀                   ██
▄█████▄▀▀▀▄██████▄▀▀▀▄█████▄     ▀██▄         ▄██▀     ▀██▄         ▄██▀     ▀██▄         ▄██▀        ▄█▄          ▀██████████████▄
████████████████████████████       ▀██▄     ▄██▀         ▀██▄     ▄██▀         ▀██▄     ▄██▀          ▀█▀                        ██
 ▀████████████████████████▀          ▀██▄ ▄██▀             ▀██▄ ▄██▀     ▄█▄     ▀██▄ ▄██▀                                       ██
   ▀████████████████████▀              ▀███▀                 ▀███▀       ▀█▀       ▀███▀      ▄███████████████████████████████████▀
     ▀████████████████▀
       ▀████████████▀
         ▀████████▀
           ▀████▀
║║


║║
.
.

║║
██
║║
.
.

║║
██
║║
.
║║


║║
vasigap
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
August 19, 2016, 07:45:24 PM
 #5

I'm guessing you're trying to find a way too automate cold storage spending? Correct me if I'm wrong, but isn't that impossible?



The off-line automation isn't exactly what the air-gaped usb/wallets and stuff do ?(Correct me if I'm wrong please Smiley )
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!