Bitcoin Forum
May 07, 2024, 05:47:33 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What is Sweep in Electrum wallet?  (Read 259 times)
RapTarX (OP)
Hero Member
*****
Offline Offline

Activity: 1358
Merit: 850



View Profile
November 14, 2019, 03:37:29 PM
Merited by logfiles (1)
 #1

I never noticed this "Sweep", just notice this while I was trying to learn some other stuffs. What is the use of "Sweep" in Electrum. I guess it's something related to Private key but I'm confused about its usage. It might be a very noob question but for me: It's something I can't figure out myself.


1715104053
Hero Member
*
Offline Offline

Posts: 1715104053

View Profile Personal Message (Offline)

Ignore
1715104053
Reply with quote  #2

1715104053
Report to moderator
The trust scores you see are subjective; they will change depending on who you have in your trust list.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715104053
Hero Member
*
Offline Offline

Posts: 1715104053

View Profile Personal Message (Offline)

Ignore
1715104053
Reply with quote  #2

1715104053
Report to moderator
1715104053
Hero Member
*
Offline Offline

Posts: 1715104053

View Profile Personal Message (Offline)

Ignore
1715104053
Reply with quote  #2

1715104053
Report to moderator
1715104053
Hero Member
*
Offline Offline

Posts: 1715104053

View Profile Personal Message (Offline)

Ignore
1715104053
Reply with quote  #2

1715104053
Report to moderator
DireWolfM14
Copper Member
Legendary
*
Offline Offline

Activity: 2170
Merit: 4238


Join the world-leading crypto sportsbook NOW!


View Profile WWW
November 14, 2019, 03:43:40 PM
 #2

It allows you to input private keys from another wallet and create a transaction to "sweep" all the bitcoin from those keys, and send them to your current wallet.

  ▄▄███████▄███████▄▄▄
 █████████████
▀▀▀▀▀▀████▄▄
███████████████
       ▀▀███▄
███████████████
          ▀███
 █████████████
             ███
███████████▀▀               ███
███                         ███
███                         ███
 ███                       ███
  ███▄                   ▄███
   ▀███▄▄             ▄▄███▀
     ▀▀████▄▄▄▄▄▄▄▄▄████▀▀
         ▀▀▀███████▀▀▀
░░░████▄▄▄▄
░▄▄░
▄▄███████▄▀█████▄▄
██▄████▌▐█▌█████▄██
████▀▄▄▄▌███░▄▄▄▀████
██████▄▄▄█▄▄▄██████
█░███████░▐█▌░███████░█
▀▀██▀░██░▐█▌░██░▀██▀▀
▄▄▄░█▀░█░██░▐█▌░██░█░▀█░▄▄▄
██▀░░░░▀██░▐█▌░██▀░░░░▀██
▀██
█████▄███▀▀██▀▀███▄███████▀
▀███████████████████████▀
▀▀▀▀███████████▀▀▀▀
▄▄██████▄▄
▀█▀
█  █▀█▀
  ▄█  ██  █▄  ▄
█ ▄█ █▀█▄▄█▀█ █▄ █
▀▄█ █ ███▄▄▄▄███ █ █▄▀
▀▀ █    ▄▄▄▄    █ ▀▀
   ██████   █
█     ▀▀     █
▀▄▀▄▀▄▀▄▀▄▀▄
▄ ██████▀▀██████ ▄
▄████████ ██ ████████▄
▀▀███████▄▄███████▀▀
▀▀▀████████▀▀▀
█████████████LEADING CRYPTO SPORTSBOOK & CASINO█████████████
MULTI
CURRENCY
1500+
CASINO GAMES
CRYPTO EXCLUSIVE
CLUBHOUSE
FAST & SECURE
PAYMENTS
.
..PLAY NOW!..
TryNinja
Legendary
*
Offline Offline

Activity: 2828
Merit: 6977



View Profile WWW
November 14, 2019, 03:48:35 PM
 #3

It’s the same as importing the private keys you input and sending all their coins to an address on the current wallet. When sweeping, Electrum does that for you. It’s usually useful for people “redeeming” paper wallets.

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

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

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

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

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

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











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











▄▄▄▄█
RapTarX (OP)
Hero Member
*****
Offline Offline

Activity: 1358
Merit: 850



View Profile
November 14, 2019, 03:58:28 PM
 #4

Well, then what's the difference between importing private key and sweeping a private key? What's the need of sweeping in that case.
For instance;
I have private key of the public address "X"
I can import the public address in my wallet since I have the private key. Why do I need to sweep it?
I guess I am not messing up figuring it out.

Moreover, will there be a transaction from the address "X" to any of my address?

TryNinja
Legendary
*
Offline Offline

Activity: 2828
Merit: 6977



View Profile WWW
November 14, 2019, 04:05:12 PM
Merited by RapTarX (1)
 #5

If you import the private key to make it part of your wallet, it won’t be restored along with the original addresses (of the wallet) if you ever restore it with the seed. Some people may forget this, discard the paper with the private key and lose the coins on that address.

The sweep option sends the coins from the address of the private key to one of the wallet’s address. It creates a transaction. Importing it doesn’t do anything on-chain.

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

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

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

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

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

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











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











▄▄▄▄█
DireWolfM14
Copper Member
Legendary
*
Offline Offline

Activity: 2170
Merit: 4238


Join the world-leading crypto sportsbook NOW!


View Profile WWW
November 14, 2019, 04:18:02 PM
Merited by hugeblack (1), o_e_l_e_o (1), logfiles (1), RapTarX (1)
 #6

Import private key: No transaction is generated.  All the coins are still in that address, but now you can manage them through Electrum.

Sweep private key: A transaction is created that sweeps all the currency from the key(s) into an address in your current wallet.

Like TryNinja said; If you have a wallet backed up by a seed phrase, and then import a key, that key is not backed up by the seed phrase.  The currency on those imported keys is not backed up by your seed phrase.  If you ever needed to restore your wallet from seed, you would have to import the key again to access it's contents.  If you sweep the key all the coins are moved to your current wallet, and therefor backed up by the seed.


  ▄▄███████▄███████▄▄▄
 █████████████
▀▀▀▀▀▀████▄▄
███████████████
       ▀▀███▄
███████████████
          ▀███
 █████████████
             ███
███████████▀▀               ███
███                         ███
███                         ███
 ███                       ███
  ███▄                   ▄███
   ▀███▄▄             ▄▄███▀
     ▀▀████▄▄▄▄▄▄▄▄▄████▀▀
         ▀▀▀███████▀▀▀
░░░████▄▄▄▄
░▄▄░
▄▄███████▄▀█████▄▄
██▄████▌▐█▌█████▄██
████▀▄▄▄▌███░▄▄▄▀████
██████▄▄▄█▄▄▄██████
█░███████░▐█▌░███████░█
▀▀██▀░██░▐█▌░██░▀██▀▀
▄▄▄░█▀░█░██░▐█▌░██░█░▀█░▄▄▄
██▀░░░░▀██░▐█▌░██▀░░░░▀██
▀██
█████▄███▀▀██▀▀███▄███████▀
▀███████████████████████▀
▀▀▀▀███████████▀▀▀▀
▄▄██████▄▄
▀█▀
█  █▀█▀
  ▄█  ██  █▄  ▄
█ ▄█ █▀█▄▄█▀█ █▄ █
▀▄█ █ ███▄▄▄▄███ █ █▄▀
▀▀ █    ▄▄▄▄    █ ▀▀
   ██████   █
█     ▀▀     █
▀▄▀▄▀▄▀▄▀▄▀▄
▄ ██████▀▀██████ ▄
▄████████ ██ ████████▄
▀▀███████▄▄███████▀▀
▀▀▀████████▀▀▀
█████████████LEADING CRYPTO SPORTSBOOK & CASINO█████████████
MULTI
CURRENCY
1500+
CASINO GAMES
CRYPTO EXCLUSIVE
CLUBHOUSE
FAST & SECURE
PAYMENTS
.
..PLAY NOW!..
Saint-loup
Legendary
*
Offline Offline

Activity: 2604
Merit: 2353



View Profile
November 14, 2019, 06:09:07 PM
 #7

I would add, the funds of your imported address won't be shown if you look at the xpub(or ypub, zpub) key of your wallet in a blockchain explorer.
If you send funds from an imported address, the change will be send back to this address in most of wallets.

██
██
██
██
██
██
██
██
██
██
██
██
██
... LIVECASINO.io    Play Live Games with up to 20% cashback!...██
██
██
██
██
██
██
██
██
██
██
██
██
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10555



View Profile
November 15, 2019, 05:59:12 AM
Merited by Abdussamad (2)
 #8

If you import the private key to make it part of your wallet, it won’t be restored along with the original addresses (of the wallet) if you ever restore it with the seed. Some people may forget this, discard the paper with the private key and lose the coins on that address.

for a couple of years now, Electrum does not allow you to import private keys in a wallet that has a seed to prevent this exact issue. it forces the user to create a new wallet with that private key so that the new wallet won't have any seed and only contain that key (address) hence reducing the chance of the users thinking they can restore that wallet from their seed.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
igor72
Legendary
*
Offline Offline

Activity: 1834
Merit: 2018


Crypto Swap Exchange


View Profile
November 15, 2019, 08:00:45 AM
 #9

I would add, the funds of your imported address won't be shown if you look at the xpub(or ypub, zpub) key of your wallet in a blockchain explorer.
If you were able to import key/address, it means that it is not a HD-wallet, so there is no extended key (xpub) in the wallet.

█▀▀▀











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











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

Activity: 2758
Merit: 7135



View Profile
November 15, 2019, 10:25:55 AM
 #10

@RapTarX
You should read this: https://bitcointalk.org/index.php?topic=5106984.0
logfiles wrote a great thread discussing the differences between sweeping and importing and when you should sweep or import your keys.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Saint-loup
Legendary
*
Offline Offline

Activity: 2604
Merit: 2353



View Profile
November 15, 2019, 11:03:48 AM
 #11

I would add, the funds of your imported address won't be shown if you look at the xpub(or ypub, zpub) key of your wallet in a blockchain explorer.
If you were able to import key/address, it means that it is not a HD-wallet, so there is no extended key (xpub) in the wallet.
It would be the same for the seed in this case... 
But I was talking about the software wallet : you can import keys in software wallets and web wallets that use HD wallet(s)

██
██
██
██
██
██
██
██
██
██
██
██
██
... LIVECASINO.io    Play Live Games with up to 20% cashback!...██
██
██
██
██
██
██
██
██
██
██
██
██
igor72
Legendary
*
Offline Offline

Activity: 1834
Merit: 2018


Crypto Swap Exchange


View Profile
November 15, 2019, 11:46:24 AM
 #12

I would add, the funds of your imported address won't be shown if you look at the xpub(or ypub, zpub) key of your wallet in a blockchain explorer.
If you were able to import key/address, it means that it is not a HD-wallet, so there is no extended key (xpub) in the wallet.
It would be the same for the seed in this case... 
But I was talking about the software wallet : you can import keys in software wallets and web wallets that use HD wallet(s)
We're talking about Electrum here. If the wallet is generated from seed, then it is not possible to import key/address into the wallet.

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Saint-loup
Legendary
*
Offline Offline

Activity: 2604
Merit: 2353



View Profile
November 15, 2019, 03:23:01 PM
 #13

I would add, the funds of your imported address won't be shown if you look at the xpub(or ypub, zpub) key of your wallet in a blockchain explorer.
If you were able to import key/address, it means that it is not a HD-wallet, so there is no extended key (xpub) in the wallet.
It would be the same for the seed in this case... 
But I was talking about the software wallet : you can import keys in software wallets and web wallets that use HD wallet(s)
We're talking about Electrum here. If the wallet is generated from seed, then it is not possible to import key/address into the wallet.
You don't understand what I mean I think(or you don't want to  Roll Eyes), you can import private keys in the software wallet Electrum. But of course it can't be imported in the HD wallet(s) of the software wallet...

██
██
██
██
██
██
██
██
██
██
██
██
██
... LIVECASINO.io    Play Live Games with up to 20% cashback!...██
██
██
██
██
██
██
██
██
██
██
██
██
TryNinja
Legendary
*
Offline Offline

Activity: 2828
Merit: 6977



View Profile WWW
November 15, 2019, 04:23:04 PM
 #14

You don't understand what I mean I think(or you don't want to  Roll Eyes), you can import private keys in the software wallet Electrum. But of course it can't be imported in the HD wallet(s) of the software wallet...
That's exactly what he said.

"If the wallet is generated from seed, then it is not possible to import key/address into the wallet."

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

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

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

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

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

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











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











▄▄▄▄█
AltcoinBuilder
Copper Member
Jr. Member
*
Offline Offline

Activity: 85
Merit: 5


View Profile WWW
November 27, 2019, 10:57:18 AM
 #15

sweep option create a transaction right? so what fee used for it? Huh
Lucius
Legendary
*
Offline Offline

Activity: 3234
Merit: 5637


Blackjack.fun-Free Raffle-Join&Win $50🎲


View Profile WWW
November 27, 2019, 11:31:15 AM
 #16

sweep option create a transaction right? so what fee used for it? Huh
It is the same as when you sending a normal transactions, fee can be determined by user preference, depending on a current number of transactions in mempool, or how fast/slow you want to get confirmation. You adjust fee, then click on the preview button to check all details (check your address to avoid clipboard malware), and then just click on send.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
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!