remotemass (OP)
Legendary
Offline
Activity: 1122
Merit: 1017
ASMR El Salvador
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 19, 2013, 07:51:34 PM |
|
Maybe it would get very visual to have a code to represent bitcoin addresses in a more visual way. Uppercase letters would be squares. Lowercase letters would be circles. Numbers an equilateral triangle with horizontal base. Colours would be used to distinguish them.
Who comes up with the better code? Please post your artwork showing how would your code result. We could also use 99designs.com to achieve great proposals!
|
{ Imagine a sequence of bits generated from the first decimal place of the square roots of whole integers that are irrational numbers. If the decimal falls between 0 and 5, it's considered bit 0, and if it falls between 5 and 10, it's considered bit 1. This sequence from a simple integer count of contiguous irrationals and their logical decimal expansion of the first decimal place is called the 'main irrational stream.' Our goal is to design a physical and optical computing system system that can detect when this stream starts matching a specific pattern of a given size of bits. bitcointalk.org/index.php?topic=166760.0 } Satoshi did use a friend class in C++ and put a comment on the code saying: "This is why people hate C++".
|
|
|
franky1
Legendary
Offline
Activity: 4326
Merit: 4652
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 19, 2013, 07:56:32 PM Last edit: January 19, 2013, 09:19:29 PM by franky1 |
|
Maybe it would get very visual to have a code to represent bitcoin addresses in a more visual way. Uppercase letters would be squares. Lowercase letters would be circles. Numbers an equilateral triangle with horizontal base. Colours would be used to distinguish them.
Who comes up with the better code? Please post your artwork showing how would your code result. We could also use 99designs.com to achieve great proposals!
not an actual submission. just food for thought edit: google image search doctor who gallifrey use of colours can be tricky due to light exposure making cameras not pick up colours that easily EG yellow street lghts can make yellow look white (missing transparent/white like the paper its printed on) with 10 numerics 26 lowercase and 26 uppercase letters = 62 variations of shapes. so heres a idea ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi46.tinypic.com%2Fx24awh.jpg&t=665&c=j5Q98dxoJceVsg) Hexagon grey = 1 hexagon white=2 Square grey=3 Square white=4 Circle grey=5 Circle white=6 Triangle grey=7 Triangle white=8 basically multiply the outer shape by the inner shape and then add on the number of the centre shape EG top shape is 1 4 7 so 1x4+7=11 EG bottom shape 6 7 5 so 6x7+5=47 now using the 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ top shape=a (lowercase a) bottom shape=K (uppercase k)
|
I DO NOT TRADE OR ACT AS ESCROW ON THIS FORUM EVER. Please do your own research & respect what is written here as both opinion & information gleaned from experience. many people replying with insults but no on-topic content substance, automatically are 'facepalmed' and yawned at
|
|
|
remotemass (OP)
Legendary
Offline
Activity: 1122
Merit: 1017
ASMR El Salvador
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 19, 2013, 08:31:47 PM |
|
very rough draft: ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi45.tinypic.com%2F2ighpwx.jpg&t=665&c=xa5bqGj8P0Qr6Q)
|
{ Imagine a sequence of bits generated from the first decimal place of the square roots of whole integers that are irrational numbers. If the decimal falls between 0 and 5, it's considered bit 0, and if it falls between 5 and 10, it's considered bit 1. This sequence from a simple integer count of contiguous irrationals and their logical decimal expansion of the first decimal place is called the 'main irrational stream.' Our goal is to design a physical and optical computing system system that can detect when this stream starts matching a specific pattern of a given size of bits. bitcointalk.org/index.php?topic=166760.0 } Satoshi did use a friend class in C++ and put a comment on the code saying: "This is why people hate C++".
|
|
|
greyhawk
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 19, 2013, 08:37:16 PM |
|
I'm sure that's awesome for synesthetes, but how many of them are there even?
|
|
|
|
remotemass (OP)
Legendary
Offline
Activity: 1122
Merit: 1017
ASMR El Salvador
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 19, 2013, 08:43:16 PM |
|
Also for showing on television seems much better and less prone to human error.
|
{ Imagine a sequence of bits generated from the first decimal place of the square roots of whole integers that are irrational numbers. If the decimal falls between 0 and 5, it's considered bit 0, and if it falls between 5 and 10, it's considered bit 1. This sequence from a simple integer count of contiguous irrationals and their logical decimal expansion of the first decimal place is called the 'main irrational stream.' Our goal is to design a physical and optical computing system system that can detect when this stream starts matching a specific pattern of a given size of bits. bitcointalk.org/index.php?topic=166760.0 } Satoshi did use a friend class in C++ and put a comment on the code saying: "This is why people hate C++".
|
|
|
remotemass (OP)
Legendary
Offline
Activity: 1122
Merit: 1017
ASMR El Salvador
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 19, 2013, 08:49:52 PM |
|
Very rough, but just to give an idea. What about having both, with the alphanumerics overlayed on top? ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi46.tinypic.com%2F2mnq6i9.png&t=665&c=NrvSqcipXeuS8A)
|
{ Imagine a sequence of bits generated from the first decimal place of the square roots of whole integers that are irrational numbers. If the decimal falls between 0 and 5, it's considered bit 0, and if it falls between 5 and 10, it's considered bit 1. This sequence from a simple integer count of contiguous irrationals and their logical decimal expansion of the first decimal place is called the 'main irrational stream.' Our goal is to design a physical and optical computing system system that can detect when this stream starts matching a specific pattern of a given size of bits. bitcointalk.org/index.php?topic=166760.0 } Satoshi did use a friend class in C++ and put a comment on the code saying: "This is why people hate C++".
|
|
|
franky1
Legendary
Offline
Activity: 4326
Merit: 4652
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 19, 2013, 09:34:25 PM |
|
for geniune legit businesses a service that has registered bitcoin addresses linked to a user. kind of like tinyurl would work better eg tinybitcoinaddress yet to be made.com/franky1 would take you to 1FrankZ7t5Wbf5uTMxMtCiQy9eKDsj1fUn heck, even blockchain.info is already tagging known addresses so using their service to find the lengthy address is better. such as satoshi dice http://blockchain.info/fb/1dice8
|
I DO NOT TRADE OR ACT AS ESCROW ON THIS FORUM EVER. Please do your own research & respect what is written here as both opinion & information gleaned from experience. many people replying with insults but no on-topic content substance, automatically are 'facepalmed' and yawned at
|
|
|
BlackLilac Jordan
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 19, 2013, 09:42:11 PM |
|
for geniune legit businesses a service that has registered bitcoin addresses linked to a user. kind of like tinyurl would work better eg tinybitcoinaddress yet to be made.com/franky1 would take you to 1FrankZ7t5Wbf5uTMxMtCiQy9eKDsj1fUn heck, even blockchain.info is already tagging known addresses so using their service to find the lengthy address is better. such as satoshi dice http://blockchain.info/fb/1dice8I think what you're asking for already exists: https://btc.to/
|
|
|
|
franky1
Legendary
Offline
Activity: 4326
Merit: 4652
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 20, 2013, 12:01:31 AM |
|
BLFC Jordan, yes ![Grin](https://bitcointalk.org/Smileys/default/grin.gif) thats what im talking about great idea
|
I DO NOT TRADE OR ACT AS ESCROW ON THIS FORUM EVER. Please do your own research & respect what is written here as both opinion & information gleaned from experience. many people replying with insults but no on-topic content substance, automatically are 'facepalmed' and yawned at
|
|
|
runeks
Legendary
Offline
Activity: 980
Merit: 1008
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 23, 2013, 02:50:39 AM |
|
I've thought about this too. An often cited problem with verifying a bitcoin address is that the long string of letters and numbers is very hard to compare for a human being. This is relevant in the case of "hacker proof" hardware wallets where the user has to confirm that the address he copy/pasted from a site really is the address he wants to send the funds to. I've considered simple color-coding, where the 25 byte address is converted into an image, which is experienced more as a whole instead of the letters, deciphered one-by-one when reading. I just made a little script that encodes an address into a 12 by 12 pixel image. Each pixel is either red, green or blue. It basically just converts the address into a number, then converts this number into a base-3 number, and each pixel gets its color from the digit in the base three number (0 for red, 1 for green, 2 for blue). Here are some examples of random addresses converted into this image format: ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FuxMctJz.png&t=665&c=yNgKOiCZ8vWnfA) | 1FbyYynZwHukrQZeAzPYb91KvbFkgp1kgN |
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FDgssIrw.png&t=665&c=tKMgC60XB6eiOw) | 1LQxi4tDHca5ZAZW3HuBxof7Uxh54rTd9t | ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2F4WTo885.png&t=665&c=3m38_ToIG-gZxg) | 1AdN2my8NxvGcisPGYeQTAKdWJuUzNkQxG | ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2F5zIpX4g.png&t=665&c=AmLuRNVBv0HOOg) | 124GJ3HCtYvaD2zDwJPKJLMTurWU1PdLic | ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FxPsxWVJ.png&t=665&c=M1iyRCKdmJiTFg) | 14jMgd1vQ8Pi9H3eKjsxwnb2xo8DZLiezf | ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FxrBnpC0.png&t=665&c=ynth9PBSoOLPTw) | 13xQfLkQ2q7xLDsEZfgv6weoZP98rmZnLx | ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FAn7izRl.png&t=665&c=tvq-RY9p3MNIaQ) | 14cZMQk89mRYQkDEj8Rn25AnGoBi5H6uer |
When uploading these pictures to imgur.com, their file names were lost (the filename had the address in it), but it was pretty quick just looking at the picture to see which were which. They are all distinct in various ways. I'm sure there are ways to improve this algorithm though, so different patterns become more distinct. Here's the script used to generate these images. By default the script will show the image encoding of the address contained in the address variable. #!/usr/bin/python
import Image
#base58 magic borrowed from Gavin Andresen's bitcointools (and modified slightly)
__b58chars = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz' __b58base = len(__b58chars)
def b58decode(v): """ return the number representation of the base58-encoded string v """ long_value = 0 for (i, c) in enumerate(v[::-1]): long_value += __b58chars.find(c) * (__b58base**i)
return long_value
def b3decode(num): """ return the base 3 encoding of num as an array of numbers from 0 to 2 """ array = [] base = 3 remainder = num while remainder >= 2: div, mod = divmod(remainder, base) array.insert(0, mod) remainder = div return array
address = "1HB5XMLmzFVj8ALj6mfBsbifRoD4miY36v"
addresses = ["14cZMQk89mRYQkDEj8Rn25AnGoBi5H6uer", "13xQfLkQ2q7xLDsEZfgv6weoZP98rmZnLx", "14jMgd1vQ8Pi9H3eKjsxwnb2xo8DZLiezf", "124GJ3HCtYvaD2zDwJPKJLMTurWU1PdLic", "1AdN2my8NxvGcisPGYeQTAKdWJuUzNkQxG", "1LQxi4tDHca5ZAZW3HuBxof7Uxh54rTd9t", "1FbyYynZwHukrQZeAzPYb91KvbFkgp1kgN"]
width = 12 height = 11 image = Image.new("RGBA", (width, height)) pixels = image.load()
for (index, num) in enumerate(b3decode(b58decode(address))): colors = [(255, 0, 0, 255), (0, 255, 0, 255), (0, 0, 255, 255)] pixels[index % width, index / width] = colors[num]
image.resize((width*5, height*5), Image.NEAREST).show()
if False: #if this is run, it will save the image representation of the addresses contained in the "addresses" list to the current folder, using the file name "<address>.png" for addr in addresses: for (index, num) in enumerate(b3decode(b58decode(addr))): colors = [(255, 0, 0, 255), (0, 255, 0, 255), (0, 0, 255, 255)] pixels[index % width, index / height] = colors[num]
image.resize((width*5, height*5), Image.NEAREST).save(addr+".png") The resulting images are 12x11 pixels. Though the above images are 12x12 (with an empty bottom row since I didn't realize this until I had made these images).
|
|
|
|
phelix
Legendary
Offline
Activity: 1708
Merit: 1020
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 23, 2013, 07:23:47 AM |
|
|
|
|
|
runeks
Legendary
Offline
Activity: 980
Merit: 1008
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 23, 2013, 07:34:07 AM |
|
Oh, my three-color images feel so primitive now.
But seriously, that might be useful if they really can encode 160 bits of entropy, and the changes aren't too subtle.
|
|
|
|
Lethn
Legendary
Offline
Activity: 1540
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 23, 2013, 08:35:36 AM Last edit: January 23, 2013, 09:37:54 AM by Lethn |
|
I like that idea a lot, in case you didn't gather from my rants about math I'm not a mathematical thinker, shapes etc. are generally how I see the world not only that, if these could be turned into QR codes or even our usernames etc, that would be fucking badass! They remind me a lot of the Japanese clan mons ( emblems ) in Shogun 2, maybe we could have our own unique symbols for Bitcoin addresses ![Wink](https://bitcointalk.org/Smileys/default/wink.gif) I bet this would get quite a bit of attention from normal people too. Edit: I like this a lot lol! ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif) I put my username in and it popped out the avatar I put up ![Tongue](https://bitcointalk.org/Smileys/default/tongue.gif)
|
|
|
|
Ente
Legendary
Offline
Activity: 2126
Merit: 1001
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 23, 2013, 11:51:05 AM |
|
I like where this is going! Exactly, this will be very important for visually comparing adresses on my computer and a dedicated wallet hardware with display. Identicon: So, how many bits would fit into one of those? Wikipedia didn't help with technical details.. Runeks, your system is nice too! 12x12? Champion!
Ente
|
|
|
|
runeks
Legendary
Offline
Activity: 980
Merit: 1008
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 23, 2013, 12:18:32 PM |
|
Check out this paper: https://sparrow.ece.cmu.edu/group/pub/old-pubs/validation.pdfLooks like they're taking the task seriously (defining the image-producing function to have the same properties as a hash function). The images look nice and distinct. But I'm not sure it can produce 2^160 sufficiently visually distinct images. Interesting none the less. EDIT: This looks cool too, and it's open source: http://www.thevash.com/
|
|
|
|
paybitcoin
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 85
Merit: 10
1h79nc
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 25, 2013, 05:43:41 AM |
|
Don't forget about randomart used with ssh keys: http://superuser.com/questions/22535/what-is-randomart-produced-by-ssh-keygensample: Your identification has been saved in test. Your public key has been saved in test.pub. The key fingerprint is: 20:e9:b0:5b:5a:2b:ad:e8:4d:e4:b3:a0:32:49:2d:97 evan The key's randomart image is: +--[ RSA 2048]----+ | | | . | | . o . | | + . . | | o.= S | | ooE . | |.o*+o | |=.+oo | |=o.o | +-----------------+
|
|
|
|
theymos
Administrator
Legendary
Offline
Activity: 5306
Merit: 13220
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 25, 2013, 05:53:10 AM |
|
very rough draft:
Straight substitution isn't very creative/interesting IMO. I do like the idea of representing addresses as cool-looking images, though.
|
1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
|
|
|
Matthew N. Wright
Untrustworthy
Hero Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 588
Merit: 500
Hero VIP ultra official trusted super staff puppet
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 25, 2013, 06:00:42 AM |
|
Is there a way to read these in reverse and get the string from the image?
|
|
|
|
Red Emerald
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 25, 2013, 06:33:31 AM |
|
Is there a way to read these in reverse and get the string from the image? Nope. Thats by design since they were originally meant to identify IPs without revealing the IP. If the input fields for addresses in the client had a small identicon next to them, and whatever people were manually copying from also had an identicon, it would be a quick way to check for typos in addition to bitcoin's built in checksum. If you are copy/pasting from the same computer, or using a QR scanner, there isn't really a need.
|
|
|
|
phelix
Legendary
Offline
Activity: 1708
Merit: 1020
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 25, 2013, 09:27:53 AM |
|
one could use hash-colored qr codes as identicons... ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fblockchained.com%2Fstuff%2Fidentiqr2.png&t=665&c=_NZ2daqvM0_5Xg) if your client calculates the same code from the address you can be pretty sure you copy/pasted the right one.
|
|
|
|
|