<p>Have a look to <a href="https://bitcoin.org/en/developer-guide#term-sighash-anyonecanpay" rel="nofollow">https://bitcoin.org/en/developer-guide#term-sighash-anyonecanpay</a>
<strong>SIGHASH_ALL|SIGHASH_ANYONECANPAY</strong></p>

<p>Organizer creates transaction with one output and none inputs. Any person can add his funds to this transaction. Once the needed amount is collected the transaction can be sent to a network.</p>

<blockquote>
  <p>An organizer sets a goal: an amount of bitcoins must be gathered
  within a specific amount of time</p>
</blockquote>

<p>Seems to me that specifying amount of time is not possible</p>

<blockquote>
  <p>Random pledgers send an amount within specified boundaries (min/max
  amounts).</p>
</blockquote>

<p>Fixed amount.</p>

<blockquote>
  <p>If the goal is reached within the specified amount of time, the
  organizer collects the pledges</p>
</blockquote>

<p>Let us say "if the goal is reached one time the organizer sends this transaction to a network".</p>

<blockquote>
  <p>If the goal is not reached within the specified amount of time, the
  pledges are returned to the pledgers</p>
</blockquote>

<p>Any pledger can re-spend his funds at any time before organizer creates valid transaction</p>

CC BY-SA 3.0
2015-03-16T19:29:06.797Z
I will have to go through the proposed docs and see if it fits my problem, thank you.
Doug Peters
CC BY-SA 3.0
2015-03-16T14:36:58.187Z
2015-03-16T14:36:58.187Z
amaclin
<p>Is there an obvious way that I can achive the following with Bitcoin?</p>

<ul>
<li>An organizer sets a goal: an amount of bitcoins must be gathered within a specific amount of time</li>
<li>Random pledgers send an amount within specified boundaries (min/max amounts).</li>
<li>If the goal is reached within the specified amount of time, the organizer collects the pledges</li>
<li>If the goal is not reached within the specified amount of time, the pledges are returned to the pledgers</li>
</ul>

<p>AFAIU the above model is similar to Mike Hearn's <a href="http://blog.vinumeris.com/2014/05/17/lighthouse/" rel="nofollow">LightHouse project</a>, however I cannot use this great platform for my project and on top of that I would like to be sure that I'm headed in the right direction, so any ideas and alternatives on how to achieve the above are more than welcome. </p>

CC BY-SA 3.0
2015-03-17T12:48:55.100Z
Why can't you use LightHouse, out of curiosity?
morsecoder
CC BY-SA 3.0
2015-03-17T14:21:37.230Z
@StephenM347 because of this: http://bitcoin.stackexchange.com/questions/36003/why-are-lighthouse-campaigns-limited-to-684-pledges
Doug Peters
CC BY-SA 3.0
2015-03-17T17:31:39.597Z
I see. Unfortunately, I suspect any solution you find will have the same limitations, though. Maybe you could do some sort of a multi-transaction fundraiser, where people commit to the latest transaction first all the way up to the first transaction (in the series of broadcasts) to get around the single transaction size limit and still be able to have multiple parties submit funds.
morsecoder
<bitcoind>
Pledging mechanism using Bitcoin
Doug Peters
# Pledging mechanism using Bitcoin

(Asked by: username_0 on 2015-03-16)

Is there an obvious way that I can achive the following with Bitcoin?

* An organizer sets a goal: an amount of bitcoins must be gathered within a specific amount of time
* Random pledgers send an amount within specified boundaries (min/max amounts).
* If the goal is reached within the specified amount of time, the organizer collects the pledges
* If the goal is not reached within the specified amount of time, the pledges are returned to the pledgers

AFAIU the above model is similar to Mike Hearn's [LightHouse project](http://blog.vinumeris.com/2014/05/17/lighthouse/), however I cannot use this great platform for my project and on top of that I would like to be sure that I'm headed in the right direction, so any ideas and alternatives on how to achieve the above are more than welcome.

**Tags:** bitcoind

> **Comments:**
> **username_1**: Why can't you use LightHouse, out of curiosity?  
> **username_0**: @StephenM347 because of this: http://bitcoin.stackexchange.com/questions/36003/why-are-lighthouse-campaigns-limited-to-684-pledges  
> **username_1**: I see. Unfortunately, I suspect any solution you find will have the same limitations, though. Maybe you could do some sort of a multi-transaction fundraiser, where people commit to the latest transaction first all the way up to the first transaction (in the series of broadcasts) to get around the single transaction size limit and still be able to have multiple parties submit funds.  

---

## 1 answers

### Answer by username_2 on 2015-03-16. Score: 2

Have a look to <https://bitcoin.org/en/developer-guide#term-sighash-anyonecanpay>
**SIGHASH\_ALL|SIGHASH\_ANYONECANPAY**

Organizer creates transaction with one output and none inputs. Any person can add his funds to this transaction. Once the needed amount is collected the transaction can be sent to a network.

> An organizer sets a goal: an amount of bitcoins must be gathered
> within a specific amount of time

Seems to me that specifying amount of time is not possible

> Random pledgers send an amount within specified boundaries (min/max
> amounts).

Fixed amount.

> If the goal is reached within the specified amount of time, the
> organizer collects the pledges

Let us say "if the goal is reached one time the organizer sends this transaction to a network".

> If the goal is not reached within the specified amount of time, the
> pledges are returned to the pledgers

Any pledger can re-spend his funds at any time before organizer creates valid transaction

> **Comments:**
> **username_0**: I will have to go through the proposed docs and see if it fits my problem, thank you.  

---

