Skip to content

This repository houses the Frak the Content Consumption Tracker contracts for the Arbitrum Stylus network.

License

Notifications You must be signed in to change notification settings

frak-id/contracts-stylus

Repository files navigation

Frak - Stylus Contracts

Project license

Bringing Web2 Anti-Cheat Mechanisms to Web3 with Arbitrum Stylus

This repository houses a Rust implementation of a Content Consumption Tracker contract, specifically designed for the Arbitrum Stylus.

This contract leverages the performance benefits of Stylus (using WASM) to port a Web2 anti-cheat mechanism to a blockchain environment, enhancing the security and trust of content consumption data.

Context

Frak is building a decentralized ecosystem for content interactions, with a strong focus on accurate and reliable consumption tracking.

You can find the Solidity smart contracts for the broader Frak ecosystem here.

This Stylus contract builds upon Frak's existing anti-cheat system, bringing key parts of it on-chain to further improve security and transparency.

Key Features

✨ Proof-of-concept (POC) using ECDSA signatures for data verification. ✨ Integrates with the Frak Content Registry for content verification.

Roadmap

  • ⚗️ POC with ECDSA signatures.
  • 🗃️️ Link with the ContentRegistry from contracts-v2.
  • 🔨 Deployment and simple test scripts.
  • 🧪 Unit tests.
  • 🔒️ MerkleProof validation for channel IDs.
  • 🗃️ LZ compression of calldata using Rust.
  • 🔒️ ZKP for verifying consumption without content reveal.
  • 🔒️ Grooth16 sig for batched CCU submissions.

Technologies Used

Script inspired by Renegade-fi.

Contributing

Contributions are welcome! Let's build a more secure and transparent content consumption tracking system. Open an issue or submit a pull request.

License

GPL-V3

About

This repository houses the Frak the Content Consumption Tracker contracts for the Arbitrum Stylus network.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages