Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: newIndia on June 16, 2014, 10:03:16 PM



Title: How do I create a forwarding address using Bitcoin-QT ?
Post by: newIndia on June 16, 2014, 10:03:16 PM
^^Title speaks for itself.


Title: Re: How do I create a forwarding address using Bitcoin-QT ?
Post by: shorena on June 17, 2014, 07:53:56 PM
Care to elaborate? I dont know what you mean with "forwarding address".

Do you want to resend coins you received automatically? There is a tool called CoinRelay. Ive been working on a step by step guide for it for a few weeks now. Not sure when I will finish though.


Title: Re: How do I create a forwarding address using Bitcoin-QT ?
Post by: ranochigo on June 18, 2014, 08:24:20 AM
Do you mean that you create a new BTC address for each of your customer and will automatically be sent to your storage address once recieved? I don't know of any feature like that in Bitcoin core. However, blockchain.info does provide this service for free. https://blockchain.info/api/api_receive


Title: Re: How do I create a forwarding address using Bitcoin-QT ?
Post by: zetaray on June 18, 2014, 08:49:21 AM
This will be a useful feature if an address receives large amounts all the time. For smaller transactions, you might loose a high percentage of funds on transaction fees.


Title: Re: How do I create a forwarding address using Bitcoin-QT ?
Post by: BitCoinDream on June 18, 2014, 10:09:14 AM
Do you mean that you create a new BTC address for each of your customer and will automatically be sent to your storage address once recieved? I don't know of any feature like that in Bitcoin core. However, blockchain.info does provide this service for free. https://blockchain.info/api/api_receive

How does blockchain.info automate this ? I dont think they are using a cron, because this feature is almost instantaneous. Are they modifying the Bitcoin daemon code to achieve this ?


Title: Re: How do I create a forwarding address using Bitcoin-QT ?
Post by: ranochigo on June 18, 2014, 10:29:08 AM
Do you mean that you create a new BTC address for each of your customer and will automatically be sent to your storage address once recieved? I don't know of any feature like that in Bitcoin core. However, blockchain.info does provide this service for free. https://blockchain.info/api/api_receive

How does blockchain.info automate this ? I dont think they are using a cron, because this feature is almost instantaneous. Are they modifying the Bitcoin daemon code to achieve this ?
Not sure about this, they didn't state anything about this on the page.


Title: Re: How do I create a forwarding address using Bitcoin-QT ?
Post by: shorena on June 18, 2014, 12:11:08 PM
Do you mean that you create a new BTC address for each of your customer and will automatically be sent to your storage address once recieved? I don't know of any feature like that in Bitcoin core. However, blockchain.info does provide this service for free. https://blockchain.info/api/api_receive

How does blockchain.info automate this ? I dont think they are using a cron, because this feature is almost instantaneous. Are they modifying the Bitcoin daemon code to achieve this ?
Not sure about this, they didn't state anything about this on the page.

They use walletnotify and blocknotify or at least start there. Its way better than cron because it eats less resources.


Title: Re: How do I create a forwarding address using Bitcoin-QT ?
Post by: matthew-mortensen on November 29, 2014, 11:48:28 AM
thanks for sharing!


Title: Re: How do I create a forwarding address using Bitcoin-QT ?
Post by: activebiz on November 30, 2014, 05:15:42 PM
if u mean forwarding funds received on one address to another address,  u can try using cron. I once used a script like this with an altcoin on an Ubuntu
using. /etc/crontab on
Ubuntu
----   root /bin/bash /usr/local/bin/coin_forwarder

actual script shall look like:

$ cat /usr/local/bin/coin_forwarder



#!/bin/bash
if [ $(echo "$(testcoind getbalance) > 0" |
bc) -eq 1 ];then
      testcoind sendtoaddress YOUR_NEW_
ADDRESS $(testcoind getbalance)
"Comment to resender"
fi





It will check every minutes your coind
balance and resend coins to
YOUR_NEW_ADDRESS.

for bitcoin u probably need to add the fee