Author

Topic: UX for bitcoin address field (Read 1351 times)

sr. member
Activity: 406
Merit: 256
April 26, 2011, 09:45:56 PM
#6
Another thing - slightly offtopic: The remnants from IP transfers confuse a lot of people, they need to be removed ASAP.
administrator
Activity: 5166
Merit: 12850
April 26, 2011, 08:50:11 PM
#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 https://bitcointalksearch.org/topic/m.12683

26 characters:
11111111111111111111BZbvjr

I did wrongly remember the upper limit, though. It is 34 characters. I must have flipped the digits in my head.
sr. member
Activity: 416
Merit: 277
April 26, 2011, 07: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 https://bitcointalksearch.org/topic/m.12683

ByteCoin
administrator
Activity: 5166
Merit: 12850
April 25, 2011, 10:44:21 PM
#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.
legendary
Activity: 2506
Merit: 1010
April 25, 2011, 07:07:03 PM
#2
Here's a specific example of why I ask this:
  MtGox withdrawal issues
  https://bitcointalksearch.org/topic/m.95327
legendary
Activity: 2506
Merit: 1010
April 25, 2011, 06: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?
Jump to: