CookieJarProtocol

Cookie Jar Protocol streamlines fund allocation in DAOs with optimistic governance and high social trust. Members can withdraw small token amounts with minimal overhead, ensuring transparency and accountability via Ethereum Attestations on EAS and Farcaster frames.

Superhack 2024Shipped August 2, 2024Prize winner#identity#social#dao#security#world
Repo
CookieJarProtocol banner

About

**Project Description: Cookie Jar Protocol** ![image](https://hackmd.io/_uploads/HyIQXH6Y0.png)

**Overview:**

Cookie Jar Protocol is an innovative smart contract solution designed to streamline and democratize fund allocation within decentralized autonomous organizations (DAOs). By leveraging optimistic governance and high social trust mechanisms, Cookie Jar Protocol enables DAO members to withdraw small amounts of tokens with minimal overhead while ensuring transparency and accountability through Ethereum Attestations on EAS and Farcaster frames.

**Key Features:**

1. **Optimistic Governance Mechanism:**

- Allows any DAO member to withdraw small amounts of tokens from the Cookie Jar by leaving a note describing the intended use. - DAO members can upvote or downvote these notes, fostering a transparent and community-driven decision-making process. - Reduces governance overhead by eliminating the need for formal voting on each proposal.

  • **Ethereum Attestations (EAS) and Farcaster Frames:**
  • Users request funds and leave notes on Farcaster frames.
  • Each note is recorded as an Ethereum Attestation on EAS, ensuring verifiable and immutable records of fund usage.

3. **Cross-Chain Fund Withdrawals:**

- Utilizes Chainlink CCIP to enable users to withdraw funds from the Cookie Jar on multiple OP stack chains such as Optimism, Base, and others. - Ensures seamless interoperability and flexibility across various blockchain networks.

4. **Human Verification:**

- Integrates Worldcoin for user verification on Farcaster frames, ensuring that only verified human users can request and withdraw funds. - Enhances the security and integrity of the protocol by preventing fraudulent activities.

  • **Data Management and Transparency:**
  • Employs Goldsky for creating and managing subgraphs, facilitating efficient data indexing and querying.
  • Utilizes Blockscout as the blockchain explorer to provide clear and transparent insights into all transactions and activities within the protocol.

**Use Cases:**

- **DAO Fund Allocation:** Simplifies the process of distributing small grants or funds to contributors without the need for extensive governance procedures. - **Community Incentives:** Encourages community engagement by allowing members to propose and fund initiatives that benefit the DAO. - **Project Development:** Supports decentralized project development by providing accessible and transparent funding mechanisms.

**Technical Stack:**

- **Blockchain:** Optimism Mainnet and OP Stack Chains - **Smart Contracts:** Solidity - **Data Indexing:** Goldsky - **Blockchain Explorer:** Blockscout - **Cross-Chain Interoperability:** Chainlink CCIP - **User Verification:** Worldcoin - **Note and Attestation System:** Farcaster Frames and Ethereum Attestation Service (EAS)

**Conclusion:**

Cookie Jar Protocol revolutionizes the way DAOs manage and allocate their funds by introducing an efficient, transparent, and community-driven approach. By reducing governance overhead and leveraging advanced blockchain technologies, Cookie Jar Protocol empowers DAOs to operate more effectively and inclusively, fostering a vibrant and engaged community.

This project involves a cross-chain system called "CookieJar," enabling users to transfer assets between two blockchain networks, "Base" and "OP."

### Key Steps:

1. **Alice** deposits 5 ETH into a jar on the Base chain. 2. **CookieJar** on Base locks 1 ETH and updates its state. 3. **Goldsky Subgraph** detects a withdrawal request and triggers synchronization across chains. 4. **CookieJar Trusted Operator** verifies the request and releases 1 ETH on the OP chain to **Bob**. 5. Bob completes the withdrawal on the OP chain, receiving 1 ETH.

This system ensures secure, synchronized cross-chain asset transfers between different blockchain networks.

Prizes

  • Blockscout · Use Blockscout Block Explorer! · Use Blockscout Block Explorer!
  • Worldcoin · Pool Prize · Pool Prize

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

Cookie Jar

Cookie Jar is a smart contract that contains a small amount of tokens in it that anyone in a DAO can withdraw from. The withdrawer must leave a note saying what the tokens are going to be used for, and DAO members can upvote/downvote those notes.

Chain-chat

Chain-chat: The decentralized SocialFi app on Celo! With WorldCoin ID, IPFS sharing, DAO governance, NFT marketplace, yield farming, and staking, it’s your gateway to social, DeFi, and business innovation. Experience the future today! 🚀🌐💬📈