Bitcoin Forum
September 21, 2018, 01:12:57 PM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Tool to convert Segwit private key to public Segwit address?  (Read 632 times)
lukaexpl
Full Member
***
Offline Offline

Activity: 148
Merit: 100


View Profile
October 15, 2017, 07:58:08 AM
 #1

Is there an online tool or an Android wallet that can convert a Segwit address private key (generated via mnemonic seed on https://iancoleman.github.io/bip39/ under BIP49 derivation path) to a correct public address?
Both Mycelium android app or bitaddress.org come up with the same public address that is incorrect and does not start with 3.

I am doing this within the scope of Trezor testing. Trezor wallet generated with the same same seed offers Segwit addresses but I feel uncomfortable sending BTC to an address whose keys I am not able to restore with multiple tools.
1537535577
Hero Member
*
Offline Offline

Posts: 1537535577

View Profile Personal Message (Offline)

Ignore
1537535577
Reply with quote  #2

1537535577
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1537535577
Hero Member
*
Offline Offline

Posts: 1537535577

View Profile Personal Message (Offline)

Ignore
1537535577
Reply with quote  #2

1537535577
Report to moderator
1537535577
Hero Member
*
Offline Offline

Posts: 1537535577

View Profile Personal Message (Offline)

Ignore
1537535577
Reply with quote  #2

1537535577
Report to moderator
1537535577
Hero Member
*
Offline Offline

Posts: 1537535577

View Profile Personal Message (Offline)

Ignore
1537535577
Reply with quote  #2

1537535577
Report to moderator
aleksej996
Sr. Member
****
Offline Offline

Activity: 406
Merit: 299


Do not trust the government


View Profile WWW
October 15, 2017, 10:25:25 AM
 #2

You really shouldn't type your private key anywhere online, as you are practically giving the website your bitcoins. Instead download Bitcoin Core, you don't have to wait for it to sync up, just go to Help->Debug window->Console and type the
Code:
importprivkey "<yourprivatekey>
that should add the standard Bitcoin address corresponding to that private key to the wallet, then put that address in the following command
Code:
addwitnessaddress "<addressyouimported>"
. The result of that command will be your segwit address.

░░░░░░░▄▄▄▄▄▄
░░░░▄██████████▄
░░░██████████████
░░██████▐▌██████
█████░░░░░░░▀█████
██████▄▄░░▄▄░░██████
████████░░▀▀▄██████
████████░░▄▄▄░░█████
██████▀▀░░▀▀▀░░█████
█████░░░░░░░░█████
░░██████▐▌██████
░░░██████████████
░░░░▀██████████▀
░░░░░░░▀▀▀▀▀▀
░░░

                   BitCloak Bitcoin Mixer  
  BTC & BCH | API| MULTIADDRESS| PGP PROOF|  FAST MIX |  ESCROW|  MORE !

░░░░░░░▄▄▄▄▄▄
░░░░▄██████████▄
░░░██████████████
░░██████▐▌██████
█████░░░░░░░▀█████
██████▄▄░░▄▄░░██████
████████░░▀▀▄██████
████████░░▄▄▄░░█████
██████▀▀░░▀▀▀░░█████
█████░░░░░░░░█████
░░██████▐▌██████
░░░██████████████
░░░░▀██████████▀
░░░░░░░▀▀▀▀▀▀
░░░

monkeydominicorobin
Full Member
***
Offline Offline

Activity: 280
Merit: 104


✪ NEXCHANGE | BTC, LTC, ETH & DOGE ✪


View Profile
October 15, 2017, 11:56:06 AM
 #3

Is there an online tool or an Android wallet that can convert a Segwit address private key (generated via mnemonic seed on https://iancoleman.github.io/bip39/ under BIP49 derivation path) to a correct public address?
Both Mycelium android app or bitaddress.org come up with the same public address that is incorrect and does not start with 3.

I am doing this within the scope of Trezor testing. Trezor wallet generated with the same same seed offers Segwit addresses but I feel uncomfortable sending BTC to an address whose keys I am not able to restore with multiple tools.

It is not an incorrect address. Segwit address are actually 3 Bitcoin addresses. The old wallet address. The compressed address. And the the segwit address. You just got the old bitcoin/bitcore address but it is just the same. Send bitcoins in that address and it will be placed in the segwit address even if you check the block explorers. Send money to the segwit equivalent same thing will happen. Send it to the compressed bitcoin address the same thing will happen it will appear in the block explorers as value in your segwit address.

lukaexpl
Full Member
***
Offline Offline

Activity: 148
Merit: 100


View Profile
October 15, 2017, 07:30:11 PM
 #4

Is there an online tool or an Android wallet that can convert a Segwit address private key (generated via mnemonic seed on https://iancoleman.github.io/bip39/ under BIP49 derivation path) to a correct public address?
Both Mycelium android app or bitaddress.org come up with the same public address that is incorrect and does not start with 3.

I am doing this within the scope of Trezor testing. Trezor wallet generated with the same same seed offers Segwit addresses but I feel uncomfortable sending BTC to an address whose keys I am not able to restore with multiple tools.

It is not an incorrect address. Segwit address are actually 3 Bitcoin addresses. The old wallet address. The compressed address. And the the segwit address. You just got the old bitcoin/bitcore address but it is just the same. Send bitcoins in that address and it will be placed in the segwit address even if you check the block explorers. Send money to the segwit equivalent same thing will happen. Send it to the compressed bitcoin address the same thing will happen it will appear in the block explorers as value in your segwit address.

You got me properly confused with this one. I guess I have some reading to do.
aleksej996
Sr. Member
****
Offline Offline

Activity: 406
Merit: 299


Do not trust the government


View Profile WWW
October 15, 2017, 09:20:52 PM
 #5

Is there an online tool or an Android wallet that can convert a Segwit address private key (generated via mnemonic seed on https://iancoleman.github.io/bip39/ under BIP49 derivation path) to a correct public address?
Both Mycelium android app or bitaddress.org come up with the same public address that is incorrect and does not start with 3.

I am doing this within the scope of Trezor testing. Trezor wallet generated with the same same seed offers Segwit addresses but I feel uncomfortable sending BTC to an address whose keys I am not able to restore with multiple tools.

It is not an incorrect address. Segwit address are actually 3 Bitcoin addresses. The old wallet address. The compressed address. And the the segwit address. You just got the old bitcoin/bitcore address but it is just the same. Send bitcoins in that address and it will be placed in the segwit address even if you check the block explorers. Send money to the segwit equivalent same thing will happen. Send it to the compressed bitcoin address the same thing will happen it will appear in the block explorers as value in your segwit address.

You got me properly confused with this one. I guess I have some reading to do.

It isn't the same if you send to any of these addresses, on a technical level, that is all different. You won't be able to make a segwit transaction from a standard Bitcoin address, that is all you need to know for now. If you want to make a segwit tx in the future, you will need to send coins to the segwit address first (the one that starts with 3). Only when you send coins from a segwit address to a segwit address, that transaction is a segwit transaction and it will be smaller then a standard Bitcoin transaction.

░░░░░░░▄▄▄▄▄▄
░░░░▄██████████▄
░░░██████████████
░░██████▐▌██████
█████░░░░░░░▀█████
██████▄▄░░▄▄░░██████
████████░░▀▀▄██████
████████░░▄▄▄░░█████
██████▀▀░░▀▀▀░░█████
█████░░░░░░░░█████
░░██████▐▌██████
░░░██████████████
░░░░▀██████████▀
░░░░░░░▀▀▀▀▀▀
░░░

                   BitCloak Bitcoin Mixer  
  BTC & BCH | API| MULTIADDRESS| PGP PROOF|  FAST MIX |  ESCROW|  MORE !

░░░░░░░▄▄▄▄▄▄
░░░░▄██████████▄
░░░██████████████
░░██████▐▌██████
█████░░░░░░░▀█████
██████▄▄░░▄▄░░██████
████████░░▀▀▄██████
████████░░▄▄▄░░█████
██████▀▀░░▀▀▀░░█████
█████░░░░░░░░█████
░░██████▐▌██████
░░░██████████████
░░░░▀██████████▀
░░░░░░░▀▀▀▀▀▀
░░░

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!