Author

Topic: Help with bitcoin Auto Pay (Read 1026 times)

newbie
Activity: 15
Merit: 0
May 16, 2014, 06:26:46 PM
#10
Im willing to pay or partner or whatever you like.

that auto payment would be very simple. you could just run a cron job every
  • amount of minutes and have it calculate everything out... if it does'nt meet the standards then don't payout on that.. it will continue to try until your standards are met and process the payout.
So would you be able to set it up? Please pm me your price and any questions so we can get this going.
newbie
Activity: 24
Merit: 0
May 15, 2014, 12:46:00 PM
#9
Im willing to pay or partner or whatever you like.

that auto payment would be very simple. you could just run a cron job every
  • amount of minutes and have it calculate everything out... if it does'nt meet the standards then don't payout on that.. it will continue to try until your standards are met and process the payout.
newbie
Activity: 15
Merit: 0
May 15, 2014, 10:56:33 AM
#8
Im willing to pay or partner or whatever you like.
newbie
Activity: 15
Merit: 0
May 13, 2014, 07:24:25 AM
#7
Payouts are based on the percentages of investments.
If the highest investment is 1 bitcoin at the time, and address_4 sends in .5 Bitcoins. Then address_4 will always have a 50% payout rate.
So, if the highest investment sent to the main address_0 is 1 bitcoin by address_3, then address_4 sends in .5 bitcoins, address_5 sends in .5 bitcoins, and lastly, address_8 sends in 2 bitcoins. How much will each address receive in FUTURE payouts?
Easy. It's all based on the percentage of the highest investment.

Highest investment = 1 Bitcoin by address_3 = 100%(For this example, lets say the was the first ever investment)
address_4 = .5 = 50%
address_5 = .5 = 50%
address_8 = 2  = 200% (New highest investor)


Payouts:
Address_3 will recieve a weighted 100% of address_4 investment (minus the 10% that is ALWAYS kept by the main address_0) = .45 bitcoins.
address_4 will recieve a weighted 50% of address_5 investment and address_3 will recieve a weighted 100% of address_5. So hold 10% of address_5 investment for the main address_0. So the main address will keep 10% is .05 bitcoins. Address_3 will get 66.66% of address_5 = .297. Address_4 will get 33.33% of address_5 investment = .148 bitcoins.

To find the percentage, take the addresses investment percentage and divide it by the sum of all the previous percentages, then multiply it by 100. That will give you the payout percentage. Then take that number, and multiply the percentage by the next investment. But always keep 10% for the main address_0.

So we can make sure we are on the same page, tell me how much each address will get from address_8 investment of 2 bitcoins.

hero member
Activity: 1582
Merit: 759
May 12, 2014, 09:53:04 PM
#6
Future meaning, as soon as the transaction is added to the blockchain. I want it fast!! I want people getting their money NOW! Smiley

Not a problem. I have the script complete. PM me.
newbie
Activity: 15
Merit: 0
May 12, 2014, 05:48:11 PM
#5
It's not so complicated, though it depends how much quality you want to put into the code. Proper error handling and passing failed payments back to the queue with some log events and prioritising, it can be quite a job.


So, basically I need it to go like this:
Bitcoin Address_0 receives a payment from bitcoin Address_1. Address_0 keeps X% of address_1 payment. Address_0 then divides up the remaining balance, and forwards payment to previous investors automatically. In the case where address_0 tries to send a payment to an address but the payment amount is less than the bitcoin transaction fee, that payment is queued until the payment reaches above the transaction fee. At that point, the payment will be sent. All transaction fees are paid by the receiving address.

Are you wanting to hire a programmer? I've just created a similar script.
Sure, I'll hire a programmer who can get the job done. Tell me about the script. I'm not a programmer. Is it easy to install? Do I need to install anything? How will it confirm transactions? Will it get information from the actual bitcoind, or will it get it from another website like blockchain.info? How secure is it?

When you say in the future, do you mean as soon as the transaction is added to the blockchain, or after a certain amount of time?

I already have a script developed that can be modified for this. I can alter it for $30 in BTC. Pm me.
Future meaning, as soon as the transaction is added to the blockchain. I want it fast!! I want people getting their money NOW! Smiley
hero member
Activity: 1582
Merit: 759
May 12, 2014, 03:13:52 PM
#4
When you say in the future, do you mean as soon as the transaction is added to the blockchain, or after a certain amount of time?

I already have a script developed that can be modified for this. I can alter it for $30 in BTC. Pm me.
hero member
Activity: 524
Merit: 502
May 12, 2014, 06:42:57 AM
#3
Are you wanting to hire a programmer? I've just created a similar script.
newbie
Activity: 23
Merit: 0
May 12, 2014, 04:24:56 AM
#2
It's not so complicated, though it depends how much quality you want to put into the code. Proper error handling and passing failed payments back to the queue with some log events and prioritising, it can be quite a job.

If you just want a simple bit of code to just "send" and nothing more than use blockchain "wallet api", not their other one, it is not reliable enough. I think they have a little bit of php example code there on the site also.

Regards

Aris
newbie
Activity: 15
Merit: 0
May 11, 2014, 08:20:52 PM
#1
I need to auto pay in bitcoins. I need to do this on my website, youradhere.se. What is the simplest way I can set this up. I have one main bitcoin address, and whoever sends ANY amount of bitcoins to it, will be forwarded bitcoins in the future. Is there a simple way to do this?
Jump to: