Bitcoin Forum

Bitcoin => Project Development => Topic started by: cagriari on April 27, 2017, 10:13:43 AM



Title: [Free] Bitcoin Forwarder API
Post by: cagriari on April 27, 2017, 10:13:43 AM
no more serving. sorry!


Title: Re: [Free] Bitcoin Forwarder API
Post by: BitScrip on May 01, 2017, 07:49:04 PM
Is there source code available for this?


Title: Re: [Free] Bitcoin Forwarder API
Post by: cagriari on May 06, 2017, 11:17:42 AM
Is there source code available for this?


Sorry for late answer, it's done with Electrum, Pycoin, Pybtctools and Blockchain.info API, as I didn't have much space to install Bitcoin Core.
But I don't think I will publish the source


Title: Re: [Free] Bitcoin Forwarder API
Post by: babo on May 07, 2017, 10:25:13 AM
Is there source code available for this?


Sorry for late answer, it's done with Electrum, Pycoin, Pybtctools and Blockchain.info API, as I didn't have much space to install Bitcoin Core.
But I don't think I will publish the source

you dount publish code, but write address of your service with warning
i smell scam try

for example, i write a simple mixer use bitmixer.io api and i publish the code.. this is the way


Title: Re: [Free] Bitcoin Forwarder API
Post by: cloverme on May 07, 2017, 01:59:08 PM
It does seem odd why advertise a project to use something and then warn them how insecure it is... ???


Title: Re: [Free] Bitcoin Forwarder API
Post by: cagriari on May 09, 2017, 06:12:43 PM
It does seem odd why advertise a project to use something and then warn them how insecure it is... ???

Yea, actually made it for my projects, and shared here if someone uses it and I get some donation :D


Title: Re: [Free] Bitcoin Forwarder API
Post by: ari015 on May 09, 2017, 06:14:36 PM
Are this is be safe ?


Title: Re: [Free] Bitcoin Forwarder API
Post by: Salmen on May 09, 2017, 08:11:56 PM
Interesting project but what's the sense in it? You denied to publish the source code and call in your post that it's not really safe to use it.
Preferably you should use Bitcoin Testnet coins on your project since you mentioned it's not safe. In addition, use an second API such as Chain.so, in case Blockchain is down.


Title: Re: [Free] Bitcoin Forwarder API
Post by: minion1000 on May 10, 2017, 09:10:26 PM
It is a good idea but I think you just need to improve security and make it a business


Title: Re: [Free] Bitcoin Forwarder API
Post by: willmm on May 10, 2017, 09:14:41 PM
Using someone's random forwarding service is a bad idea for anything more than testing it out or testnet coins. If the source code could be given out that would be great resource for developers such as myself, but other than that it is too risky to use.


Title: Re: [Free] Bitcoin Forwarder API
Post by: zoufou on May 10, 2017, 09:39:46 PM
what's point of using a forwarder ? what's the usecase ?


Title: Re: [Free] Bitcoin Forwarder API
Post by: willmm on May 10, 2017, 10:01:22 PM
what's point of using a forwarder ? what's the usecase ?
I have used and created forwarders before, pretty much anything that needs to accept payments uses a forwarder with bitcoin. If you have purchased anything with bitcoin from a website, for example steam (the video game service that now accepts bitcoin), they give you a completely new address, which when you send to it, forwards to the main address, and knows that you paid. If they had 1 central address they wouldn't know who paid. A forwarding service also lets you distinguish between payments. For example, if you need someone to pay you for groceries and someone else to pay you for gas, you could use the forwarder and mark that address as GROCERIES, and another address as GAS, and then when the GAS address receives a payment, you know its for GAS and not groceries.


Title: Re: [Free] Bitcoin Forwarder API
Post by: cagriari on May 12, 2017, 05:22:57 PM
It stores destination address & public key & private key in database. When user calls ?update, fetches info from DB, generates raw TX, signs and broadcasts it.
It uses shell commands for 3rd party apps.
It's my VPS that I use for everything, not secure. If there is some attention in site, I'd get another VPS and launch it.

(private key as AES encrypted, but the key is also in .PHP file. that's why it could be dangerous. if it gets hacked from another things running on server, they will be able to access keys)


Title: Re: [Free] Bitcoin Forwarder API
Post by: cloverme on May 12, 2017, 07:41:33 PM
It stores destination address & public key & private key in database. When user calls ?update, fetches info from DB, generates raw TX, signs and broadcasts it.
It uses shell commands for 3rd party apps.
It's my VPS that I use for everything, not secure. If there is some attention in site, I'd get another VPS and launch it.

(private key as AES encrypted, but the key is also in .PHP file. that's why it could be dangerous. if it gets hacked from another things running on server, they will be able to access keys)

I see... well, I'd recommend storing the key out of the webroot.  I understand the warning now from a security context.


Title: Re: [Free] Bitcoin Forwarder API
Post by: Patatas on May 13, 2017, 07:22:05 AM
I have used and created forwarders before, pretty much anything that needs to accept payments uses a forwarder with bitcoin. If you have purchased anything with bitcoin from a website, for example steam (the video game service that now accepts bitcoin), they give you a completely new address, which when you send to it, forwards to the main address, and knows that you paid. If they had 1 central address they wouldn't know who paid. A forwarding service also lets you distinguish between payments. For example, if you need someone to pay you for groceries and someone else to pay you for gas, you could use the forwarder and mark that address as GROCERIES, and another address as GAS, and then when the GAS address receives a payment, you know its for GAS and not groceries.
Nice explanation.Thanks for shedding light.
Op,why not make the source-code available to public ? How does one makes sure he forwards to the right addresses ?  As much I'm curious about the project,the desperate I'm to look at the source code.


Title: Re: [Free] Bitcoin Forwarder API
Post by: cagriari on May 13, 2017, 10:22:02 AM
I have used and created forwarders before, pretty much anything that needs to accept payments uses a forwarder with bitcoin. If you have purchased anything with bitcoin from a website, for example steam (the video game service that now accepts bitcoin), they give you a completely new address, which when you send to it, forwards to the main address, and knows that you paid. If they had 1 central address they wouldn't know who paid. A forwarding service also lets you distinguish between payments. For example, if you need someone to pay you for groceries and someone else to pay you for gas, you could use the forwarder and mark that address as GROCERIES, and another address as GAS, and then when the GAS address receives a payment, you know its for GAS and not groceries.
Nice explanation.Thanks for shedding light.
Op,why not make the source-code available to public ? How does one makes sure he forwards to the right addresses ?  As much I'm curious about the project,the desperate I'm to look at the source code.

Okay, okay.
x.x.x.x
Here is the source code for it.

Note: You might want to edit 10th and 40th line.
Note: AES was removed. You can implement yours