Skip to content

Instantly share code, notes, and snippets.

@mlegls
Created March 12, 2025 05:41
Show Gist options
  • Save mlegls/64cb1c2527c1c4fc513d617bd24a6e22 to your computer and use it in GitHub Desktop.
Save mlegls/64cb1c2527c1c4fc513d617bd24a6e22 to your computer and use it in GitHub Desktop.

CoopHive x Filecoin Hackathon

Problem Statement

Web3 agreements often require complex coordination between on-chain assets and off-chain services. While blockchain provides powerful primitives for asset exchange, managing conditional agreements that involve real-world data or services remains challenging. This is especially true for decentralized storage, where proof of storage and data availability are critical but complex to integrate into smart contracts.

Alkahest provides a modular framework for building and executing conditional agreements on EVM-compatible chains, using EAS attestations as a foundational primitive. What's currently missing are specialized integrations for Filecoin ecosystem services that would enable conditional agreements based on storage proofs, retrieval guarantees, and other Filecoin-native capabilities.

We're looking for innovative integrations that connect Alkahest's agreement framework with Filecoin's storage capabilities, creating new possibilities for storage markets, data availability guarantees, and storage-backed financial instruments.

Integration Opportunities

1. Filecoin Storage Proof Arbiter

Create an Arbiter that verifies Filecoin storage proofs, enabling conditional agreements when data is provably stored on the Filecoin network. This could involve:

  • Developing arbiters for Filecoin proofs-of-storage
  • Arbiters involving bridges between Filecoin and other EVM-compatible chains
  • Building Arbiter contracts that can verify storage commitments

2. Storage Service Provider Integration

Develop core Arbiters and Obligations that integrate with Filecoin storage providers like Storacha and Akave:

  • Arbiters that verify storage commitments made by specific providers
  • Obligations representing storage conditions (duration, redundancy, retrieval speed)
  • Verification mechanisms for provider-specific storage proofs

3. Storage-as-a-Service Obligations

Create Obligation contracts specifically designed for storage services:

  • Representing storage commitments with customizable parameters
  • Integrating with off-chain oracles for storage verification
  • Enabling storage providers to offer conditional guarantees

Bounties

Total Prize Pool: $5,000 + up to $10,000 in builder grants for continued development

General Track Prizes

For each integration category (Storage Proof, Service Provider Integration, or Storage-as-a-Service):

  • 🥇 First Prize: $2,000 (x1)
  • 🥈 Second Prize: $1000 (x2)
  • 🥉 Third Prize: $500 (x2)

Builder Grants

  • $10,000 in follow-on funding available for promising projects that demonstrate potential for real-world adoption
  • Grants will be allocated based on technical implementation, market potential, and alignment with ecosystem needs
  • Grantees will have ongoing support from the CoopHive team

Development Resources

Alkahest Framework

Key Concepts to Understand

  1. Obligations: Contracts representing commitments on both sides of an agreement
  2. Arbiters: Validators that determine if a fulfillment meets the specified conditions
  3. Attestations: EAS-based data representing obligations and their fulfillment

Development Guidelines

  • Focus on creating core Arbiter and Obligation contracts, not full applications
  • Integrations should be language-agnostic at the smart contract level
  • Off-chain components (oracles, verification layers) can be implemented in any language
  • Prioritize modular designs that can be composed with existing Alkahest components
  • Remember that the modular architecture allows the storage-related components to be combined with any other Alkahest-compatible components

Getting Started

  1. Understand the Alkahest architecture by reviewing the documentation and example implementations
  2. Familiarize yourself with Filecoin's storage proof mechanisms and provider APIs
  3. Design your integration focusing on the Arbiter and Obligation patterns
  4. Implement smart contracts first, followed by any necessary off-chain components
  5. Create simple examples demonstrating how your contracts can be used

Judging Criteria

  • Technical implementation and correctness. CODE MUST WORK AS SUBMITTED TO BE ELIGIBLE FOR PRIZES
  • Modularity and composability with existing Alkahest components
  • Innovation and potential impact on decentralized storage markets
  • Documentation and ease of adoption by other developers
  • Potential for continued development and real-world usage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment