davux
|
|
July 17, 2011, 03:52:19 PM |
|
How long is a short name guaranteed to work? Is there an expiration time?
|
1DavuxH9tLqU4c7zvG387aTG4mA7BcRpp2 México (Oaxaca) – France - Leeds
|
|
|
ashmoran
Newbie
Offline
Activity: 22
Merit: 0
|
|
July 18, 2011, 07:06:20 PM |
|
Is there any way to make shortened addresses verifiable? Right now you have to trust the owner of a shortener to not change addresses. Eg the owner of EVILB.TC might shorten http://evilb.tc/yourname honestly for a few weeks (or months, or years) then suddenly change the address (or all of them on the site) to one of his own. Short, memorable names for Bitcoin addresses are great, but is there any way to achieve them without (or with less) centralised trust? Note: I'm not saying that PAYB.TC is evil :-)
|
|
|
|
payb.tc (OP)
|
|
July 19, 2011, 03:00:54 AM |
|
Neat! I would prefer if it defaulted to the text version and you could point to the html version if you chose to. http://payb.tc/rethaw/textthat would make it a lot harder to spread virally via the 'get your own free short link' link on everyone's page. hardly seems fair.
|
|
|
|
payb.tc (OP)
|
|
July 19, 2011, 03:04:08 AM |
|
How long is a short name guaranteed to work? Is there an expiration time?
there's no expiration time. i'll keep the site up as long as it's still being used. that might be decades. maybe i should do some kind of internal hit counter though, and if a particular link hasn't been hit in the last 12 months say, then that shortlink can maybe be freed up for someone else to register.
|
|
|
|
payb.tc (OP)
|
|
July 19, 2011, 03:07:17 AM |
|
Is there any way to make shortened addresses verifiable?
i'm not really sure other than have someone else run a cron to check addresses every x minutes and then alert the owner if it has changed. payb.tc addresses aren't editible by members so they should never change.
|
|
|
|
ashmoran
Newbie
Offline
Activity: 22
Merit: 0
|
|
July 19, 2011, 07:49:51 AM |
|
Yes, I don't expect they will change. Like I say, wasn't suggesting anything would go wrong with payb.tc (I've already got my tip jar name - http://payb.tc/ashmoran - which I've given to friends), just that the principle of address shorteners involves more trust than, say, URL shorteners. Might put my payb.tc link in my sig, in fact…
|
|
|
|
ashmoran
Newbie
Offline
Activity: 22
Merit: 0
|
|
July 26, 2011, 12:22:17 PM |
|
I had a thought about PAYB.TC - would it be useful to have a link from an address page to the address's blockexplorer.com page? I just went to look up my own address, it'd save a copy and paste if nothing else
|
|
|
|
payb.tc (OP)
|
|
July 26, 2011, 01:30:37 PM Last edit: August 03, 2011, 04:58:30 AM by payb.tc |
|
I had a thought about PAYB.TC - would it be useful to have a link from an address page to the address's blockexplorer.com page?
done! also a couple of other things... firstly, thanks to whoever just sent me 0.1 btc donation, that's great secondly, i noticed in the database the following short links: http://payb.tc/mtgox edit: confirmed to be unofficial http://payb.tc/tradehill edit: confirmed to be unofficial unless the owners of mtgox and tradehill can confirm they are the owners of those addresses, i think we should assume it's just someone trying to be a bit sneaky.
|
|
|
|
payb.tc (OP)
|
|
July 26, 2011, 01:42:27 PM |
|
also, i've added links to the various api options on each page.
|
|
|
|
payb.tc (OP)
|
|
July 26, 2011, 02:17:41 PM |
|
one more update... just added xml too (i hope the formatting is acceptable, otherwise please some xml guru tell me if i need to change it): http://payb.tc/donate/xmlthanks everyone for your interest
|
|
|
|
|
ashmoran
Newbie
Offline
Activity: 22
Merit: 0
|
|
July 26, 2011, 03:17:48 PM |
|
Hey, the link is great, thanks for that. QR code works great too, just scanned it off my MBP screen with my iPhone. About the mtgox/tradehill accounts… maybe it's already time you need "verified" accounts like Twitter?
|
|
|
|
payb.tc (OP)
|
|
July 26, 2011, 03:35:32 PM |
|
yes, i see thank you. just hadn't had much time to work on the site until today.
|
|
|
|
payb.tc (OP)
|
|
August 02, 2011, 07:28:09 AM |
|
I have confirmed with Jered (owner of tradehill) that the short link http://payb.tc/tradehill was not made by them. probably obvious, but i thought i'd check with them before just deleting it. anyone using a shortening service (not just mine, but any), should be careful that they are getting the link directly from the person they intend to pay (just like you would with an ordinary bitcoin address).
|
|
|
|
payb.tc (OP)
|
|
October 24, 2011, 04:22:54 AM Last edit: October 24, 2011, 08:23:32 AM by payb.tc |
|
today i thought of a new way to visualize bitcoin addresses... using a range of colours which are derived from each address. check them out: http://payb.tc/donate/rainbow = http://payb.tc/tronlet/rainbow = http://payb.tc/joelkatz/rainbow = http://payb.tc/ashmoran/rainbow = code here: $addr=substr(preg_replace('/[^a-zA-Z0-9]/','',$_GET['addr']),0,34);
$colors=str_split('00'.addressToHash160($addr),2);
//html version: //for ($i=0; $i<7; $i++) echo '<div style="float:left; width:50px; height:50px; background-color:#'.$colors[$i*3+0].$colors[$i*3+1].$colors[$i*3+2].'"></div>';
//png version: $img = imagecreatetruecolor(350,50);
for ($i=0; $i<7; $i++) { $color = imagecolorallocate($img,hexdec($colors[$i*3+0]),hexdec($colors[$i*3+1]),hexdec($colors[$i*3+2])); imagefilledrectangle ($img,$i*50,0,$i*50+49,49,$color); }
header('Content-Type: image/png'); header('Content-Disposition: inline; filename='.$addr.'.png'); header('Content-Transfer-Encoding: binary'); header('Pragma: public'); header("Cache-Control: private",false); // required for certain browsers ob_clean(); flush(); imagepng($img); imagedestroy($img);
addressToHash160 function (by theymos, i believe) can be found here: http://pastebin.com/vmRQC7hahave fun
|
|
|
|
|