In the Pearsall v. Alexander case, the court found that by exchanging mutual promises to share in proceeds of lottery tickets, the parties entered into a valid, enforceable contract.
Although such a gratuitous promise would be otherwise unenforceable, under the UCC, any claim arising out of an alleged breach of contract can be discharged by a written renunciation signed and delivered by the aggrieved party.