Author

Topic: Send Bitcoin from 1 address to multiple addresses with one transaction (Read 93 times)

legendary
Activity: 1512
Merit: 7340
Farewell, Leo
You are saying what n0nce above said? I need to code some semi-custom solution?

Yes. You'll have to modify the BTCPay server source code.
member
Activity: 276
Merit: 23
The thing is simple; you give the buyer's your receiving address and once they've sent the money you send that amount of money minus the fee to the seller. Both of them have to trust you either way.

Now if there's a payment provider that does that, none that I'm aware, but it shouldn't be difficult to code this.

You are saying what n0nce above said? I need to code some semi-custom solution?
hero member
Activity: 882
Merit: 5818
not your keys, not your coins!
For implementing any type of marketplace, shop, etc., I'd recommend to run a self-hosted BTCPay Server.

Bitcoin can definitely handle single-input, multiple-output transactions; that's actually the most common type of transaction, with the second output being change. I don't think that BTCPay Server or any other payment processor has a feature specifically for it though. So your best bet might be modifying the code yourself.

The easier thing to do however, would most probably be to receive all the payments in your own wallet & then periodically paying out the recipients in batches. Since you can pay dozens of recipients with a single transaction, it won't add much cost overhead and would require no changes to BTCPay Server.
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
The thing is simple; you give the buyer's your receiving address and once they've sent the money you send that amount of money minus the fee to the seller. Both of them have to trust you either way.

Now if there's a payment provider that does that, none that I'm aware, but it shouldn't be difficult to code this.
member
Activity: 276
Merit: 23
I want to build a marketplace, so there is a buyer and a seller. So when a buyer buys something from the seller I take the fee. Thus part of buyer's money goes to my account like (10%) and the rest to the seller.

Is there any payment provider in the crypto world that allows that, either through a payment provider or to code it by myself? Or if there isn't, what's possible solution for my problem?
Jump to: