blockyard (blockyard)

blockyard

Shipping Web3 from the Yard! ๐Ÿšข

4 Followers

Recent casts

Top casts

Rare24 Miniapp Public build Day 3: Contract Architecture We will build 3 modular contracts + shared libraries for clean, auditable code. Here's the system design: Entry Point: Rare24.sol - Imports ERC1155 & ReentrancyGuard - Executes core logic across modules Module 1: Main.sol - createPhoto(), mintPhoto(), batchMintPhotos() - The minting engine creators & followers use Module 2: TradeNft.sol - P2P trading between collectors - proposeTrade() โ†’ accept/reject/cancel โ†’ counterOffer() Module 3: ResellNft.sol - Secondary market mechanics - createBuyOffer() โ†’ accept/reject/cancel โ†’ refund logic Shared Libraries: StructLibrary - Type definitions ErrorsLibrary - Gas-efficient errors EventsLibrary - Event standards As stated earlier, modularity allows for easier audits, cleaner upgrades and better testing. Tomorrow we will execute the logics and write test functions.

  • 0 replies
  • 1 recast
  • 2 reactions

Rare24 Miniapp Public build Day 5: Full System Architecture + Main.sol Tests โœ… Two major milestones today: 1. Mapped the complete MiniApp architecture 2. 25/25 tests passing on Main.sol (98%+ coverage) Breaking it down ๐Ÿงต๐Ÿ‘‡

  • 0 replies
  • 1 recast
  • 2 reactions

Day 1: Setting Up the NFT Engine Smart Contract Archticture โœ… Tech decision: ERC-1155 vs ERC-721 Went with ERC-1155. Why? Each token ID is a configurable NFT with its own metadata, supply, and pricing. One contract managing all creator moments. Built the NFT engine using OpenZeppelin's audited libraries (ERC-1155). Core functions Implemented: createPhoto() - Creator entry point - Upload metadata URI - Set price & max supply - Tag collaborators mintPhoto() - Follower entry point - Instant creator payment on mint - Followers own the moment batchMintPhotos() - Mint multiple moments in one tx - Gas optimization for collectors ERC-1155 Standard Information source: https://eips.ethereum.org/EIPS/eip-1155

  • 1 reply
  • 1 recast
  • 2 reactions

Announcing our first build in public ๐Ÿ—๏ธ What: A mini app that turns creator moments into NFTs ๐Ÿ–ผ๏ธ Why: Give creators a way to turn special moments into collectible NFTs for their community For who: Creators who want to reward true fans with ownable, rare content Platform: TBA and Farcaster Vision: Followers collect rare moments, not just consume them Vibe: Transparent development, community-driven Weโ€™'ll be sharing: - Technical decisions & challenges - Design iterations - Smart contract, front-end & backend development - All feedback is welcome and will help shape this Day 1 starts now. Let's go ๐Ÿ”ฅ

  • 0 replies
  • 0 recasts
  • 2 reactions

Onchain profile

Ethereum addresses