COBRAS (OP)
Member
Offline
Activity: 1016
Merit: 23
|
|
July 05, 2020, 07:06:54 PM |
|
Hello
Help please.
Neded to fined SigWit publick key, but /www.indicrypto.com give error The pubkey is Illegal character 0 at position 7
Br.
|
[
|
|
|
khaled0111
Legendary
Online
Activity: 2702
Merit: 3045
Top Crypto Casino
|
|
July 05, 2020, 08:01:42 PM |
|
Your question is not clear but I guess indicrypto.com didn't accept your bitcoin address because it's invalid, right? A bitcoin address can not contain the following characters: "0", "O", "I", "l" The reason is, as you may have noticed, those characters looks ,almost, the same which may result in typing a wrong address (visual ambiguity).
|
|
|
|
hosseinimr93
Legendary
Offline
Activity: 2576
Merit: 5673
|
|
July 05, 2020, 09:07:37 PM |
|
A bitcoin address can not contain the following characters: "0", "O", "I", "l"
It's only true about legacy and nested segwit addresses. "0" and "l" can appear in a native segwit address. Also, "1" and "b" cannot appear in a native segwit address. ("1" and "b" appear in "bc1", of course.)
|
|
|
|
nc50lc
Legendary
Offline
Activity: 2590
Merit: 6366
Self-proclaimed Genius
|
|
July 06, 2020, 02:50:50 AM Last edit: July 11, 2020, 11:57:06 AM by nc50lc |
|
Neded to fined SigWit publick key, but /www.indicrypto.com give error The pubkey is Illegal character 0 at position 7
That's a very broken website IMO, it's full of dead links at my end. For your question, you wont be able to find the public key unless you own the address ( you have the priv key) or it was used to send bitcoins at least one time. If it was used before and it's a P2WPKH or a P2WPKH-in-P2SH, simply paste it in a blockexplorer: use blockstream.info to follow this: Click a transaction that used it as an input. Click " Details +" and Find " Witness" inside that particular input. The 33Byte string ( 66 characters) after the last space is that SegWit address' public key. -Update-If it's a P2WSH script, find " P2WSH WITNESS SCRIPT" and the 33Byte string after OP_PUSHBYTES_33, before OP_CHECKSIG is the public key. But for Multisig, there should be more than one Public key.
|
|
|
|
alani123
Legendary
Offline
Activity: 2576
Merit: 1510
|
|
July 06, 2020, 02:56:39 AM |
|
If you have a bitcoin wallet installed, you could in theory use it to derive bitcoin addresses of any type from your keys. In bitcoin core you can do it with the command deriveaddresses. Look up the docs for more details: https://bitcoincore.org/en/doc/0.18.0/rpc/util/deriveaddresses/There are online tools also. For example: https://peersm.com/walletBut please, always prefer a local solution. Online sites are trust-based and not to be trusted over your own machines integrity.
|
| Duelbits | ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ | | TRY OUR UNIQUE GAMES! ◥ DICE ◥ MINES ◥ PLINKO ◥ DUEL POKER ◥ DICE DUELS | | | | █▀▀ █ █ █ █ █ █ █ █ █ █ █ █▄▄ | ███ ▀▀▀ ███ ▀▀▀ ███ ▀▀▀ ███ ▀▀▀ ███ ▀▀▀ ███ ▀▀▀ | ███ ▀▀▀ ███ ▀▀▀ ███ ▀▀▀ ███ ▀▀▀ ███ ▀▀▀ ███ ▀▀▀ | ███ ▀▀▀ ███ ▀▀▀ ███ ▀▀▀ ███ ▀▀▀ ███ ▀▀▀ ███ ▀▀▀ | ███ ▀▀▀ ███ ▀▀▀ ███ ▀▀▀ ███ ▀▀▀ ███ ▀▀▀ ███ ▀▀▀ | ███ ▀▀▀ ███ ▀▀▀ ███ ▀▀▀ ███ ▀▀▀ ███ ▀▀▀ ███ ▀▀▀ | | ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ KENONEW ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | ▀▀█ █ █ █ █ █ █ █ █ █ █ █ ▄▄█ | | 10,000x MULTIPLIER | | ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ | | ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ |
[/tabl
|
|
|
nc50lc
Legendary
Offline
Activity: 2590
Merit: 6366
Self-proclaimed Genius
|
|
July 06, 2020, 03:27:52 AM |
|
AFAIK, it will do vice versa. It will derive some of the addresses based from your given public key or master public key. I think OP wants to find the public key of a native SegWit address based from the error he got from his linked website.
|
|
|
|
TheArchaeologist
|
|
July 06, 2020, 06:52:39 AM |
|
Hello
Help please.
Neded to fined SigWit publick key, but /www.indicrypto.com give error The pubkey is Illegal character 0 at position 7
Br.
OK, try to answer the following questions so we know what you are trying to do: - Do you have a native Segwit Address (starting with bc)? If so please give this address
- Has this address been used before to send funds? If so, we can show you how to obtain the public key. If not, it is not possible since we only know a hash of the key, not the key itself.
But most importantly: why? What are you trying to do? Seeing all your posts here you are trying to "calculate" the private key based on a known public key. If that is indeed the case you have been told multiple times that won't happen..
|
Sooner or later you're going to realize, just as I did, that there's a difference between knowing the path and walking the path
|
|
|
COBRAS (OP)
Member
Offline
Activity: 1016
Merit: 23
|
|
July 06, 2020, 10:41:29 AM |
|
Hello
Help please.
Neded to fined SigWit publick key, but /www.indicrypto.com give error The pubkey is Illegal character 0 at position 7
Br.
OK, try to answer the following questions so we know what you are trying to do: - Do you have a native Segwit Address (starting with bc)? If so please give this address
- Has this address been used before to send funds? If so, we can show you how to obtain the public key. If not, it is not possible since we only know a hash of the key, not the key itself.
But most importantly: why? What are you trying to do? Seeing all your posts here you are trying to "calculate" the private key based on a known public key. If that is indeed the case you have been told multiple times that won't happen.. Thank you for your help - adress for ex. bc1qzgkzgavk6xveej7zpl9pwn2fw5l3lufwjyaze8 Help me please obtain publick key from this adress ? Adress has incoming and outgoing transaction. https://blockchair.com/bitcoin/address/bc1qzgkzgavk6xveej7zpl9pwn2fw5l3lufwjyaze8
|
[
|
|
|
TheArchaeologist
|
|
July 06, 2020, 11:59:14 AM |
|
Thank you for your help - adress for ex. bc1qzgkzgavk6xveej7zpl9pwn2fw5l3lufwjyaze8
Pubkey for bc1qzgkzgavk6xveej7zpl9pwn2fw5l3lufwjyaze8:
03409f1b64a5c66599feafaf4cadfa84ab5c058aa3ef29e128582ae83717b19c57
|
Sooner or later you're going to realize, just as I did, that there's a difference between knowing the path and walking the path
|
|
|
COBRAS (OP)
Member
Offline
Activity: 1016
Merit: 23
|
|
July 06, 2020, 12:09:54 PM |
|
Thank you for your help - adress for ex. bc1qzgkzgavk6xveej7zpl9pwn2fw5l3lufwjyaze8
Pubkey for bc1qzgkzgavk6xveej7zpl9pwn2fw5l3lufwjyaze8:
03409f1b64a5c66599feafaf4cadfa84ab5c058aa3ef29e128582ae83717b19c57
cool. https://www.indicrypto.com show what adress for this pubkey is 12f63XH2x5P88TKNdhSMcw9NjteuSr1anq and indicrypto cant fined pubkey for this adress, i think becouse no transction ! Bro how you get pubkey for bc1 ? I very need it. Explain please how to get pubkey for bc1 ?Bro, does pubkey for bc1 dresses not start with "xpub" Is no error in 03409f1b64a5c66599feafaf4cadfa84ab5c058aa3ef29e128582ae83717b19c57 ??
|
[
|
|
|
mocacinno
Legendary
Offline
Activity: 3570
Merit: 5233
https://merel.mobi => buy facemasks with BTC/LTC
|
|
July 06, 2020, 12:15:08 PM |
|
Probably because they haven't updated their code since segwit... and indicrypto cant fined pubkey for this adress, i think becouse no transction !
yup... If you haven't spent any unspent outputs funding a certain address, the public key has not yet been broadcasted... Bro how you get pubkey for bc1 ? I very need it. Explain please how to get pubkey for bc1 ?
There are many ways, but you can just use a blockexplorer if you want to... Or you can fetch the raw, signed transaction spending unspent outputs funding the address and decode said transaction... https://www.blockchain.com/btc/address/bc1qzgkzgavk6xveej7zpl9pwn2fw5l3lufwjyaze8or... here's the (only) raw tx spending funds that were previously funding bc1qzgkzgavk6xveej7zpl9pwn2fw5l3lufwjyaze8 01000000000104e1a701c900e771b6036122eb10a8c81f36fd82358da4e9aea8e45601bca55635110000006a473044022058d69a6f391e29906402ba8e33f5ce80890ebfc94122a5938b170128abb14da202200c1a846dc9f92b75f2dfd9227f5bc630d5b27b30711aeca4cbd50026cb239ea6012102c1befa3c4b3e4380aa6819f6f511db6b798db3ea5da69b0903eb25fea9076c20ffffffffdabcee894ef2216a128998e9fa2225cf93f9e62f66a634c4fc6b219359155ac70000000000ffffffff1c525d5f6424653b09ac89e5f7075d4c622d8e9acc3c205cfdc24770248c76510000000000ffffffffd737f1c9ff1a3aee2a6fb384b7b81f71ba17678710ab149843e0f0267842b99a0000000000ffffffff0270fe9500000000001976a91455fdac3573f34c67b1547de4ae0989ae94a71d1488acb05d7b0000000000160014b530b2573aab9d86fede0f0c5eb3315b16d654c80002483045022100b2e6dbc3f08615514ce81c9a8f6fd2a76f1e6cdbfe853b6995400b972668668602200af9225ac7aff3c8bf7a71c21adca097bb31ad64a52f7ae3bddfde4c23215a0e012103409f1b64a5c66599feafaf4cadfa84ab5c058aa3ef29e128582ae83717b19c5702483045022100e6805ee02d063d784d568318aa911b200afd138954bea2e52dc50777470fdac502203d48664a3ea3ebdd962364a3f373b6d4f182b7e3306dcbf0063ed5e2c5d87654012103409f1b64a5c66599feafaf4cadfa84ab5c058aa3ef29e128582ae83717b19c57024730440220476ef5c395dd30dacac4c5476cc7c6d258de9c8e7581c26304f27dded4e810f50220100163a5f440f01442ec1eaafece26e43a54d11ab1d686fd3bae22ae3c1e66db0121036346635ba513c63eb3b2afbc4e9d34ae5b5de9208e703ad0d3173c25c97626b400000000
Bro, does pubkey for bc1 dresses not start with "xpub" nope Is no error in 03409f1b64a5c66599feafaf4cadfa84ab5c058aa3ef29e128582ae83717b19c57 ?? no
|
|
|
|
COBRAS (OP)
Member
Offline
Activity: 1016
Merit: 23
|
|
July 06, 2020, 12:24:45 PM |
|
or... here's the (only) raw tx spending funds that were previously funding bc1qzgkzgavk6xveej7zpl9pwn2fw5l3lufwjyaze8 01000000000104e1a701c900e771b6036122eb10a8c81f36fd82358da4e9aea8e45601bca55635110000006a473044022058d69a6f391e29906402ba8e33f5ce80890ebfc94122a5938b170128abb14da202200c1a846dc9f92b75f2dfd9227f5bc630d5b27b30711aeca4cbd50026cb239ea6012102c1befa3c4b3e4380aa6819f6f511db6b798db3ea5da69b0903eb25fea9076c20ffffffffdabcee894ef2216a128998e9fa2225cf93f9e62f66a634c4fc6b219359155ac70000000000ffffffff1c525d5f6424653b09ac89e5f7075d4c622d8e9acc3c205cfdc24770248c76510000000000ffffffffd737f1c9ff1a3aee2a6fb384b7b81f71ba17678710ab149843e0f0267842b99a0000000000ffffffff0270fe9500000000001976a91455fdac3573f34c67b1547de4ae0989ae94a71d1488acb05d7b0000000000160014b530b2573aab9d86fede0f0c5eb3315b16d654c80002483045022100b2e6dbc3f08615514ce81c9a8f6fd2a76f1e6cdbfe853b6995400b972668668602200af9225ac7aff3c8bf7a71c21adca097bb31ad64a52f7ae3bddfde4c23215a0e012103409f1b64a5c66599feafaf4cadfa84ab5c058aa3ef29e128582ae83717b19c5702483045022100e6805ee02d063d784d568318aa911b200afd138954bea2e52dc50777470fdac502203d48664a3ea3ebdd962364a3f373b6d4f182b7e3306dcbf0063ed5e2c5d87654012103409f1b64a5c66599feafaf4cadfa84ab5c058aa3ef29e128582ae83717b19c57024730440220476ef5c395dd30dacac4c5476cc7c6d258de9c8e7581c26304f27dded4e810f50220100163a5f440f01442ec1eaafece26e43a54d11ab1d686fd3bae22ae3c1e66db0121036346635ba513c63eb3b2afbc4e9d34ae5b5de9208e703ad0d3173c25c97626b400000000
Bro, and how to fined exact pubkey ? I was found pubkey in this raw transaction, but I was know pubkey and use search/ How many bytes I need sheft fo start of raw transaction, or enother method get pubkey from raw transaction. Explain this more datailed please edit: privkeys for bc1 and the pubkey will be the same or different Big Thank you !!!
|
[
|
|
|
mocacinno
Legendary
Offline
Activity: 3570
Merit: 5233
https://merel.mobi => buy facemasks with BTC/LTC
|
|
July 06, 2020, 12:28:15 PM |
|
--snip-- Bro, and how to fined exact pubkey ? I was found pubkey in this raw transaction, but I was know pubkey and use search/ How many bytes I need sheft fo start of raw transaction, or enother method get pubkey from raw transaction. Explain this more datailed please If you have bitcoin core installed locally (or on a server you can access), you can just do bitcoin-cli decoderawtransaction [rawtx] You'll see the unspent outputs being used as an input to your transaction (vin), and you'll see the pubkey straight away... If you don't have bitcoin core, just use google and search for something like "decode raw bitcoin transaction online"... There are tons of tools to help you do exactly this... bitcoin-cli decoderawtransaction 01000000000104e1a701c900e771b6036122eb10a8c81f36fd82358da4e9aea8e45601bca55635110000006a473044022058d69a6f391e29906402ba8e33f5ce80890ebfc94122a5938b170128abb14da202200c1a846dc9f92b75f2dfd9227f5bc630d5b27b30711aeca4cbd50026cb239ea6012102c1befa3c4b3e4380aa6819f6f511db6b798db3ea5da69b0903eb25fea9076c20ffffffffdabcee894ef2216a128998e9fa2225cf93f9e62f66a634c4fc6b219359155ac70000000000ffffffff1c525d5f6424653b09ac89e5f7075d4c622d8e9acc3c205cfdc24770248c76510000000000ffffffffd737f1c9ff1a3aee2a6fb384b7b81f71ba17678710ab149843e0f0267842b99a0000000000ffffffff0270fe9500000000001976a91455fdac3573f34c67b1547de4ae0989ae94a71d1488acb05d7b0000000000160014b530b2573aab9d86fede0f0c5eb3315b16d654c80002483045022100b2e6dbc3f08615514ce81c9a8f6fd2a76f1e6cdbfe853b6995400b972668668602200af9225ac7aff3c8bf7a71c21adca097bb31ad64a52f7ae3bddfde4c23215a0e012103409f1b64a5c66599feafaf4cadfa84ab5c058aa3ef29e128582ae83717b19c5702483045022100e6805ee02d063d784d568318aa911b200afd138954bea2e52dc50777470fdac502203d48664a3ea3ebdd962364a3f373b6d4f182b7e3306dcbf0063ed5e2c5d87654012103409f1b64a5c66599feafaf4cadfa84ab5c058aa3ef29e128582ae83717b19c57024730440220476ef5c395dd30dacac4c5476cc7c6d258de9c8e7581c26304f27dded4e810f50220100163a5f440f01442ec1eaafece26e43a54d11ab1d686fd3bae22ae3c1e66db0121036346635ba513c63eb3b2afbc4e9d34ae5b5de9208e703ad0d3173c25c97626b400000000 { "txid": "c24ba1552914fc6ff3c13b4f566374b1191b1203136de961c5d62825c3729920", "hash": "a20d5717f0d8e25107f570009970da305e0e68f7c1a7d97c1321a62f95f796c4", "version": 1, "size": 671, "vsize": 427, "locktime": 0, "vin": [ { "txid": "3556a5bc0156e4a8aee9a48d3582fd361fc8a810eb226103b671e700c901a7e1", "vout": 17, "scriptSig": { "asm": "3044022058d69a6f391e29906402ba8e33f5ce80890ebfc94122a5938b170128abb14da202200c1a846dc9f92b75f2dfd9227f5bc630d5b27b30711aeca4cbd50026cb239ea6[ALL] 02c1befa3c4b3e4380aa6819f6f511db6b798db3ea5da69b0903eb25fea9076c20", "hex": "473044022058d69a6f391e29906402ba8e33f5ce80890ebfc94122a5938b170128abb14da202200c1a846dc9f92b75f2dfd9227f5bc630d5b27b30711aeca4cbd50026cb239ea6012102c1befa3c4b3e4380aa6819f6f511db6b798db3ea5da69b0903eb25fea9076c20" }, "sequence": 4294967295 }, { "txid": "c75a155993216bfcc434a6662fe6f993cf2522fae99889126a21f24e89eebcda", "vout": 0, "scriptSig": { "asm": "", "hex": "" }, "txinwitness": [ "3045022100b2e6dbc3f08615514ce81c9a8f6fd2a76f1e6cdbfe853b6995400b972668668602200af9225ac7aff3c8bf7a71c21adca097bb31ad64a52f7ae3bddfde4c23215a0e01", "03409f1b64a5c66599feafaf4cadfa84ab5c058aa3ef29e128582ae83717b19c57" ], "sequence": 4294967295 }, { "txid": "51768c247047c2fd5c203ccc9a8e2d624c5d07f7e589ac093b6524645f5d521c", "vout": 0, "scriptSig": { "asm": "", "hex": "" }, "txinwitness": [ "3045022100e6805ee02d063d784d568318aa911b200afd138954bea2e52dc50777470fdac502203d48664a3ea3ebdd962364a3f373b6d4f182b7e3306dcbf0063ed5e2c5d8765401", "03409f1b64a5c66599feafaf4cadfa84ab5c058aa3ef29e128582ae83717b19c57" ], "sequence": 4294967295 }, { "txid": "9ab9427826f0e0439814ab10876717ba711fb8b784b36f2aee3a1affc9f137d7", "vout": 0, "scriptSig": { "asm": "", "hex": "" }, "txinwitness": [ "30440220476ef5c395dd30dacac4c5476cc7c6d258de9c8e7581c26304f27dded4e810f50220100163a5f440f01442ec1eaafece26e43a54d11ab1d686fd3bae22ae3c1e66db01", "036346635ba513c63eb3b2afbc4e9d34ae5b5de9208e703ad0d3173c25c97626b4" ], "sequence": 4294967295 } ], "vout": [ { "value": 0.09830000, "n": 0, "scriptPubKey": { "asm": "OP_DUP OP_HASH160 55fdac3573f34c67b1547de4ae0989ae94a71d14 OP_EQUALVERIFY OP_CHECKSIG", "hex": "76a91455fdac3573f34c67b1547de4ae0989ae94a71d1488ac", "reqSigs": 1, "type": "pubkeyhash", "addresses": [ "18qgKo15Q3sMWFw89UtUuv6iaixP4XF1k7" ] } }, { "value": 0.08084912, "n": 1, "scriptPubKey": { "asm": "0 b530b2573aab9d86fede0f0c5eb3315b16d654c8", "hex": "0014b530b2573aab9d86fede0f0c5eb3315b16d654c8", "reqSigs": 1, "type": "witness_v0_keyhash", "addresses": [ "bc1qk5cty4e64wwcdlk7pux9ave3tvtdv4xgl2uf6g" ] } } ] }
|
|
|
|
COBRAS (OP)
Member
Offline
Activity: 1016
Merit: 23
|
|
July 06, 2020, 12:38:53 PM |
|
--snip-- Bro, and how to fined exact pubkey ? I was found pubkey in this raw transaction, but I was know pubkey and use search/ How many bytes I need sheft fo start of raw transaction, or enother method get pubkey from raw transaction. Explain this more datailed please If you have bitcoin core installed locally (or on a server you can access), you can just do bitcoin-cli decoderawtransaction [rawtx] You'll see the unspent outputs being used as an input to your transaction (vin), and you'll see the pubkey straight away... If you don't have bitcoin core, just use google and search for something like "decode raw bitcoin transaction online"... There are tons of tools to help you do exactly this... bitcoin-cli decoderawtransaction 01000000000104e1a701c900e771b6036122eb10a8c81f36fd82358da4e9aea8e45601bca55635110000006a473044022058d69a6f391e29906402ba8e33f5ce80890ebfc94122a5938b170128abb14da202200c1a846dc9f92b75f2dfd9227f5bc630d5b27b30711aeca4cbd50026cb239ea6012102c1befa3c4b3e4380aa6819f6f511db6b798db3ea5da69b0903eb25fea9076c20ffffffffdabcee894ef2216a128998e9fa2225cf93f9e62f66a634c4fc6b219359155ac70000000000ffffffff1c525d5f6424653b09ac89e5f7075d4c622d8e9acc3c205cfdc24770248c76510000000000ffffffffd737f1c9ff1a3aee2a6fb384b7b81f71ba17678710ab149843e0f0267842b99a0000000000ffffffff0270fe9500000000001976a91455fdac3573f34c67b1547de4ae0989ae94a71d1488acb05d7b0000000000160014b530b2573aab9d86fede0f0c5eb3315b16d654c80002483045022100b2e6dbc3f08615514ce81c9a8f6fd2a76f1e6cdbfe853b6995400b972668668602200af9225ac7aff3c8bf7a71c21adca097bb31ad64a52f7ae3bddfde4c23215a0e012103409f1b64a5c66599feafaf4cadfa84ab5c058aa3ef29e128582ae83717b19c5702483045022100e6805ee02d063d784d568318aa911b200afd138954bea2e52dc50777470fdac502203d48664a3ea3ebdd962364a3f373b6d4f182b7e3306dcbf0063ed5e2c5d87654012103409f1b64a5c66599feafaf4cadfa84ab5c058aa3ef29e128582ae83717b19c57024730440220476ef5c395dd30dacac4c5476cc7c6d258de9c8e7581c26304f27dded4e810f50220100163a5f440f01442ec1eaafece26e43a54d11ab1d686fd3bae22ae3c1e66db0121036346635ba513c63eb3b2afbc4e9d34ae5b5de9208e703ad0d3173c25c97626b400000000 { "txid": "c24ba1552914fc6ff3c13b4f566374b1191b1203136de961c5d62825c3729920", "hash": "a20d5717f0d8e25107f570009970da305e0e68f7c1a7d97c1321a62f95f796c4", "version": 1, "size": 671, "vsize": 427, "locktime": 0, "vin": [ { "txid": "3556a5bc0156e4a8aee9a48d3582fd361fc8a810eb226103b671e700c901a7e1", "vout": 17, "scriptSig": { "asm": "3044022058d69a6f391e29906402ba8e33f5ce80890ebfc94122a5938b170128abb14da202200c1a846dc9f92b75f2dfd9227f5bc630d5b27b30711aeca4cbd50026cb239ea6[ALL] 02c1befa3c4b3e4380aa6819f6f511db6b798db3ea5da69b0903eb25fea9076c20", "hex": "473044022058d69a6f391e29906402ba8e33f5ce80890ebfc94122a5938b170128abb14da202200c1a846dc9f92b75f2dfd9227f5bc630d5b27b30711aeca4cbd50026cb239ea6012102c1befa3c4b3e4380aa6819f6f511db6b798db3ea5da69b0903eb25fea9076c20" }, "sequence": 4294967295 }, { "txid": "c75a155993216bfcc434a6662fe6f993cf2522fae99889126a21f24e89eebcda", "vout": 0, "scriptSig": { "asm": "", "hex": "" }, "txinwitness": [ "3045022100b2e6dbc3f08615514ce81c9a8f6fd2a76f1e6cdbfe853b6995400b972668668602200af9225ac7aff3c8bf7a71c21adca097bb31ad64a52f7ae3bddfde4c23215a0e01", "03409f1b64a5c66599feafaf4cadfa84ab5c058aa3ef29e128582ae83717b19c57" ], "sequence": 4294967295 }, { "txid": "51768c247047c2fd5c203ccc9a8e2d624c5d07f7e589ac093b6524645f5d521c", "vout": 0, "scriptSig": { "asm": "", "hex": "" }, "txinwitness": [ "3045022100e6805ee02d063d784d568318aa911b200afd138954bea2e52dc50777470fdac502203d48664a3ea3ebdd962364a3f373b6d4f182b7e3306dcbf0063ed5e2c5d8765401", "03409f1b64a5c66599feafaf4cadfa84ab5c058aa3ef29e128582ae83717b19c57" ], "sequence": 4294967295 }, { "txid": "9ab9427826f0e0439814ab10876717ba711fb8b784b36f2aee3a1affc9f137d7", "vout": 0, "scriptSig": { "asm": "", "hex": "" }, "txinwitness": [ "30440220476ef5c395dd30dacac4c5476cc7c6d258de9c8e7581c26304f27dded4e810f50220100163a5f440f01442ec1eaafece26e43a54d11ab1d686fd3bae22ae3c1e66db01", "036346635ba513c63eb3b2afbc4e9d34ae5b5de9208e703ad0d3173c25c97626b4" ], "sequence": 4294967295 } ], "vout": [ { "value": 0.09830000, "n": 0, "scriptPubKey": { "asm": "OP_DUP OP_HASH160 55fdac3573f34c67b1547de4ae0989ae94a71d14 OP_EQUALVERIFY OP_CHECKSIG", "hex": "76a91455fdac3573f34c67b1547de4ae0989ae94a71d1488ac", "reqSigs": 1, "type": "pubkeyhash", "addresses": [ "18qgKo15Q3sMWFw89UtUuv6iaixP4XF1k7" ] } }, { "value": 0.08084912, "n": 1, "scriptPubKey": { "asm": "0 b530b2573aab9d86fede0f0c5eb3315b16d654c8", "hex": "0014b530b2573aab9d86fede0f0c5eb3315b16d654c8", "reqSigs": 1, "type": "witness_v0_keyhash", "addresses": [ "bc1qk5cty4e64wwcdlk7pux9ave3tvtdv4xgl2uf6g" ] } } ] }
Bro, as I right understand this is pubkey: "txinwitness": [ "30440220476ef5c395dd30dacac4c5476cc7c6d258de9c8e7581c26304f27dded4e810f50220100 163a5f440f01442ec1eaafece26e43a54d11ab1d686fd3bae22ae3c1e66db01", "036346635ba513c63eb3b2afbc4e9d34ae5b5de9208e703ad0d3173c25c97626b4" ], "sequence": 4294967295 But - this is 2 legit pubkey for 2 btc adresses ? What pubkey is need to use ?
|
[
|
|
|
mocacinno
Legendary
Offline
Activity: 3570
Merit: 5233
https://merel.mobi => buy facemasks with BTC/LTC
|
|
July 06, 2020, 12:45:04 PM |
|
Bro, as I right understand this is pubkey: "txinwitness": [ "30440220476ef5c395dd30dacac4c5476cc7c6d258de9c8e7581c26304f27dded4e810f50220100 163a5f440f01442ec1eaafece26e43a54d11ab1d686fd3bae22ae3c1e66db01", "036346635ba513c63eb3b2afbc4e9d34ae5b5de9208e703ad0d3173c25c97626b4" ], "sequence": 4294967295 But - this is 2 legit pubkey for 2 btc adresses ? What pubkey is need to use ? 30440220476ef5c395dd30dacac4c5476cc7c6d258de9c8e7581c26304f27dded4e810f50220100 163a5f440f01442ec1eaafece26e43a54d11ab1d686fd3bae22ae3c1e66db01 = signature 036346635ba513c63eb3b2afbc4e9d34ae5b5de9208e703ad0d3173c25c97626b4 = public key Or are you talking about the fact that you see 3 unique signatures and 2 unique public keys? That's because this transaction uses 1 unspent output funding the address you're investigating, and 2 unspent outpust from a different address (most likely both addresses belong to the same wallet).
|
|
|
|
COBRAS (OP)
Member
Offline
Activity: 1016
Merit: 23
|
|
July 06, 2020, 12:46:21 PM |
|
Bro, as I right understand this is pubkey: "txinwitness": [ "30440220476ef5c395dd30dacac4c5476cc7c6d258de9c8e7581c26304f27dded4e810f50220100 163a5f440f01442ec1eaafece26e43a54d11ab1d686fd3bae22ae3c1e66db01", "036346635ba513c63eb3b2afbc4e9d34ae5b5de9208e703ad0d3173c25c97626b4" ], "sequence": 4294967295 But - this is 2 legit pubkey for 2 btc adresses ? What pubkey is need to use ? 30440220476ef5c395dd30dacac4c5476cc7c6d258de9c8e7581c26304f27dded4e810f50220100 163a5f440f01442ec1eaafece26e43a54d11ab1d686fd3bae22ae3c1e66db01 = signature 036346635ba513c63eb3b2afbc4e9d34ae5b5de9208e703ad0d3173c25c97626b4 = public key Thank You Bro. Privkey for bc1 and the pubkey will be the same or different
|
[
|
|
|
TheArchaeologist
|
|
July 06, 2020, 12:46:32 PM |
|
Bro how you get pubkey for bc1 ? I very need it. Explain please how to get pubkey for bc1 ?
Can you please read the answers already given? That's a very broken website IMO, it's full of dead links at my end. For your question, you wont be able to find the public key unless you own the address ( you have the priv key) or it was used to send bitcoins at least one time. If it was used before and it's a P2WPKH or a P2WPKH-in-P2SH, simply paste it in a blockexplorer: use blockstream.info to follow this: Click a transaction that used it as an input. Click " Details +" and Find " Witness" inside that particular input. The 33Byte string ( 66 characters) after the last space is that SegWit address' public key. To sum up: - The segwit address has to be used as an input in a transaction, if not then the public key is not known in the blockchain.
- So you need to find a transaction where the segwit address is used as an input. Any blockexplorer should be able to help you with this
- Once you have a transaction id either use @nc50lc description I linked above to get the pubkey
- Or you could use bitcoin cores bitcoin-cli to decode a transaction as described by @mocacinno
But the real question remains: why do you need these public keys??. I have an idea though...
|
Sooner or later you're going to realize, just as I did, that there's a difference between knowing the path and walking the path
|
|
|
COBRAS (OP)
Member
Offline
Activity: 1016
Merit: 23
|
|
July 06, 2020, 12:49:08 PM |
|
Bro how you get pubkey for bc1 ? I very need it. Explain please how to get pubkey for bc1 ?
Can you please read the answers already given? That's a very broken website IMO, it's full of dead links at my end. For your question, you wont be able to find the public key unless you own the address ( you have the priv key) or it was used to send bitcoins at least one time. If it was used before and it's a P2WPKH or a P2WPKH-in-P2SH, simply paste it in a blockexplorer: use blockstream.info to follow this: Click a transaction that used it as an input. Click " Details +" and Find " Witness" inside that particular input. The 33Byte string ( 66 characters) after the last space is that SegWit address' public key. To sum up: - The segwit address has to be used as an input in a transaction, if not then the public key is not known in the blockchain.
- So you need to find a transaction where the segwit address is used as an input. Any blockexplorer should be able to help you with this
- Once you have a transaction id either use @nc50lc description I linked above to get the pubkey
- Or you could use bitcoin cores bitcoin-cli to decode a transaction as described by @mocacinno
But the real question remains: why do you need these public keys??. I have an idea though... My software input parametr only pubkey accepted. So, I need a pubkey for adress Privkey for bc1 and the pubkey will be the same or different ?
|
[
|
|
|
mocacinno
Legendary
Offline
Activity: 3570
Merit: 5233
https://merel.mobi => buy facemasks with BTC/LTC
|
|
July 06, 2020, 12:53:02 PM |
|
Privkey for bc1 and the pubkey will be the same or different ? Different... The private key will always be different from the pubkey... otherwise it wouldn't be called private key vs public key
|
|
|
|
TheArchaeologist
|
|
July 06, 2020, 12:59:04 PM |
|
My software input parametr only pubkey accepted. So, I need a pubkey for adress
So what software is that? Your 1337 pubkey to private key extractor? Privkey for bc1 and the pubkey will be the same or different ? I strongly suggest you try to learn a bit more on the internal workings of bitcoin, that way you might also realize you won't get rich by trying to "hack" private keys. That being said: An address is just a form of encoding a public key (or the hash of the public key). Bitcoin works with a combination of Private Key - Public Key pairs. So the same private key can be used to generate segwit addresses as well as legacy addresses.
|
Sooner or later you're going to realize, just as I did, that there's a difference between knowing the path and walking the path
|
|
|
|