Bitcoin Forum
August 16, 2022, 03:15:56 AM *
News: Latest Bitcoin Core release: 23.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bitcoin address with capital letters  (Read 314 times)
btc123thatthere
Member
**
Offline Offline

Activity: 118
Merit: 29


View Profile
February 24, 2021, 10:00:28 AM
 #1

I saw a bitcoin address on a video, and all of its letters were in capitals.

Is this common? Perhaps they made it this since it was in a video, making it harder to "copy & paste"?

Looked a bit weird.
1660619756
Hero Member
*
Offline Offline

Posts: 1660619756

View Profile Personal Message (Offline)

Ignore
1660619756
Reply with quote  #2

1660619756
Report to moderator
1660619756
Hero Member
*
Offline Offline

Posts: 1660619756

View Profile Personal Message (Offline)

Ignore
1660619756
Reply with quote  #2

1660619756
Report to moderator
1660619756
Hero Member
*
Offline Offline

Posts: 1660619756

View Profile Personal Message (Offline)

Ignore
1660619756
Reply with quote  #2

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

Posts: 1660619756

View Profile Personal Message (Offline)

Ignore
1660619756
Reply with quote  #2

1660619756
Report to moderator
1660619756
Hero Member
*
Offline Offline

Posts: 1660619756

View Profile Personal Message (Offline)

Ignore
1660619756
Reply with quote  #2

1660619756
Report to moderator
Pmalek
Legendary
*
Offline Offline

Activity: 2128
Merit: 4566



View Profile
February 24, 2021, 10:11:45 AM
Merited by ranochigo (1)
 #2

Legacy and Nested SegWit addresses are case sensitive so you have to copy/paste those the way they are generated. You will see both uppercase and lowercase characters in those types of addresses.

Native SegWit addresses are different and are not case sensitive. They can either have all characters as uppercase or all characters as lowercase. You can't have a Native SegWit address with mixed uppercase and lowercase characters. I am pretty sure I remembered this correctly, but someone will chip in if I didn't.  

BrewMaster
Legendary
*
Offline Offline

Activity: 2058
Merit: 1283


There is trouble abrewing


View Profile
February 24, 2021, 10:13:02 AM
 #3

bech32 addresses which are used for the SegWit addresses are not case sensitive so they can be represented in all caps letters too.
meaning both of these addresses (copied from BIP173) are the same:
bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4
BC1QW508D6QEJXTDG4Y5R3ZARVARY0C5XW7KV8F3T4

the benefit of all upper case letters is smaller QR code when you want to encode an address as an image. this was not possible in base58 (aka legacy) addresses.

you can read more about this encoding here: https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki

There is a FOMO brewing...
Charles-Tim
Legendary
*
Offline Offline

Activity: 910
Merit: 2816



View Profile
February 24, 2021, 11:46:06 AM
 #4

I saw a bitcoin address on a video, and all of its letters were in capitals.
No more further explanation that bech32 addresses can either be in capital or small letter, but according to all the wallets I have used before, the bech32 addresses are in small letters and numbers, which should be the recommended way. Some people may want to change it to capital, this might lead to typo error, even if bech32 address can still point out few typo errors, it should not be recommended if the wallet someone is using uses small letter which I believe is the standard wallets are using which makes the QR code have smaller field.

.BEST..CHANGE.███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
ranochigo
Legendary
*
Offline Offline

Activity: 2730
Merit: 3339

@ me if you need my response


View Profile
February 24, 2021, 11:59:34 AM
 #5

No more further explanation that bech32 addresses can either be in capital or small letter, but according to all the wallets I have used before, the bech32 addresses are in small letters and numbers, which should be the recommended way. Some people may want to change it to capital, this might lead to typo error, even if bech32 address can still point out few typo errors, it should not be recommended if the wallet someone is using uses small letter which I believe is the standard wallets are using which makes the QR code have smaller field.
The way bech32 is designed is to make the address standard unambiguous. Those lookalike letters have already been eliminated and standardizing all of the characters to either be in uppercase or lowercase will reduce the chances of typos. It's fine for them to be represented in uppercase.

There is absolutely nothing wrong with representing them in uppercase. Wallets like Electrum will automatically convert it back into a lowercase string if you enter an address in uppercase. AFAICT, some wallets like Electrum represents bech32 addresses in lowercase when using the QR codes; nothing wrong just that not all follows the recommendation.

BrewMaster
Legendary
*
Offline Offline

Activity: 2058
Merit: 1283


There is trouble abrewing


View Profile
February 24, 2021, 12:03:43 PM
 #6

AFAICT, some wallets like Electrum represents bech32 addresses in lowercase when using the QR codes; nothing wrong just that not all follows the recommendation.

it is not a recommendation to change the letter cases when turning them into QR code, it is an option that exists to server very special cases like if you wanted to print the address on a very small surface like a physical bitcoin otherwise it is best to stick to lower case because the other wallet that reads it may not be as sophisticated to recognize upper case!

There is a FOMO brewing...
ranochigo
Legendary
*
Offline Offline

Activity: 2730
Merit: 3339

@ me if you need my response


View Profile
February 24, 2021, 12:05:56 PM
Last edit: February 24, 2021, 12:17:21 PM by ranochigo
Merited by BrewMaster (1)
 #7

it is not a recommendation to change the letter cases when turning them into QR code, it is an option that exists to server very special cases like if you wanted to print the address on a very small surface like a physical bitcoin otherwise it is best to stick to lower case because the other wallet that reads it may not be as sophisticated to recognize upper case!

For presentation, lowercase is usually preferable, but inside QR codes uppercase SHOULD be used, as those permit the use of alphanumeric mode, which is 45% more compact than the normal byte mode.

It's specified in the BIP though. I don't think it's difficult for wallets to change it back into lowercase. Definitely not necessary and wouldn't affect normal use, just wanted to align with the BIP. Bitcoin Core is one of the many wallets that represents both their URI and QR codes in caps.

DaveF
Legendary
*
Offline Offline

Activity: 2842
Merit: 3982


I DO NOT TRADE on Telegram or Skype or Discord.


View Profile WWW
February 24, 2021, 12:12:58 PM
 #8

...
bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4
BC1QW508D6QEJXTDG4Y5R3ZARVARY0C5XW7KV8F3T4
...

....
it is not a recommendation to change the letter cases when turning them into QR code, it is an option that exists to server very special cases like if you wanted to print the address on a very small surface like a physical bitcoin otherwise it is best to stick to lower case because the other wallet that reads it may not be as sophisticated to recognize upper case!

When doing demos / discussions I tend to put everything in uppercase because it tends to be a bit larger so you can read it better. Don't think about reading it on your PC screen, think about it in a youtube video or on a projected screen in the front of a room. Also I tend to use bogus / invalid addresses so nobody can copy / paste and send someplace they should not so it does mater as much in terms of invalid things. So there is that.

I would not want to change any letter case ever. QR code or anything else, 10 or 15 years from now if some standard changes having to track down "wallet x" because it will read some changed data could be a nightmare.

-Dave

btc123thatthere
Member
**
Offline Offline

Activity: 118
Merit: 29


View Profile
February 25, 2021, 09:45:18 AM
 #9

it is not a recommendation to change the letter cases when turning them into QR code, it is an option that exists to server very special cases like if you wanted to print the address on a very small surface like a physical bitcoin otherwise it is best to stick to lower case because the other wallet that reads it may not be as sophisticated to recognize upper case!

For presentation, lowercase is usually preferable, but inside QR codes uppercase SHOULD be used, as those permit the use of alphanumeric mode, which is 45% more compact than the normal byte mode.

It's specified in the BIP though. I don't think it's difficult for wallets to change it back into lowercase. Definitely not necessary and wouldn't affect normal use, just wanted to align with the BIP. Bitcoin Core is one of the many wallets that represents both their URI and QR codes in caps.

When I produce a QR code to show a receival address in Bitcoin Core, it comes up with both lowercase and uppercase letters in the address. (Core v0.18.0, Qt v5.9.7, old, I know...).
ranochigo
Legendary
*
Offline Offline

Activity: 2730
Merit: 3339

@ me if you need my response


View Profile
February 25, 2021, 09:46:40 AM
 #10

When I produce a QR code to show a receival address in Bitcoin Core, it comes up with both lowercase and uppercase letters in the address. (Core v0.18.0, Qt v5.9.7, old, I know...).
Does it start with a 3 or 1? Those are case sensitive.

Bech32 is not case sensitive and should either have all of it's letter in uppercase or lowercase.

Evilish
Hero Member
*****
Offline Offline

Activity: 882
Merit: 563


Bitcoin to the moon!


View Profile
February 28, 2021, 06:09:27 PM
 #11

I won't mention the case insensitivity of bech32 addresses because it's already been mentioned but thought I'd link you to this thread that contains many unusual addresses.

Rare address hall of fame

Linked on that thread I found a stackoverflow question under which a user mentions a legacy address that is all uppercase.

1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX

This address is one of a kind as far as I am aware and it appears that it's owned by the autor of Armory Bitcoin Client. I have not seen any other similar addresses.

If you were to generate an address similar to this using vanitygen it would take a long long time unless you get extremely lucky.
WanderingPhilospher
Full Member
***
Offline Offline

Activity: 574
Merit: 130

Shooters Shoot...


View Profile
March 01, 2021, 07:15:50 AM
Last edit: March 01, 2021, 08:15:51 AM by WanderingPhilospher
 #12

All uppercase/capital letters are fairly easy to come by...

1AFVLMVBDNWHBRLANSNLY1WWPGQGPGLQPK

So yes, they do exist, but they do look "odd"

Edit: Ok, maybe all caps is a little tougher than expected  Cool
NeuroticFish
Legendary
*
Offline Offline

Activity: 3038
Merit: 4807


Crypto winter or summer sales?


View Profile
March 01, 2021, 07:46:34 AM
Merited by pooya87 (1)
 #13

If you were to generate an address similar to this using vanitygen it would take a long long time unless you get extremely lucky.

That's incorrect. Vanitygen accepts regular expressions and although I am not great at regexp I still managed, after 3 minutes of searching the internet, to give the correct parameters to vanitygen and receive all-uppercase addresses. And in a couple of minutes, on my CPU, I already got 3 of them.



WanderingPhilospher
Full Member
***
Offline Offline

Activity: 574
Merit: 130

Shooters Shoot...


View Profile
March 01, 2021, 08:13:39 AM
 #14

If you were to generate an address similar to this using vanitygen it would take a long long time unless you get extremely lucky.

That's incorrect. Vanitygen accepts regular expressions and although I am not great at regexp I still managed, after 3 minutes of searching the internet, to give the correct parameters to vanitygen and receive all-uppercase addresses. And in a couple of minutes, on my CPU, I already got 3 of them.



Looks like your addresses all have numbers in them as well. So they are not all capital letters. Can you try for only all CAPS?

pooya87
Legendary
*
Online Online

Activity: 2814
Merit: 7216


Days of petrodollar are numbered


View Profile
March 01, 2021, 08:29:12 AM
 #15

All uppercase/capital letters are fairly easy to come by...
1AFVLMVBDNWHBRLANSNLY1WWPGQGPGLQPK
According to @NeuroticFish "benchmark" this type of addresses don't seem to be that tough but still you should keep in mind that creating a base58 string with a checksum where the string is bruteforced is a lot easier to creating an actual address using the private key. Considering this address is never used I'm guessing it is the former type.

NeuroticFish
Legendary
*
Offline Offline

Activity: 3038
Merit: 4807


Crypto winter or summer sales?


View Profile
March 01, 2021, 08:37:00 AM
 #16

Looks like your addresses all have numbers in them as well. So they are not all capital letters. Can you try for only all CAPS?

Sure, but I expect to take much longer. After some 10 minutes on the same 8 threads I've got no result.
I will leave it on 3 threads instead of 8 so I can do my work too, but I will leave it for much longer, let's see what happens.
However, the address you have posted had digit in it  Wink so I was not "cheating".

WanderingPhilospher
Full Member
***
Offline Offline

Activity: 574
Merit: 130

Shooters Shoot...


View Profile
March 01, 2021, 08:45:48 AM
 #17

Looks like your addresses all have numbers in them as well. So they are not all capital letters. Can you try for only all CAPS?

Sure, but I expect to take much longer. After some 10 minutes on the same 8 threads I've got no result.
I will leave it on 3 threads instead of 8 so I can do my work too, but I will leave it for much longer, let's see what happens.
However, the address you have posted had digit in it  Wink so I was not "cheating".
Very true, that's why I posted my edit  Grin
I'll leave a few threads running as well. See what we come up with
Evilish
Hero Member
*****
Offline Offline

Activity: 882
Merit: 563


Bitcoin to the moon!


View Profile
March 01, 2021, 02:28:14 PM
 #18

If you were to generate an address similar to this using vanitygen it would take a long long time unless you get extremely lucky.

That's incorrect. Vanitygen accepts regular expressions and although I am not great at regexp I still managed, after 3 minutes of searching the internet, to give the correct parameters to vanitygen and receive all-uppercase addresses. And in a couple of minutes, on my CPU, I already got 3 of them.




I am correct. Try generating one with "all uppercase letters" and containing no numbers. I recall someone mentioning a while back it would take 70 days to generate one. Might be less now with ever increasing CPU/GPU power, but nowhere near 3 minutes.

Please give it a shot and let me know if you're able to generate one with the criteria I mentioned above. Cheesy
NeuroticFish
Legendary
*
Offline Offline

Activity: 3038
Merit: 4807


Crypto winter or summer sales?


View Profile
March 01, 2021, 02:47:39 PM
 #19

Try generating one with "all uppercase letters" and containing no numbers.

I guess that I have misunderstood your initial criteria. You've seen what I've generated. And yes, I also admitted that uppercase-letters-only is much more difficult/should take much longer.
As for now, on 3 threads (of 8 ) I have no results. The most it ran it was some 3 hours, since I needed a restart for more important things. And this is also the reason I won't be able to run a 70-days test Wink

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!