Bitcoin Forum
June 29, 2024, 01:08:31 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Development & Technical Discussion / Re: Purpose of anyone can pay transaction on: September 20, 2021, 07:02:43 PM
Hi guys, I'm the "friend".
Thanks all for answers!

Sorry for my shitty english

I'm working on my own project "CoinFunding" the purpose is to use Bitcoin "smart-contract" to make a crowdfunding.
When i heard about AnyOneCanPay argument in Bitcoin Mastering chapter 6, i started to investigate.
I really want to manage AnyOneCanPay transactions to build a good User Experience around Crowdfunding on Bitcoin.

I want to promote Bitcoin with a free crowdfunding software without taxes (except fees) or government pressure.


So:

1 - Donors build rawTx and sign it with the amount they want to give and "NONE | ANYONECANPAY"
2 - Receiver collect all inputs from donors and build his own rawTx with "ALL | ANYONECANPAY"
If all inputs stay valid Receiver can broadcast his Tx?
Donors have to precise the good address?

OR

1 - Receiver create a rawTx and sign it with the amount that he wants and the "ALL | ANYONECANPAY"
2 - Donors create their rawTx with the same address and amount they sign it with "NONE | ANYONECANPAY"
3 - Once the amount is reached Receiver can Broadcast his Tx

Hello ethicnology/darosoir -

I have been learning about Bitcoin programming and now on this topic of SigHash. While I was researching about it, came across this thread. Out of the two options you mentioned, which one did you use, looks like the latter (Receiver create first then Donor donate)? If this is crowdfunding, how does the Receiver communicate the info to Donors? Do the Donors just sign the raw transaction and give it to the Receiver without publishing it on the chain as otherwise miners can spend them? Do you have a working platform for crowdfunding using this strategy.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!