Bitcoin Forum
September 29, 2016, 01:34:41 PM *
News: Latest stable version of Bitcoin Core: 0.13.0 (New!) [Torrent]. Make sure you verify it.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Introducing Bitthanks - beta  (Read 3382 times)
niekie
Newbie
*
Offline Offline

Activity: 6


View Profile
June 12, 2010, 11:51:15 AM
 #1

http://niekie.com/bitthanks-small.png

Another interesting use for Bitcoin is the ability to quickly send a token of your appreciation for help received or small services provided to someone, especially in forum environments.

To aid with that, I've created Bitthanks. Bitthanks is a system which displays a public donation count in a forum signature, and displays a small banner soliciting a donation. The system generates an unique address labeled with the receiving user's label for each possible donator.

Once transactions clear, a cronjob takes care of automated deposit to the legitimate beneficiary's address registered with Bitthanks.

Currently, this system is in beta. To sign up for beta testing, private message me on this forum with:

  • An address I can send the Bitcoins you receive to. Generate one in your client, and label it something like "Bitthanks Automated Deposit"
  • Your e-mail address, in case I need to contact you for some reason.
  • UPDATE: Future-proofing: a password, which might be required for a future web-interface for manual deposits.
  • (optional) An alternate message, which you want displayed instead of "Want to thank me for this forum post? Click here! Powered by Bitthanks."

You'll receive a message back with the proper BBcode to place in your forum signature.

Enjoy! Smiley

http://niekie.com/bitthanks/sig?id=1 (http://niekie.com/bitthanks/thank?id=1)
1475156081
Hero Member
*
Offline Offline

Posts: 1475156081

View Profile Personal Message (Offline)

Ignore
1475156081
Reply with quote  #2

1475156081
Report to moderator
1475156081
Hero Member
*
Offline Offline

Posts: 1475156081

View Profile Personal Message (Offline)

Ignore
1475156081
Reply with quote  #2

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

Posts: 1475156081

View Profile Personal Message (Offline)

Ignore
1475156081
Reply with quote  #2

1475156081
Report to moderator
1475156081
Hero Member
*
Offline Offline

Posts: 1475156081

View Profile Personal Message (Offline)

Ignore
1475156081
Reply with quote  #2

1475156081
Report to moderator
HostFat
Staff
Legendary
*
Offline Offline

Activity: 2226


I support freedom of choice


View Profile WWW
June 12, 2010, 05:25:51 PM
 #2

Beautiful Cheesy
I have just sent you 5 bitcoins to test it Wink

EDIT:
Anyway, this is a good service that anyone could have local installed.
I could be a bitcoin plug-in or a like.

Eternity Wall: Messages lasting forever - The Rock Trading (ref): A good exchange / gateway Ripple, with support for multisig, since 2007. 
https://bitcointa.lk: Bitcointalk backup if offline - Bitcoin Foundation Italia - Blog: http://theupwind.blogspot.it
laszlo
Full Member
***
Offline Offline

Activity: 199


View Profile
June 12, 2010, 06:05:34 PM
 #3

Thanks!

BC: 157fRrqAKrDyGHr1Bx3yDxeMv8Rh45aUet
HostFat
Staff
Legendary
*
Offline Offline

Activity: 2226


I support freedom of choice


View Profile WWW
June 12, 2010, 06:07:40 PM
 #4

your idea reminds me flattr.com Grin
It will be very interesting if you make it simple / easy and fast as flattr.

Just a "click", and the bitcoin client will share a small amount of bcoins Smiley

Eternity Wall: Messages lasting forever - The Rock Trading (ref): A good exchange / gateway Ripple, with support for multisig, since 2007. 
https://bitcointa.lk: Bitcointalk backup if offline - Bitcoin Foundation Italia - Blog: http://theupwind.blogspot.it
niekie
Newbie
*
Offline Offline

Activity: 6


View Profile
June 12, 2010, 08:12:04 PM
 #5

Flattr definitely sounds like an interesting model. Currently, to do that with Bitcoins though I'd have to get both the user and the benificiary to register. As far as doing any integration in the Bitcoin client, I'm afraid I don't know C(++).

The code to do this locally would be pretty simple. All that's needed is a JSON-RPC API call to getnewaddress with as argument a label you want the donations to apply to, and a call to getreceivedbylabel for checking the amount of donations sent. Furthermore, you'll need to use a graphics library to generate the image. I am using GD along with PHP. For JSON-RPC I use http://jsonrpcphp.org/. You'll of course need to install bitcoin on your webserver currently, which may not be possible on shared hosting.

http://niekie.com/bitthanks/sig?id=1 (http://niekie.com/bitthanks/thank?id=1)
sirius
Bitcoiner
Staff
Sr. Member
****
Offline Offline

Activity: 429



View Profile
June 12, 2010, 11:30:22 PM
 #6

Cool idea. With some additions to the Bitcoin api, your service could show the received amount for any address in the block chain and people could send their donations directly to the recipient.

Identifi - Decentralized address book with trust ratings
I'm not a forum admin - please contact theymos instead.
HostFat
Staff
Legendary
*
Offline Offline

Activity: 2226


I support freedom of choice


View Profile WWW
June 14, 2010, 11:58:43 AM
 #7

I think that bitcoin-url will also give some help to this Smiley

Eternity Wall: Messages lasting forever - The Rock Trading (ref): A good exchange / gateway Ripple, with support for multisig, since 2007. 
https://bitcointa.lk: Bitcointalk backup if offline - Bitcoin Foundation Italia - Blog: http://theupwind.blogspot.it
niekie
Newbie
*
Offline Offline

Activity: 6


View Profile
June 14, 2010, 12:27:45 PM
 #8

And... Bitthanks now has a logo Grin

http://niekie.com/bitthanks/sig?id=1 (http://niekie.com/bitthanks/thank?id=1)
martin
Full Member
***
Offline Offline

Activity: 150



View Profile WWW
July 16, 2010, 11:57:40 PM
 #9

Hi nieke, I sent you a private message about getting a bitthanks link but you never replied, any chance of still getting one?

mizerydearia
Hero Member
*****
Offline Offline

Activity: 574



View Profile
July 17, 2010, 09:55:29 AM
 #10

nieke - Do you have any plans to release the code you used to make Bitthanks possible so that others can implement it for themselves or as other providers providing same type of service to others as well?

Here's some code that does something similar:
Code:
<?
$font = "/usr/share/fonts/ttf-bitstream-vera/Vera.ttf";
require_once 'jsonRPCClient.php';
$data=new jsonRPCClient('http://127.0.0.1:8332');
$donated = $data->getreceivedbylabel("Bitcoin Forum Sig");

if (substr($_SERVER["HTTP_REFERER"], 0, 27) == "http://bitcointalk.org/") {
$text = "Received amount in Bitcoins: $donated. Want to thank me for this forum post? Click here!";
header("Content-type: image/png");
$fontsize = 12;
$bounds = array();
$bounds = ImageTTFBBox($fontsize, 0, $font, "W"); $oy = abs($bounds[7]-$bounds[1]);
$bounds = ImageTTFBBox($fontsize, 0, $font, $text);
$w = abs($bounds[4]-$bounds[6]);
$h = abs($bounds[7]-$bounds[1]);
$image = imagecreatetruecolor($w,$h);
imagefill($image, 0, 0, imagecolorallocatealpha($image, 255, 255, 255, 127));
imagesavealpha($image, true);
ImageTTFText($image, $fontsize, 0, 0, $oy, imagecolorallocate($image, 0, 0, 0), $font, $text);
imagePNG($image);
}
else {
$address = $data->getnewaddress("Bitcoin Forum Sig");
echo "Hello! You've reached the donation page for accepting donations :)<br>";
echo "<br>";
echo "This user accepts Bitcoin donations at the following address: $address<br>";
echo "<br>";
echo "Number of Bitcoins received for this user: $donated.";
}
?>
Insti
Sr. Member
****
Offline Offline

Activity: 294


Firstbits: 1duzy


View Profile
August 06, 2010, 08:59:30 PM
 #11

Is bitthanks still active?

I've noticed the image has disappeared from my signature, and I've not noticed them in anyone else's lately..
niekie
Newbie
*
Offline Offline

Activity: 6


View Profile
August 12, 2010, 04:25:23 PM
 #12

Is bitthanks still active?

I've noticed the image has disappeared from my signature, and I've not noticed them in anyone else's lately..


Currently? No. I've had to reinstall a lot of stuff due to temporary issues on my server.

I should be able to get it up and in working order again soon though. All signatures should then start working again. Sorry for suddenly disappearing without notice Smiley

As for plans to release the source code... yes, I'll definitely be looking at doing that some point in the future, though I'd like to fix some small issues first though.

http://niekie.com/bitthanks/sig?id=1 (http://niekie.com/bitthanks/thank?id=1)
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!