Treasury · Phase 1

Founding capital escrow with refund timelock

Hold each member's contribution toward the land purchase so that no party, the village included, controls it alone, and the member gets it back if the deal does not happen.

Parties
member, cooperative or founding LLC, independent escrow agent
Tools
Liana, Bitcoin Core, Ledger, BitBox02 or Jade signers
Maturity
Proven tools

What Bitcoin enforces

No single party can move the funds before the refund date; the member alone can reclaim after it; the closing is all-or-nothing.

Per-member P2WSH output: any 2 of member, cooperative and agent; member alone after the refund date. Closing spends all escrows in one transaction, signed SIGHASH_ALL by every member (known circle) or SIGHASH_ALL|ANYONECANPAY per input (open pledging), so closing is all-or-nothing.

What the agreement enforces

Conditions for release, agent duties and fee, dollar target, refund date and price-move rules.

Escrow agreement (Ricardian), referenced by the occupancy agreement

Who can move it, and when

SignersOnly after
any 2 of member, coop, agentAt any time
member_r aloneafter 1822348800 (2027-10-01 00:00 UTC, median time past)

What can go wrong

FailureWhat limits the harm
Member loses keysCoop and agent can still release or refund by agreement; separate refund key backed up
Agent disappearsMember plus coop still release
Fee spike at closingSign with a fee margin; keep a CPFP-able output
Bitcoin price falls before closingConvert the purchase amount to dollars when the purchase contract is signed
Signer lacks non-default sighash supportUse SIGHASH_ALL closing for a known circle
Coercion of a memberA coerced member alone cannot release before the refund date

The clause

The Agent shall co-sign release to the Seller's closing account only on delivery of a signed purchase contract, title commitment and the inspection report named in Schedule A; shall co-sign a refund to the Member if those conditions fail by the Refund Date; and acts only under this agreement. Contributions are valued in dollars at the rate on the closing date; if the dollar target is not met the round fails and every escrow is refunded.

What gets recorded

  • Escrow agreement hash and signed acceptances in the register
  • Descriptor held by member, cooperative and agent
  • Closing PSBT and transaction id

The code

Policy

or(95@thresh(2,pk(member),pk(coop),pk(agent)),5@and(pk(member_r),after(1822348800)))

Descriptor (SegWit)

wsh(or_d(multi(2,member,coop,agent),and_v(v:pkh(member_r),after(1822348800))))

Descriptor (Taproot)

tr(NUMS,{and_v(v:pk(member_r),after(1822348800)),multi_a(2,member,coop,agent)})

All arrangements · The research behind them

Sources

  1. Todd, Peter. BIP 65: OP_CHECKLOCKTIMEVERIFY. Bitcoin Improvement Proposals (GitHub). Accessed 2026-11-30.
  2. Kerin, T.; Friedenbach, M.. BIP 113: Median time-past as endpoint for lock-time calculations. bitcoin/bips repository, 2015-08-10. Accessed 2026-11-30.
  3. Bitcoin Wiki contributors. Contract. en.bitcoin.it, 2026. Accessed 2026-11-30.
  4. Bitcoin Core contributors. walletprocesspsbt (Bitcoin Core 31.0 RPC documentation). bitcoincore.org, 2026. Accessed 2026-11-30.
  5. Wizardsardine. Liana wallet. lianawallet.com, 2026. Accessed 2026-11-30.
  6. rust-bitcoin contributors. miniscript 13.2.0 (Rust crate). crates.io, 2026-10-17. Accessed 2026-11-30.
  7. Bitcoinerlab. @bitcoinerlab/miniscript 2.0.1. npm, 2026-11-05. Accessed 2026-11-30.