Bitcoin Forum
May 04, 2024, 11:14:25 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Public key prefix  (Read 126 times)
Kostelooscoin (OP)
Member
**
Offline Offline

Activity: 202
Merit: 16


View Profile
October 07, 2021, 12:33:05 PM
 #1

Hello, would it be possible to modify this code : https://github.com/albertobsd/keyhunt to search only on public key prefix ?
1714864465
Hero Member
*
Offline Offline

Posts: 1714864465

View Profile Personal Message (Offline)

Ignore
1714864465
Reply with quote  #2

1714864465
Report to moderator
1714864465
Hero Member
*
Offline Offline

Posts: 1714864465

View Profile Personal Message (Offline)

Ignore
1714864465
Reply with quote  #2

1714864465
Report to moderator
1714864465
Hero Member
*
Offline Offline

Posts: 1714864465

View Profile Personal Message (Offline)

Ignore
1714864465
Reply with quote  #2

1714864465
Report to moderator
"If you don't want people to know you're a scumbag then don't be a scumbag." -- margaritahuyan
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714864465
Hero Member
*
Offline Offline

Posts: 1714864465

View Profile Personal Message (Offline)

Ignore
1714864465
Reply with quote  #2

1714864465
Report to moderator
BlackHatCoiner
Legendary
*
Offline Offline

Activity: 1512
Merit: 7351


Farewell, Leo


View Profile
October 07, 2021, 02:14:37 PM
 #2

What do you mean to search only on public key prefix?

Based on the github page, you can search in both compressed and uncompressed public keys. What beyond this do you want?

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

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

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

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

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

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











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











▄▄▄▄█
BitMaxz
Legendary
*
Online Online

Activity: 3248
Merit: 2965


Block halving is coming.


View Profile WWW
October 07, 2021, 03:11:39 PM
Last edit: October 07, 2021, 04:32:05 PM by BitMaxz
 #3

If you are talking about public key then the prefixes start with "1" and "3" for legacy wallet then bc1 for segwit there is also segwit that start with "3".

If you are looking for more prefixes related to bitcoin you can check this https://en.bitcoin.it/wiki/List_of_address_prefixes



The post below is right but if you are looking for public key prefixes I think a public key that start with xPub is what you looking for or a public key in a hex that start with 0?

Can you try to use this tool https://iancoleman.io/bip39/ and generate a sample mnemonic and it will show all address and keys as your reference because we don't have a list of prefixes for public key.

█▀▀▀











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











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

Activity: 3388
Merit: 4616



View Profile
October 07, 2021, 03:36:03 PM
Merited by BitMaxz (1), hugeblack (1)
 #4

If you are talking about public key then the prefixes start with "1" and "3" for legacy wallet then bc1 for segwit there is also segwit that start with "3".

Those are address prefixes, not public key prefixes.
NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6728


bitcoincleanup.com / bitmixlist.org


View Profile WWW
October 08, 2021, 07:17:47 AM
 #5

The README says that it only supports legacy "1" addresses so you either mean a) you want someone to add "3" and "bc1" support as well - in which case you should open a Github issue or just write to albertobsd on this forum, or b) you really do want to search by public key prefix which is already possible if you pass "-m xpoint" on the command line with a file full of public keys.

.
.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!