Bitcoin Forum
April 23, 2024, 09:22:29 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Addresses - Shortening and Changing first character  (Read 999 times)
The Goat Master (OP)
Hero Member
*****
Offline Offline

Activity: 868
Merit: 502



View Profile
October 24, 2013, 12:38:14 AM
 #1

Using the bitcoin code, is it possible to change the starting character as well as the length of the address?

(e.g. instead bitcoin addresses start with B and are always 15 characters long)

What are the starting character base 58 codes?  (The ones used in base58.h to mark new addresses, example: F is 35)

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



█████████████



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



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

███
███

███
███
███
███
███
███
███
███
███
███
███

███
███

███
███
.▀▀▀▀▀▀▀▀    WHITEPAPER    ▀▀▀▀▀▀▀▀.
FACEBOOK       REDDIT       TELEGRAM
BITCOINTALK   TWITTER   INSTAGRAM
1713864149
Hero Member
*
Offline Offline

Posts: 1713864149

View Profile Personal Message (Offline)

Ignore
1713864149
Reply with quote  #2

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

Posts: 1713864149

View Profile Personal Message (Offline)

Ignore
1713864149
Reply with quote  #2

1713864149
Report to moderator
1713864149
Hero Member
*
Offline Offline

Posts: 1713864149

View Profile Personal Message (Offline)

Ignore
1713864149
Reply with quote  #2

1713864149
Report to moderator
danneu
Newbie
*
Offline Offline

Activity: 32
Merit: 0



View Profile
October 24, 2013, 08:00:57 PM
 #2

I'm not sure I understand.

Here's what an address is off the top of my head:

Code:
(base58/encode (concat version-byte,
                       (rmd160 (sha256 public-key)),
                       (take 4 (sha256 (sha256 (concat version-byte
                                                       (rmd160 (sha256 public-key))))))

You can't change any of that without garbling data.
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1024



View Profile
October 25, 2013, 05:25:33 PM
 #3

The short answer is no.

The address encoding scheme includes a version byte which forces the first byte to take on a specific value (or one of two values, depending on the byte).  For it to be a bitcoin address, it must be 0 or 5, giving a leading character of 1 or 3.

See here, but note that the list is both incomplete (in the sense that there are many other address systems not listed, and new ones showing up every day), and far too long (in the sense that only a couple of them are actually valid for bitcoin).

As to the length, there isn't much to be done there.  The length is fixed by the size of the hash and the encoding system.  Some hashes lead to (very slightly) shorter addresses.  Key compression does not help here (because the hash of the compressed key is used, and that hash is the same size as the hash of the uncompressed key).

There are other schemes that are capable of generating short-ish addresses.  See Casascius's mini format, for an eample.

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
algorista
Hero Member
*****
Offline Offline

Activity: 882
Merit: 1000


It's got electrolytes


View Profile
October 26, 2013, 03:33:32 AM
 #4

At some point a system similar to DNS should arise, to improve the situation of addresses being not memorizable.

+---------=====[ Rm 12:21 ]=====---------+
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4158
Merit: 8382



View Profile WWW
October 26, 2013, 05:17:51 AM
 #5

At some point a system similar to DNS should arise, to improve the situation of addresses being not memorizable.
You should not be reusing addresses. If you want memoriable addresses, use a https URL that issues a bitcoin payment URL in response to loading it.
r3wt
Hero Member
*****
Offline Offline

Activity: 686
Merit: 504


always the student, never the master.


View Profile
October 26, 2013, 05:24:11 AM
 #6

At some point a system similar to DNS should arise, to improve the situation of addresses being not memorizable.
You should not be reusing addresses. If you want memoriable addresses, use a https URL that issues a bitcoin payment URL in response to loading it.

you're an effing genius dude. one problem with in face transactions would be getting your address from your mobile device to the machine at the checkout. qr codes cover this issue.

the remaining issue is online payments. your url idea could be a great start.

+1

My negative trust rating is reflective of a personal vendetta by someone on default trust.
algorista
Hero Member
*****
Offline Offline

Activity: 882
Merit: 1000


It's got electrolytes


View Profile
October 26, 2013, 04:35:07 PM
 #7

At some point a system similar to DNS should arise, to improve the situation of addresses being not memorizable.
You should not be reusing addresses. If you want memoriable addresses, use a https URL that issues a bitcoin payment URL in response to loading it.

That's a good idea! Simple and effective.

+---------=====[ Rm 12:21 ]=====---------+
The Goat Master (OP)
Hero Member
*****
Offline Offline

Activity: 868
Merit: 502



View Profile
October 26, 2013, 09:54:09 PM
 #8

At some point a system similar to DNS should arise, to improve the situation of addresses being not memorizable.
You should not be reusing addresses. If you want memoriable addresses, use a https URL that issues a bitcoin payment URL in response to loading it.

That's a good idea! Simple and effective.

e.g. If you go to mybitcoinaddy.com, it would load bitcoin:123243124321 and make a tx to send to that addy?
(I forget the exact link)

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



█████████████



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



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

███
███

███
███
███
███
███
███
███
███
███
███
███

███
███

███
███
.▀▀▀▀▀▀▀▀    WHITEPAPER    ▀▀▀▀▀▀▀▀.
FACEBOOK       REDDIT       TELEGRAM
BITCOINTALK   TWITTER   INSTAGRAM
inform
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile WWW
October 26, 2013, 10:21:06 PM
 #9

Yeah nice idea  Roll Eyes
e4xit
Sr. Member
****
Offline Offline

Activity: 302
Merit: 250



View Profile
October 29, 2013, 01:55:23 PM
 #10

Careful with this, but you could have a look at this site for ideas:

https://btc.to/

Not your keys, not your coins.
CoinJoin, always.
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!