Bitcoin Forum
June 23, 2024, 06:30:28 PM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: programm the Bitcoin-RPC-Konsole  (Read 666 times)
btctozar@gmail.com (OP)
Newbie
*
Offline Offline

Activity: 25
Merit: 0


View Profile
March 19, 2014, 08:00:44 PM
 #1

Hi there I need some help.

I am looking for a way to automaticly respond to incomming bitcoins into my bitcoin client.
As soon as someone sends me bitcoins and I recieve them on my client I would like the client do this:

1. The client must be able to recognice incoming bitcoins
2. Identify the address from which the bitcoins were send
3. Send the minimum possible ammount back to this address which a massag attached for example "thank you"

Is this possible to do over the Bitcoin-RPC-Konsole or do I need to get some script running? Which would be the easyies way.
thanks for responds
cp1
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


Stop using branwallets


View Profile
March 20, 2014, 06:27:43 PM
 #2

You'll probably need a little script to poll for incoming transactions.  You could poll getbalance, listunspent, listsinceblock, listreceivedbyaddress, etc and filter by # of confirmations then match up with some database of already processed transactions.

Guide to armory offline install on USB key:  https://bitcointalk.org/index.php?topic=241730.0
sudoku
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
March 20, 2014, 07:36:25 PM
 #3

If you can program in python: http://laanwj.github.io/bitcoin-python/doc/

1SudokuNgdzsYuANDinxUBwKgfyv5cptW
yabtcl
Full Member
***
Offline Offline

Activity: 189
Merit: 103



View Profile
March 20, 2014, 08:03:50 PM
 #4

As I could understand from your message, you want to just send a message to the person that send you some coins.

So, let me tell you that you can't send message to others bitcoin users. Maybe you think that this is possible because in the portal blockchain.info some transactions have messages in it, but this is a feature especific in that portal and bitcoin protocol doesn't support it.

Furthermore, if someone send you coins from an exchange, their coins isn't being sent from their address but from the exchange addresses, so they will never receive your transaction back.

So, in my opinion you should forget about this. Or if you really want to do this you will need to use the blockchain.info API

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!