Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Comments Anytime Protocol ## Overview This PR introduces a new social layer to Zora's protocol, enabling comments and value-based interactions ("sparks") on 1155 tokens. ## Key Features - **Token-gated commenting system**: Allows token owners and holders to comment on 1155 tokens - **Value-based interactions**: - Token holders pay 1 Spark to comment - Creators can comment for free - Anyone can "spark" (like with value) existing comments - **Revenue sharing**: - Comment Sparks go to token creators - Reply Sparks go to original commenters - 30% protocol fee with 20% available for referrers - **Cross-chain functionality** through permit-based commenting and sparking - **Smart wallet support** for commenting as a smart wallet owner - **Legacy comment support** through backfilling system ## Contracts Added - `Comments.sol` (`0x7777777bE14a1F7Fd6896B5FBDa5ceD5FC6e501a`) - Core upgradeable contract for comment functionality - Deterministically deployed across all chains - `CallerAndCommenter.sol` (`0x77777775C5074b74540d9cC63Dd840A8c692B4B5`) - Helper contract for combined mint + comment operations - Enables free comments during minting ## Technical Notes - Implements unique comment identification system using nonces - Includes comprehensive event system for tracking comments, sparks, and backfills - Built-in referral system for third-party integrations - Cross-chain compatibility through permit-based operations ## Security Considerations - Token ownership verification for commenting privileges - Value distribution system for Spark payments - Smart wallet verification system
- Loading branch information