Bitcoin Forum
June 27, 2017, 05:34:11 PM *
News: Latest stable version of Bitcoin Core: 0.14.2  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: UX for bitcoin address field  (Read 1153 times)
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2198



View Profile
April 25, 2011, 10:11:47 PM
 #1

The user experience for pasting to the bitcoin address input field in a web form varies widely across Bitcoin's growing presence on exchanges, merchant sites,  blogs, etc.

Is it appropriate to massage the value that was input?  e.g., to strip out leading blank space character, or a trailing linefeed, etc?

Or are there any other tips regarding the UX for this field?

1498584851
Hero Member
*
Offline Offline

Posts: 1498584851

View Profile Personal Message (Offline)

Ignore
1498584851
Reply with quote  #2

1498584851
Report to moderator
1498584851
Hero Member
*
Offline Offline

Posts: 1498584851

View Profile Personal Message (Offline)

Ignore
1498584851
Reply with quote  #2

1498584851
Report to moderator
POLONIEX TRADING SIGNALS
+50% Profit and more via TELEGRAM
ALTCOINTRADER.CO
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1498584851
Hero Member
*
Offline Offline

Posts: 1498584851

View Profile Personal Message (Offline)

Ignore
1498584851
Reply with quote  #2

1498584851
Report to moderator
1498584851
Hero Member
*
Offline Offline

Posts: 1498584851

View Profile Personal Message (Offline)

Ignore
1498584851
Reply with quote  #2

1498584851
Report to moderator
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2198



View Profile
April 25, 2011, 11:07:03 PM
 #2

Here's a specific example of why I ask this:
  MtGox withdrawal issues
  http://bitcointalk.org/index.php?topic=6511.msg95327#msg95327

theymos
Administrator
Legendary
*
expert
Offline Offline

Activity: 2702


View Profile
April 26, 2011, 02:44:21 AM
 #3

Trimming invalid characters is a good idea. The chance that you make a valid address from nothing is nearly 0 -- if you get a valid address, the user pasted one.

I've seen many sites assume that Bitcoin addresses must be 33 or 34 characters long, but they can actually be 25-43 characters in length.

All sites should verify address checksums. I don't like the idea of asking Bitcoin over RPC for every address, though: there's code for checking yourself in several languages.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
ByteCoin
Sr. Member
****
expert
Offline Offline

Activity: 416


View Profile
April 26, 2011, 11:25:33 PM
 #4

I've seen many sites assume that Bitcoin addresses must be 33 or 34 characters long, but they can actually be 25-43 characters in length.

Please provide either examples or at least a plausible argument for the existence of valid addresses shorter than 27 characters or longer than 34 characters. I've corrected you on this before http://bitcointalk.org/index.php?topic=1019.msg12683#msg12683

ByteCoin
theymos
Administrator
Legendary
*
expert
Offline Offline

Activity: 2702


View Profile
April 27, 2011, 12:50:11 AM
 #5

lease provide either examples or at least a plausible argument for the existence of valid addresses shorter than 27 characters or longer than 34 characters. I've corrected you on this before http://bitcointalk.org/index.php?topic=1019.msg12683#msg12683

26 characters:
11111111111111111111BZbvjr

I did wrongly remember the upper limit, though. It is 34 characters. I must have flipped the digits in my head.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
Garrett Burgwardt
Sr. Member
****
Offline Offline

Activity: 378



View Profile
April 27, 2011, 01:45:56 AM
 #6

Another thing - slightly offtopic: The remnants from IP transfers confuse a lot of people, they need to be removed ASAP.

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






OROCRYPT
███
███
███
███
███
███
███
███
███
███

███

███

███


         ███
        █████
       ███████
      █████████
     ███████████
    █████████████
   ███████████████
  █████████████████
 ███████████████████
 ▀▀███████████████▀▀
█▄▄  ▀▀███████▀▀  ▄▄█
▀████▄▄  ▀▀▀  ▄▄████▀
  ▀██████▄▄▄██████▀
    ▀███████████▀
      ▀███████▀
        ▀███▀
          ▀
███
███
███
███
███
███
███
███
███
███

███

███

███
Complies with all Panamanian regulations
Inspected by Société Générale de Surveillance SA
Vaults in Switzerland, Liechtenstein and Cayman Islands
███
███
███
███
███
███
███
███
███
███

███

███

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