This paper proposes a simple two-stage mechanism to establishnpositive contributions to public goods in the absence of powerful institutions tonprovide the public good and to sanction free-riders. In this mechanism players commit to the public good by paying a deposit prior to the contribution stage.nIf there is universal commitment, deposits are immediately refunded whenever anplayer contributes her speci¯ed share to the public good. If there is no universalncommitment, all deposits are refunded and the standard game is played. For suitable deposits, prior commitment and full ex post contributions are supported as a strict subgame perfect Nash equilibrium for the resulting game. As the mechanism obviates the need for any ex post prosecution of free-riders, it is particularlynsuited for situations where players do not submit to a common authority as in the case of international agreements.