Bitcoin Forum
November 13, 2024, 07:14:11 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: 3 different addresses with the same private key  (Read 266 times)
iron_man66 (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
January 09, 2024, 07:37:15 PM
 #1

I created 3 different addresses with the same private key.

Private Key in WIF Format (Electrum Compatible): L2TDShcN5............................................ ............

P2PKH Address: 1MaagyCjRXLZRxDL1RHHJesi1A7mMudHME
P2WPKH-P2SH Address: 3NNDmzJifjSPYG8d9C9zj5j31fEWnQgW9n
P2WPKH Address: bc1qux796kmw3wj73n2anwlx2vpqlr86r2t4p392d6

1 BTC was sent to each of these addresses.
I will send 3 btc to another address.
Can 3 BTC be transferred at once with the same signature?
The sending address appears on the network.

Hazink
Full Member
***
Offline Offline

Activity: 264
Merit: 134


OrangeFren.com


View Profile
January 09, 2024, 07:39:50 PM
 #2

Can 3 BTC be transferred at once with the same signature?
The sending address appears on the network.
Yes you can send out all the transaction at once’s but it will go as 3 output into one input if you are sending it into one address. It’s very much possible providing you have access to the wallet private key.

Even if you find up to 10 wallet which share same private key providing that you did not disable some of the wallet like censoring some of the address each time you want to spend an amount that requires everything you hold on that wallet it will all be sent at once, the only thing their is that the transaction size will be larger compare to when you are just sending from 1 output.

████████████████████                                                   OrangeFren.com                                               ████████████████████
instant KYC-free exchange comparison
████████████████████     Clearnet and onion available #kycfree services (prepaid Visa & Mastercard)     ████████████████████
iron_man66 (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
January 09, 2024, 07:47:39 PM
 #3

Which sender address is visible?
hosseinimr93
Legendary
*
Offline Offline

Activity: 2576
Merit: 5677



View Profile
January 09, 2024, 07:58:53 PM
Merited by DannyHamilton (5), ABCbits (5), pooya87 (4), Zaguru12 (2), DdmrDdmr (1), apogio (1)
 #4

Can 3 BTC be transferred at once with the same signature?
You can spend all 3 BTC in one transaction and you will have to provide three different signatures in your transaction.

Every time you create a bitcoin transaction, you create output(s) and you define a locking script for each of the outputs.
Anyone who wants to spend any of the outputs in a new transaction must provide an unlocking script which usually requires a signature.

Take note that even if you had made the three transactions to the same bitcoin address, you would still have to provide three different unlocking scripts with three different signatures for spending them.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
Hazink
Full Member
***
Offline Offline

Activity: 264
Merit: 134


OrangeFren.com


View Profile
January 09, 2024, 08:02:08 PM
 #5

Which sender address is visible?

The three can be tracked and trace back to the transaction I mean the 3 wallet which send the 3 bitcoin will be visible as the output wallet (sender address)

████████████████████                                                   OrangeFren.com                                               ████████████████████
instant KYC-free exchange comparison
████████████████████     Clearnet and onion available #kycfree services (prepaid Visa & Mastercard)     ████████████████████
Hatchy
Hero Member
*****
Offline Offline

Activity: 588
Merit: 570


The Alliance Of Bitcointalk Translators - ENG>PID


View Profile WWW
January 09, 2024, 08:12:43 PM
 #6

Can 3 BTC be transferred at once with the same signature?
The sending address appears on the network.
Yes you can send out all the transaction at once’s but it will go as 3 output into one input if you are sending it into one address. It’s very much possible providing you have access to the wallet private key.

Even if you find up to 10 wallet which share same private key providing that you did not disable some of the wallet like censoring some of the address each time you want to spend an amount that requires everything you hold on that wallet it will all be sent at once, the only thing their is that the transaction size will be larger compare to when you are just sending from 1 output.

This can only be done, if it's supported by the wallet type you imported you keys to. The way funds are calculated and displayed depends on the wallet's design and the underlying blockchain protocol. Some wallets aggregate funds from multiple addresses into a single balance, while others may display each address separately. Each address displays utxo showing the units of cryptocurrency that can be spent. If your wallet supports multiple address types, it might consolidate the funds from these addresses into a unified balance when displaying your total available funds.

 Now when you initiate a transaction, and suggest the amount you want to spend. the wallet searches all different utxo and aggregates them together selecting which address has enough funds to spend as inputs for the new transaction. If the total value of the selected UTXOs is more than the amount you want to send, the wallet will create a change output. This change is typically sent back to one of your own addresses to maintain control of the remaining funds. All these transactions from different input are signed using their respective private key

Which sender address is visible?

Your wallet displays them as input and shows you from which it has spent from it will look like this

Input 1: 1 BTC from Address A
Input 2: 1 BTC from Address B
Input 3: 1 BTC from Address C
Output 1: 3 BTC to the recipient's address
Output 2: xxxBTC back to a change address (likely)

It's not likely to return a change in this situation and might probably not be able to process the transaction.thats because the Total amount of spendable funds in the three addresses are not enough to proceed. The wallet initiates the miners fee also from the available funds. So you may have to reduce the amount you wish to spend to a spendable amount

R


▀▀▀▀▀▀▀██████▄▄
████████████████
▀▀▀▀█████▀▀▀█████
████████▌███▐████
▄▄▄▄█████▄▄▄█████
████████████████
▄▄▄▄▄▄▄██████▀▀
LLBIT|
4,000+ GAMES
███████████████████
██████████▀▄▀▀▀████
████████▀▄▀██░░░███
██████▀▄███▄▀█▄▄▄██
███▀▀▀▀▀▀█▀▀▀▀▀▀███
██░░░░░░░░█░░░░░░██
██▄░░░░░░░█░░░░░▄██
███▄░░░░▄█▄▄▄▄▄████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█████████
▀████████
░░▀██████
░░░░▀████
░░░░░░███
▄░░░░░███
▀█▄▄▄████
░░▀▀█████
▀▀▀▀▀▀▀▀▀
█████████
░░░▀▀████
██▄▄▀░███
█░░█▄░░██
░████▀▀██
█░░█▀░░██
██▀▀▄░███
░░░▄▄████
▀▀▀▀▀▀▀▀▀
||.
|
▄▄████▄▄
▀█▀
▄▀▀▄▀█▀
▄░░▄█░██░█▄░░▄
█░▄█░▀█▄▄█▀░█▄░█
▀▄░███▄▄▄▄███░▄▀
▀▀█░░░▄▄▄▄░░░█▀▀
░░██████░░█
█░░░░▀▀░░░░█
▀▄▀▄▀▄▀▄▀▄
▄░█████▀▀█████░▄
▄███████░██░███████▄
▀▀██████▄▄██████▀▀
▀▀████████▀▀
.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
░▀▄░▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄░▄▀
███▀▄▀█████████████████▀▄▀
█████▀▄░▄▄▄▄▄███░▄▄▄▄▄▄▀
███████▀▄▀██████░█▄▄▄▄▄▄▄▄
█████████▀▄▄░███▄▄▄▄▄▄░▄▀
███████████░███████▀▄▀
███████████░██▀▄▄▄▄▀
███████████░▀▄▀
████████████▄▀
███████████
▄▄███████▄▄
▄████▀▀▀▀▀▀▀████▄
▄███▀▄▄███████▄▄▀███▄
▄██▀▄█▀▀▀█████▀▀▀█▄▀██▄
▄██▀▄███░░░▀████░███▄▀██▄
███░████░░░░░▀██░████░███
███░████░█▄░░░░▀░████░███
███░████░███▄░░░░████░███
▀██▄▀███░█████▄░░███▀▄██▀
▀██▄▀█▄▄▄██████▄██▀▄██▀
▀███▄▀▀███████▀▀▄███▀
▀████▄▄▄▄▄▄▄████▀
▀▀███████▀▀
OFFICIAL PARTNERSHIP
SOUTHAMPTON FC
FAZE CLAN
SSC NAPOLI
iron_man66 (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
January 09, 2024, 09:34:05 PM
 #7

https://hizliresim.com/d4cf9li
DannyHamilton
Legendary
*
Offline Offline

Activity: 3486
Merit: 4847



View Profile
January 09, 2024, 10:03:17 PM
Merited by LoyceV (12), ABCbits (8), BlackHatCoiner (6), AB de Royse777 (5), RickDeckard (2), Zaguru12 (2), DdmrDdmr (1), SatoPrincess (1), Cricktor (1)
 #8

I created 3 different addresses with the same private key.

That seems like a silly thing to do.  Why did you do that?

1 BTC was sent to each of these addresses.
I will send 3 btc to another address.

If you are planning on using the 3 BTC that you received at the three addresses, you'll need some additional bitcoins for the transaction fee.

Can 3 BTC be transferred at once

Using a single transaction?  Yes. Transactions can have multiple inputs. You can create a transaction with 4 (or more) inputs, one for each of the 1 BTC received, plus one (or more) for the value being used for the transaction fee.

with the same signature?

No.  Each input will have it's own scriptSig (also known as TxIn-script)

The sending address appears on the network.

This is a VERY common misunderstanding about how bitcoin works.  There actually isn't any such thing as a "sending address", many block explorers will attempt to decode the UTXO and assign a "sending address" in their interface. This common practice expands the confusion and misunderstanding that people frequently have about how bitcoin works.

Instead, you should think of a bitcoin address like an "invoice number".  It allows you to determine when someone has paid you, and how much you got paid. If you do the smart thing and give out a brand new address for EVERY transaction, then you'll know EXACTLY who paid, when, why, and how much.

While a business will receive payments on invoices for their products and services, when they later spend those funds they'd never use the phrase "sending invoice" to indicate which invoice was originally used to receive any particular funds that they might be sending to someone.  Equally, it's inaccurate to use the phrase "sending address".



Yes you can send out all the transaction at once’s but it will go as 3 output into one input

You've got that backwards.  There will be 3 (or more) INPUTS of value into the transaction, and that value will then be asigned to the 1 OUTPUT where they want to send the funds.

requires everything you hold on that wallet it will all be sent at once

It's never "required" for everything held by a wallet to be sent at once if those funds are spread into multiple UTXO.  Most wallets will try to do a good job of choosing a subset of inputs.

the only thing their is that the transaction size will be larger compare to when you are just sending from 1 output.

Definitely.  Funding a transaction with a greater quantity of smaller value inputs will result in a larger (in terms of bytes) transaction than using a smaller quantity of higher value inputs.  Since fees are paid per byte (or rather per vByte), this will generally result in higher overall transaction fee for a comparable smaller (bytes) transaction sent at the same time.



Which sender address is visible?

As I stated earlier, there isn't really any such thing as a "sender address". This is a VERY COMMON misunderstanding about how bitcoin actually works. What exactly are you trying to ask here?

Are you asking if the inputs to the transaction can be identified?  Yes, the inputs to a bitcoin transaction can ALWAYS be identified. Thay HAVE TO be. That's how Bitcoin nodes are able to verify that the transaction is valid without needing to trust any peers or authority.



- snip -


Well said.  I have nothing to add here. Thank you for your excellent contribution.  Merits sent.



I mean the 3 wallet which send the 3 bitcoin

It is generally not possible to determine what "wallet" was used to send a bitcoin transaction.  Occasionally, some wallets will be unique enough in how they construct transactions that it might be possible to infer the wallet that was used, but that isn't common.  Typically it would be impossible to determine if the transaction was sent with Bitcoin Core, or Electrum, or Blue Wallet, etc.

will be visible as the output wallet (sender address)

Output wallet?  sender address?

I'm going to guess that what you're trying to say is:
It will be possible to determine the UTXOs being spent in the transaction. Once you've identified those UTXOs, it will be possible to determine the scriptPubKey (also known as the Tx-Out-script) in that UTXO. From that scriptPubKey, it will be possible to identify the public key hash that was used.  With the details of the script and the public key has, it is possible to generate the "address" that was used to create the transaction where the funds were previously received.



Your wallet displays them as

How his wallet displays things will depend on what wallet he's using. I don't think he ever indicated in this discussion what wallet he uses. Did you determine that from some other conversation you had with the OP?
Hatchy
Hero Member
*****
Offline Offline

Activity: 588
Merit: 570


The Alliance Of Bitcointalk Translators - ENG>PID


View Profile WWW
January 09, 2024, 10:09:32 PM
 #9

Did you determine that from some other conversation you had with the OP?
I don't know what wallet op uses that's why I added

(likely)
To the ending of that paragraph. And op had later posted a link of an image  of his wallet https://hizliresim.com/d4cf9li from which I think he uses electrum. The way I had listed is a format on my mycelium wallet. I don't use electrum.

R


▀▀▀▀▀▀▀██████▄▄
████████████████
▀▀▀▀█████▀▀▀█████
████████▌███▐████
▄▄▄▄█████▄▄▄█████
████████████████
▄▄▄▄▄▄▄██████▀▀
LLBIT|
4,000+ GAMES
███████████████████
██████████▀▄▀▀▀████
████████▀▄▀██░░░███
██████▀▄███▄▀█▄▄▄██
███▀▀▀▀▀▀█▀▀▀▀▀▀███
██░░░░░░░░█░░░░░░██
██▄░░░░░░░█░░░░░▄██
███▄░░░░▄█▄▄▄▄▄████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█████████
▀████████
░░▀██████
░░░░▀████
░░░░░░███
▄░░░░░███
▀█▄▄▄████
░░▀▀█████
▀▀▀▀▀▀▀▀▀
█████████
░░░▀▀████
██▄▄▀░███
█░░█▄░░██
░████▀▀██
█░░█▀░░██
██▀▀▄░███
░░░▄▄████
▀▀▀▀▀▀▀▀▀
||.
|
▄▄████▄▄
▀█▀
▄▀▀▄▀█▀
▄░░▄█░██░█▄░░▄
█░▄█░▀█▄▄█▀░█▄░█
▀▄░███▄▄▄▄███░▄▀
▀▀█░░░▄▄▄▄░░░█▀▀
░░██████░░█
█░░░░▀▀░░░░█
▀▄▀▄▀▄▀▄▀▄
▄░█████▀▀█████░▄
▄███████░██░███████▄
▀▀██████▄▄██████▀▀
▀▀████████▀▀
.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
░▀▄░▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄░▄▀
███▀▄▀█████████████████▀▄▀
█████▀▄░▄▄▄▄▄███░▄▄▄▄▄▄▀
███████▀▄▀██████░█▄▄▄▄▄▄▄▄
█████████▀▄▄░███▄▄▄▄▄▄░▄▀
███████████░███████▀▄▀
███████████░██▀▄▄▄▄▀
███████████░▀▄▀
████████████▄▀
███████████
▄▄███████▄▄
▄████▀▀▀▀▀▀▀████▄
▄███▀▄▄███████▄▄▀███▄
▄██▀▄█▀▀▀█████▀▀▀█▄▀██▄
▄██▀▄███░░░▀████░███▄▀██▄
███░████░░░░░▀██░████░███
███░████░█▄░░░░▀░████░███
███░████░███▄░░░░████░███
▀██▄▀███░█████▄░░███▀▄██▀
▀██▄▀█▄▄▄██████▄██▀▄██▀
▀███▄▀▀███████▀▀▄███▀
▀████▄▄▄▄▄▄▄████▀
▀▀███████▀▀
OFFICIAL PARTNERSHIP
SOUTHAMPTON FC
FAZE CLAN
SSC NAPOLI
AB de Royse777
Legendary
*
Offline Offline

Activity: 2660
Merit: 4140


Campaign Manager. My Telegram @Royse777


View Profile WWW
January 09, 2024, 11:38:21 PM
 #10

1 BTC was sent to each of these addresses.
I will send 3 btc to another address.
None of the address has any balance. I am assuming you are asking suggestions.
DannyHamilton already gave you a long answer which covers almost everything. In short, try to use lesser input and output addresses, you will spend less to cover transaction fees. Instead of sending 3 BTC to 3 different address, send 3 BTC to one single address. You can spend all your BTC of your wallet in one transaction - any time.

..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..PLAY NOW..
digaran
Copper Member
Hero Member
*****
Offline Offline

Activity: 1330
Merit: 899

🖤😏


View Profile
January 10, 2024, 12:43:23 AM
 #11

What OP is asking, is this:

Imagine you have 3 credit cards linked to one bank account, now when you want to send all balances in all 3 cards to your friend's card, what will your friend see? as in, which one of your cards sent the actual balance?

And would you need to use the password(signature) of all 3 cards to authorize the transfer?

🖤😏
ranochigo
Legendary
*
Offline Offline

Activity: 3038
Merit: 4420


Crypto Swap Exchange


View Profile
January 10, 2024, 10:55:37 AM
 #12

None of the address has any balance. I am assuming you are asking suggestions.
DannyHamilton already gave you a long answer which covers almost everything. In short, try to use lesser input and output addresses, you will spend less to cover transaction fees. Instead of sending 3 BTC to 3 different address, send 3 BTC to one single address. You can spend all your BTC of your wallet in one transaction - any time.
Other than the fact that they are of a different format, they are able to be spent in a single transaction. You just have to manually craft a raw TX to spend all of the UTXO in a single transaction, but you would have to sign them separately as I'm not aware of any wallets allowing different address formats to be mixed in the same address.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
LoyceV
Legendary
*
Offline Offline

Activity: 3486
Merit: 17667


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
January 10, 2024, 11:10:03 AM
Merited by ranochigo (2)
 #13

You just have to manually craft a raw TX to spend all of the UTXO in a single transaction, but you would have to sign them separately as I'm not aware of any wallets allowing different address formats to be mixed in the same address.
Bitcoin Core allows any different address types to be used as input for one transaction. I'm pretty sure Electrum can do it too if you import the private keys with the correct prefix.

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

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











▀▄▄▄


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











▄▄▄▀
▄▀▀▀











▀▄▄▄


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











▄▄▄▀
DannyHamilton
Legendary
*
Offline Offline

Activity: 3486
Merit: 4847



View Profile
January 10, 2024, 02:55:18 PM
 #14

Imagine you have 3 credit cards linked to one bank account, now when you want to send all balances in all 3 cards to your friend's card, what will your friend see? as in, which one of your cards sent the actual balance?

Bitcoin doesn't have "accounts" and it doesn't work anything like a credit card. Therefore, this analogy is useless for this conversation.
un_rank
Hero Member
*****
Offline Offline

Activity: 896
Merit: 906


- Jay -


View Profile WWW
January 10, 2024, 03:18:43 PM
 #15

Imagine you have 3 credit cards linked to one bank account, now when you want to send all balances in all 3 cards to your friend's card, what will your friend see? as in, which one of your cards sent the actual balance?
This analogy does not apply to bitcoin, but if we were to use it it's still flawed. If you are making a bank transfer it does not matter how many cards you have, the receiver sees your bank details. If it is a card transfer, you certainly cannot use all cards at the same time, the card that sent it is displayed.

- Jay -

██
██
██
██
██
██
██
██
██
██
██
██
██
... LIVECASINO.io    Play Live Games with up to 20% cashback!...██
██
██
██
██
██
██
██
██
██
██
██
██
digaran
Copper Member
Hero Member
*****
Offline Offline

Activity: 1330
Merit: 899

🖤😏


View Profile
January 11, 2024, 09:11:02 AM
Last edit: January 11, 2024, 09:24:38 AM by digaran
 #16

Imagine you have 3 credit cards linked to one bank account, now when you want to send all balances in all 3 cards to your friend's card, what will your friend see? as in, which one of your cards sent the actual balance?

Bitcoin doesn't have "accounts" and it doesn't work anything like a credit card. Therefore, this analogy is useless for this conversation.

I know it has no accounts, but OP is asking: if he sends 1 transaction combining all 3 inputs from 3 different address types, which address the receiver sees?

Or how do you sign a transaction that has 3 inputs from 3 different address types?

Honestly this is the first time I encounter this type of question myself.

Edit:
Would you need to first send from 2 address types to the third address and then send out whatever you want to your friend?

🖤😏
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18747


View Profile
January 11, 2024, 12:34:53 PM
Merited by ABCbits (1), digaran (1)
 #17

I know it has no accounts, but OP is asking: if he sends 1 transaction combining all 3 inputs from 3 different address types, which address the receiver sees?
The receiver sees the transaction, which will clearly contain all three addresses listed as inputs. How his particular wallet software displays that transaction may vary, but all three addresses will be part of the transaction.

Or how do you sign a transaction that has 3 inputs from 3 different address types?
Either import all three address types (and their relevant private keys) in to the same wallet, or move a partially signed transaction between three different wallets, each containing one address.

Would you need to first send from 2 address types to the third address and then send out whatever you want to your friend?
You could if you wanted, but there is no need to do this.

Here's a recent transaction from a couple of blocks ago which contains P2PKH, P2SH, and P2WPKH inputs altogether in the same transaction: https://mempool.space/tx/d556106e99a030496a7c959c29f45f5f514407e6fa2dd58ccff8548d07309f0f
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!