Bitcoin Forum

Bitcoin => Hardware wallets => Topic started by: nanoledgers1990 on October 13, 2017, 08:19:28 AM



Title: Send BTC from a particular address? (Ledger Nano S)
Post by: nanoledgers1990 on October 13, 2017, 08:19:28 AM
I have received BTC three times to my Ledger Nano S. Three separate addresses have been created. When I want to send money, is there a way to choose which of these addresses to spend from?


Title: Re: Send BTC from a particular address? (Ledger Nano S)
Post by: poordeveloper on October 13, 2017, 10:59:54 PM
Did you receive the Bitcoins on all three different addresses?


Title: Re: Send BTC from a particular address? (Ledger Nano S)
Post by: TryNinja on October 14, 2017, 12:36:02 AM
Not sure if this would work, but it's worth the try.

1. Import your Ledger Nano S in Electrum;
2. Select the "Addresses" tab; (if it's not showing: View -> Show Addresses)
3. Right click the address you want to spend the coins and choose "Spend from";

Please report here if it worked.


Title: Re: Send BTC from a particular address? (Ledger Nano S)
Post by: bob123 on October 20, 2017, 05:43:52 PM
Not sure if this would work, but it's worth the try.

1. Import your Ledger Nano S in Electrum;
2. Select the "Addresses" tab; (if it's not showing: View -> Show Addresses)
3. Right click the address you want to spend the coins and choose "Spend from";

Please report here if it worked.

This, actually, is the only way this works.
Ledger Wallet software does not support sending from specific chosen addresses.
Of course there is quite a big risk contained in exporting/importing your private keys.
Theoretically it shouldn't matter from which address you send. Do you have a reason?


Title: Re: Send BTC from a particular address? (Ledger Nano S)
Post by: HCP on October 20, 2017, 10:26:16 PM
Of course there is quite a big risk contained in exporting/importing your private keys.
You don't actually have to "export" your private keys to "import" the Nano S into Electrum.

Simply create a new wallet using the "Use a hardware device" option (DO NOT have the Ledger wallet app open, and make sure you have already connected your Nano S, entered the PIN and opened the BTC app).

Electrum will import the master PUBLIC key... and will create what is in effect a "watching only" wallet... you should be able to see all your addresses, transactions and coins. You can use "View -> Addresses" and "View -> Coins" to make the "Addresses" and "Coins" tab visible if they are not already displayed.

You can then right click on a specific address and select "spend from" or on a specific output and select "spend" to create a transaction using only the UTXOs you want.

When you go to send the transaction, Electrum sends the unsigned transaction to the Nano S for confirmation and signing. Your private keys/seed will never need to leave the device or be exposed to a computer.


Title: Re: Send BTC from a particular address? (Ledger Nano S)
Post by: bL4nkcode on October 21, 2017, 04:43:48 AM
I have received BTC three times to my Ledger Nano S. Three separate addresses have been created. When I want to send money, is there a way to choose which of these addresses to spend from?

If you're using the ledger nano s to send from its chrome app using windows or on Mac using a computer then the answer is no. Try to follow what HCP said and it will help you a lot without exporting private keys of your ledger nano s. Quoted below.


Simply create a new wallet using the "Use a hardware device" option (DO NOT have the Ledger wallet app open, and make sure you have already connected your Nano S, entered the PIN and opened the BTC app).

Electrum will import the master PUBLIC key... and will create what is in effect a "watching only" wallet... you should be able to see all your addresses, transactions and coins. You can use "View -> Addresses" and "View -> Coins" to make the "Addresses" and "Coins" tab visible if they are not already displayed.

You can then right click on a specific address and select "spend from" or on a specific output and select "spend" to create a transaction using only the UTXOs you want.

When you go to send the transaction, Electrum sends the unsigned transaction to the Nano S for confirmation and signing. Your private keys/seed will never need to leave the device or be exposed to a computer.



Title: Re: Send BTC from a particular address? (Ledger Nano S)
Post by: XXX_BTC1@ on October 27, 2017, 11:42:39 AM
I have received BTC three times to my Ledger Nano S. Three separate addresses have been created. When I want to send money, is there a way to choose which of these addresses to spend from?

you have to use transfer of import ledger nano s electreum is the best wallet so try to use it. then you have to transfer your money in to from that. it is more secure wallet. so try in to this. and exporting of private keys.


Title: Re: Send BTC from a particular address? (Ledger Nano S)
Post by: simongoat on February 14, 2018, 03:50:05 PM
Not sure if this would work, but it's worth the try.

1. Import your Ledger Nano S in Electrum;
2. Select the "Addresses" tab; (if it's not showing: View -> Show Addresses)
3. Right click the address you want to spend the coins and choose "Spend from";

Please report here if it worked.

This, actually, is the only way this works.
Ledger Wallet software does not support sending from specific chosen addresses.
Of course there is quite a big risk contained in exporting/importing your private keys.
Theoretically it shouldn't matter from which address you send. Do you have a reason?

I tried and the 'spend from' option didn't come up even though it showed I had some btc on that address. I'm using a mac would that make any difference?



Title: Re: Send BTC from a particular address? (Ledger Nano S)
Post by: HCP on February 14, 2018, 05:29:33 PM
I tried and the 'spend from' option didn't come up even though it showed I had some btc on that address. I'm using a mac would that make any difference?

I'm fairly sure that this has nothing to do with you being on a mac. I've tested this on Electrum v3.0.6 on a Mac OSX Virtual Machine... when I select an address in my wallet that has a balance and right click I get the "Spend From" menu option.

What version of Electrum are you running?

How did you create the wallet? Did you create a new "standard" wallet and then selected "use a hardware device", or did you import your wallet using the xpub?



Title: Re: Send BTC from a particular address? (Ledger Nano S)
Post by: simongoat on February 14, 2018, 09:06:06 PM
I tried and the 'spend from' option didn't come up even though it showed I had some btc on that address. I'm using a mac would that make any difference?

I'm fairly sure that this has nothing to do with you being on a mac. I've tested this on Electrum v3.0.6 on a Mac OSX Virtual Machine... when I select an address in my wallet that has a balance and right click I get the "Spend From" menu option.

What version of Electrum are you running?

How did you create the wallet? Did you create a new "standard" wallet and then selected "use a hardware device", or did you import your wallet using the xpub?



I downloaded the current version on the website (today) then selected 'use a hardware device', it seemed to pick up my ledger addresses ok.



Title: Re: Send BTC from a particular address? (Ledger Nano S)
Post by: HCP on February 15, 2018, 02:34:35 AM
So the wallet is showing your addresses and transaction history OK? Does it show the correct balance?

If yes, are you definitely right-clicking on an address with a non-zero balance? you can only "Spend From" if the address has a non-zero balance. Even if the address was used previously (ie. TX value is non-zero), the "Spend From" option will only show if the current balance of that address is non-zero.


Non-zero balance shows "Spend From":
https://talkimg.com/images/2023/11/15/zp915.png


Zero balance does NOT show "Spend From":
https://talkimg.com/images/2023/11/15/zpBez.png



Title: Re: Send BTC from a particular address? (Ledger Nano S)
Post by: cipher-x_09 on February 23, 2018, 03:52:18 PM
OP why don't try reading this might provide some useful piece of information

https://bitcoin.stackexchange.com/questions/30149/how-do-i-spend-bitcoins-from-a-specific-address


Title: Re: Send BTC from a particular address? (Ledger Nano S)
Post by: CryptoRobert on March 03, 2018, 08:36:31 PM

Simply create a new wallet using the "Use a hardware device" option (DO NOT have the Ledger wallet app open, and make sure you have already connected your Nano S, entered the PIN and opened the BTC app).


Sorry, something that I don't understand: you say "DO NOT have the Ledger wallet app open" and then "make sure you have already connected your Nano S, entered the PIN and opened the BTC app" - are these two statements not in cotraddiction? If the BTC app has been opened is the Ledger wallet also not open?


Title: Re: Send BTC from a particular address? (Ledger Nano S)
Post by: BitcoinSupremo on March 03, 2018, 08:43:28 PM

Simply create a new wallet using the "Use a hardware device" option (DO NOT have the Ledger wallet app open, and make sure you have already connected your Nano S, entered the PIN and opened the BTC app).


Sorry, something that I don't understand: you say "DO NOT have the Ledger wallet app open" and then "make sure you have already connected your Nano S, entered the PIN and opened the BTC app" - are these two statements not in cotraddiction? If the BTC app has been opened is the Ledger wallet also not open?

I have not the Nano S but have the HW.1 and it should be the same, when you connect your wallet to the USB port of the PC, this means the wallet is connected but not the bitcoin app. You have to open from the programs menu the bitcoin app. So see the difference, it is not the same.


Title: Re: Send BTC from a particular address? (Ledger Nano S)
Post by: CryptoRobert on March 03, 2018, 10:03:13 PM

Simply create a new wallet using the "Use a hardware device" option (DO NOT have the Ledger wallet app open, and make sure you have already connected your Nano S, entered the PIN and opened the BTC app).


Sorry, something that I don't understand: you say "DO NOT have the Ledger wallet app open" and then "make sure you have already connected your Nano S, entered the PIN and opened the BTC app" - are these two statements not in cotraddiction? If the BTC app has been opened is the Ledger wallet also not open?

I have not the Nano S but have the HW.1 and it should be the same, when you connect your wallet to the USB port of the PC, this means the wallet is connected but not the bitcoin app. You have to open from the programs menu the bitcoin app. So see the difference, it is not the same.

Ok, I've got it. it's not the same. But still, how can you have the BTC app open while you are not having the Ledger wallet open? He says ""make sure you have already connected your Nano S, entered the PIN and opened the BTC app" which means that at that point also the wallet will be open ("when you connect your wallet to the USB port of the PC, this means the wallet is connected") and he says "DO NOT have the Ledger wallet app open". See the contraddiction?


Title: Re: Send BTC from a particular address? (Ledger Nano S)
Post by: HCP on March 03, 2018, 10:37:54 PM
Simply create a new wallet using the "Use a hardware device" option (DO NOT have the Ledger wallet app open, and make sure you have already connected your Nano S, entered the PIN and opened the BTC app).

Sorry, something that I don't understand: you say "DO NOT have the Ledger wallet app open" and then "make sure you have already connected your Nano S, entered the PIN and opened the BTC app" - are these two statements not in cotraddiction? If the BTC app has been opened is the Ledger wallet also not open?
No, they are not in contradiction to each other... Part of the confusion comes from the fact that there are TWO types of "app" involved... Firstly, the CHROME browser based "webapp"... and secondly, the "app" on the Ledger Nano S device itself...

"app" on device (you "open" it by clicking both buttons together):
https://talkimg.com/images/2023/11/15/zpE8N.jpeg


I should have been a bit clearer... apologies. It should have read: ""Use a hardware device" option (DO NOT have the CHROME browser-based "Ledger Wallet Bitcoin" webapp open, and make sure you have already connected your Nano S, entered the PIN and opened the BTC "app" on the Ledger device).


I have not the Nano S but have the HW.1 and it should be the same, when you connect your wallet to the USB port of the PC, this means the wallet is connected but not the bitcoin app. You have to open from the programs menu the bitcoin app. So see the difference, it is not the same.
No, they HW.1 and Nano S aren't quite the same... As explained, you don't just connect the Nano S and the wallet is connected... there are TWO components to the Ledger Nano S when trying to use a particular coin... the CHROME browser-based "webapp"... and then an "app" on the device itself which you have to open.


Ok, I've got it. it's not the same. But still, how can you have the BTC app open while you are not having the Ledger wallet open? He says ""make sure you have already connected your Nano S, entered the PIN and opened the BTC app" which means that at that point also the wallet will be open ("when you connect your wallet to the USB port of the PC, this means the wallet is connected") and he says "DO NOT have the Ledger wallet app open". See the contraddiction?
Again, apologies for the confusion... I wish Ledger had never used the nomenclature "app" to refer to the "coin selector" on the device itself... it can lead to confusion between the chrome webapps and the "apps" on the device itself, if the person trying to explain isn't careful :-\

#myBad  :-[