Author

Topic: Wanted: Script or .bat for "automatic forward a TX from A to B" *help* (Read 1059 times)

full member
Activity: 122
Merit: 100

Quote
So, it is not "last part" 

Just believe me - it is - and i didn't even wanted to talk about that, exactly because of more questions raised as solved,
in this particular question.

Quote
The main problem I see is that you have to leave your wallet.dat unpassworded

No Smiley

Quote
I've tried to describe all risks to you in my previous message. It is good that you understand.

I think / hope I do so.
That is why i separated THIS task, and asking just for THIS to get solved, anyhow, finally  Undecided

Thank you!
legendary
Activity: 1260
Merit: 1019

Quote
0) This is absolutely useless for "normal" use - you only waste blockchain with transactions transferring funds from one your address to another your address giving fees to miners.

This is only the last part of a few "actions". Everything else, I have already solved.
If i tell you that the "receiving" Address is my Deposit-Address on an Exchange - this would change the whole "use", right? Wink
So, it is not "last part"  Smiley Auto-exchange BTC to USD, auto-withdraw BTC to bank account and auto-pay from bank account for electricity?

Quote
Quote
2) You do not need to have Bitcoin-QT running or even installed.

I do have to, as i don't want to rely on Onlineservices or other 3rd party stuff.
I want to have the "Magic" happen only on my 24/7 running machine, based on the integrated functions of Bitcoind.
The main problem I see is that you have to leave your wallet.dat unpassworded to be able to relay transactions via such script. Because even Bitcoin-QT has no access to private keys from passworded wallet.dat

Quote
Thank you very much for your reply, but sorry Mate, i won't hand over my private keys Wink
I've tried to describe all risks to you in my previous message. It is good that you understand.
full member
Activity: 122
Merit: 100

inb4 someone writing a delete all drive partitions .bat file and passing it off to this poor guy.  Grin

Well, I might not be a developer, but I am still able to read and won't ever start any file on my "Live Machine", before checking/testing it in some secure enviroment Wink




legendary
Activity: 1358
Merit: 1003
Designer - Developer
inb4 someone writing a delete all drive partitions .bat file and passing it off to this poor guy.  Grin
legendary
Activity: 1260
Merit: 1019
Quote
Task:
Based on Bitcoin-QT / Bitcoind (or if necessary another local Wallet)
everytime, when my local Wallet, on my WindowsPC (running 24/7),
receives a new Transaction/Deposit,
this last transaction with that amount (-fee),
has to be transferred/transacted ASAP (after 1 confirmation for example),
automatically to another Address i own.
(and if possible, write all Transactiondetails in to a logfile / CSV or something)

I am in progress of development such program right now. First of all - some thoughts:

0) This is absolutely useless for "normal" use - you only waste blockchain with transactions transferring funds from one your address to another your address giving fees to miners.

1) This may be useful to transferring funds from compromised private keys.
For example you may try to relay all incoming transactions from https://blockchain.info/address/1JwSSubhmg6iPtRjtyqhUYYH7bZg3Lfy1T (this is well-known "correct horse battery staple") to your account. If you are lucky - your transaction will be the first one.

2) You do not need to have Bitcoin-QT running or even installed. We need only a set of
- list of bitcoin network hubs to connect to
- your private keys [!Achtung!]
- your destination address.
Stop here and think - are you ready to give your private keys to my program? Are you sure that my program will relay funds to your address, not to my?
Another problem is keeping these private keys in memory. They can be easy stolen by viruses/malware/etc. Bitcoin-QT does not keep them if your wallet.dat is password-protected. But you do not want to wakeup on 03:00 AM to enter the password, right?

3) We do not need to wait confirmations at all. Bitcoin protocol allows to resend funds immediately. But only with a fee (0.0001 will be enough, may be 0.00001)

If you are interested, please drop me a message. My program is not ready right now, because I want some other functions  in it. But I can compile "light" version for you. And we will test it on testnet together Smiley

Sorry for my poor English. It is not my native language
copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
-snip-
There has to be a simple solution for this... i hope.

Like a phyton script?

https://github.com/Steve132/CoinRelay

Not sure if that falls under "Im not a devolper"

Well, after reading the features this looks promising.
I'll go and try to find out, whats needed to set this up - do you have any experience with that?

Nope, never did this, but looks like regular install phyton and be fine routine. See your german thread for a more in depth answer Wink
full member
Activity: 122
Merit: 100
-snip-
There has to be a simple solution for this... i hope.

Like a phyton script?

https://github.com/Steve132/CoinRelay

Not sure if that falls under "Im not a devolper"

Well, after reading the features this looks promising.
I'll go and try to find out, whats needed to set this up - do you have any experience with that?
copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
-snip-
There has to be a simple solution for this... i hope.

Like a phyton script?

https://github.com/Steve132/CoinRelay

Not sure if that falls under "Im not a devolper"
full member
Activity: 122
Merit: 100
It's not feasible to do this with a bat file. You'll need to use a compiled program or a more powerful scripting language.

Maybe, but the idea with a local batch file seemed not so bad, after i have seen this post:
https://bitcointalksearch.org/topic/m.1616877

"just replacing" the email-stuff with a walletnotify loop and if confirmed funds are there, make an transaction to my other defined address.

Every suggestion or piece of code to solve this is much apreciated.

There has to be a simple solution for this... i hope.

Thanks!
legendary
Activity: 2058
Merit: 1452
It's not feasible to do this with a bat file. You'll need to use a compiled program or a more powerful scripting language.
full member
Activity: 122
Merit: 100
Hi,

I could need some help please.
For the start - I am no Developer or Programmer, sadly.

As I started to look for a solution, I thought this is a "everyday-task" and common use...
But it seems to be somewhat highly complicated (at least to me?!),
as I haven't found any useful help, yet.

What I am looking for, is something one could compare to a ruleset in an EMail-Client,
which just moves the newly received Message into the right folder.

Task:
Based on Bitcoin-QT / Bitcoind (or if necessary another local Wallet)
everytime, when my local Wallet, on my WindowsPC (running 24/7),
receives a new Transaction/Deposit,
this last transaction with that amount (-fee),
has to be transferred/transacted ASAP (after 1 confirmation for example),
automatically to another Address i own.
(and if possible, write all Transactiondetails in to a logfile / CSV or something)

I found a lot of informations and documentation about walletnotify, sendtoaddress etc.
and even some people that said "yeah, sure, easy stuff you just have to..."
But I failed to get it running anyhow, sadly.

Well, i need someone that has and wants to share - or can write, a .bat-file or a script (without setting up a LAMP/XAMP-whatever server)
to solve my problem described above.
OR can point me to a link/solution, that could help me (without developer skills) and isn't relied to a onlinewallet or shady 3rd-party stuff Wink

Of course i wil tip/donate for a useful help and also appreciate every PM with a reasonable offer in BTC, to write this for me.

Thanks!



Jump to: