bergealex4 on Nostr: We built a Coinflip PoC using multiparty contracts on Ark! Bonus points: it uses ...
We built a Coinflip PoC using multiparty contracts on Ark!
Bonus points: it uses Nostr on the backend.
Ark's client-server architecture, built around presigned transactions, provides an interesting framework for coordinating complex multi-party interactions.
A key insight from our Coinflip implementation: Ark operators validate spending conditions off-chain, such that in the optimistic case, complex validation logic doesn't hit the blockchain at all.
Once the game concludes, players settle their balance without intermediary trust.
It's available here: Coinflip is available here:
http://coinflip.casinoCheck it out! 👾
Published at
2025-02-21 14:29:18Event JSON
{
"id": "9d581dc882db0871ec8184d9a26b51ffa25f9f56de585b6648c897ac1b427ce9",
"pubkey": "d26f78e5954117b5c6538a2d6c88a2296c65c038770399d7069a97826eb06a95",
"created_at": 1740148158,
"kind": 1,
"tags": [
[
"r",
"wss://eden.nostr.land/"
],
[
"r",
"wss://nostr.oxtr.dev/"
],
[
"r",
"wss://nos.lol/"
],
[
"r",
"wss://relay.primal.net/"
],
[
"r",
"wss://relay.damus.io/"
],
[
"r",
"wss://relay.snort.social/"
],
[
"r",
"wss://relay.nostr.band/",
"write"
]
],
"content": "We built a Coinflip PoC using multiparty contracts on Ark!\n\nBonus points: it uses Nostr on the backend. \n\nArk's client-server architecture, built around presigned transactions, provides an interesting framework for coordinating complex multi-party interactions.\n\nA key insight from our Coinflip implementation: Ark operators validate spending conditions off-chain, such that in the optimistic case, complex validation logic doesn't hit the blockchain at all.\n\nOnce the game concludes, players settle their balance without intermediary trust.\n\nIt's available here: Coinflip is available here: http://coinflip.casino\n\nCheck it out! 👾 https://m.primal.net/PFcL.png ",
"sig": "d2204a44e692e118570569168bb1d0d0dec5feb06291c0bff2e265fab5942082f1da70b6095dff3974acd2ded92bedaaccaacc5b580c8e02c33c87ee9294aa4b"
}