Skip to content

ethcouple/LoveLock-Bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ’• LoveLock Bridge - Eternal Love on Blockchain

LoveLock Bridge Banner Polygon Solidity TypeScript

๐Ÿ† Hackathon Submission for DCL Regenesis Labs Vibe Coding Hackathon

Demo Video | Live Demo | Presentation

๐ŸŽฏ Project Overview

LoveLock Bridge brings the romantic tradition of love locks into the metaverse, creating an eternal testament to love on the blockchain. Couples can place virtual love locks on a beautiful bridge in Decentraland, with each lock minted as an NFT on Polygon. When they "throw away the key," the associated ERC20 tokens are burned, sealing their love forever on the immutable blockchain.

๐ŸŒŸ Key Features

  • ๐Ÿ”’ Dual-Token System: ERC721 NFT for the lock + ERC20 token for the key
  • ๐Ÿ’ Emotional Experience: Beautiful visual effects, romantic atmosphere
  • ๐Ÿ“Š On-Chain Statistics: Real-time display of love metrics
  • โ™พ๏ธ Eternal Commitment: Burn mechanism makes love permanent
  • ๐ŸŽจ Customization: Multiple lock styles (Gold, Silver, Rose Gold, Crystal)

๐Ÿš€ Quick Start

Prerequisites

  • Node.js v16+
  • MetaMask wallet
  • MATIC tokens for gas fees
  • Decentraland SDK

Installation

# Clone the repository
git clone https://github.com/yourusername/lovelock-bridge.git
cd lovelock-bridge

# Install dependencies
npm install

# Set up environment variables
cp .env.example .env
# Edit .env with your private key and RPC URLs

# Compile smart contracts
npm run compile

# Deploy to Mumbai testnet
npm run deploy:mumbai

# Start Decentraland scene locally
npm run dcl:start

๐Ÿ—๏ธ Architecture

graph TB
    A[Decentraland Scene] -->|Web3 Provider| B[Smart Contracts]
    B --> C[LoveLockNFT - ERC721]
    B --> D[LoveLockToken - ERC20]
    C -->|Mint| E[Love Lock NFT]
    D -->|Mint| F[Key Token]
    D -->|Burn| G[0x000...dead]
    A -->|IPFS| H[Metadata Storage]
    A -->|UI| I[React Components]
Loading

๐Ÿ’ป Tech Stack

Component Technology
Blockchain Polygon (MATIC)
Smart Contracts Solidity 0.8.19
Token Standards ERC721 + ERC20
Metaverse Platform Decentraland SDK 7
Frontend TypeScript, React-ECS
Storage IPFS (Pinata)
Development Hardhat, Ethers.js
Testing Chai, Waffle

๐Ÿ“ Smart Contracts

LoveLockNFT (ERC721)

  • Represents the love lock on the bridge
  • Stores couples' names, messages, and dates
  • Tracks key status (thrown/not thrown)

LoveLockToken (ERC20)

  • Represents the key to the lock
  • 1:1 ratio with NFT (1 token per lock)
  • Burned to 0x000...dead when thrown away

Deployed Contracts (Polygon Mumbai)

๐ŸŽฎ User Flow

  1. Connect Wallet โ†’ MetaMask connection
  2. Create Lock โ†’ Input names & message โ†’ Mint NFT + Token
  3. Place on Bridge โ†’ Visual representation appears
  4. Throw Key (Optional) โ†’ Burn token โ†’ Eternal commitment
  5. View Stats โ†’ See total locks and eternal loves

๐ŸŽจ Unique Features

Emotional Design Elements

  • ๐ŸŒ… Sunset lighting for romantic atmosphere
  • โœจ Particle effects when placing locks
  • ๐Ÿ’• Heart animations when throwing keys
  • ๐ŸŽต Romantic background music
  • ๐ŸŽŠ Special effects for milestones

Gamification

  • ๐Ÿ† Achievement system for milestones
  • ๐Ÿ“Š Leaderboard for most romantic couples
  • ๐ŸŽ Special editions for holidays (Valentine's, Anniversary)
  • ๐ŸŒŸ Rare lock designs for special token IDs

๐Ÿ“Š Impact & Innovation

Problem Solved

  • Digital Permanence: Creating lasting digital memories in virtual worlds
  • Emotional Connection: Bridging traditional romance with Web3
  • Accessibility: Global access to romantic traditions

Innovation Points

  1. Dual-token mechanism for interactive storytelling
  2. Burn-to-commit model for permanent decisions
  3. Metaverse-blockchain integration for immersive experience
  4. On-chain emotions - storing feelings permanently

๐Ÿ”ฎ Future Roadmap

  • Phase 1 - Launch on Polygon Mainnet
  • Phase 2 - AR mobile app for real-world viewing
  • Phase 3 - Cross-metaverse compatibility
  • Phase 4 - Virtual wedding ceremonies
  • Phase 5 - Anniversary reminders & rewards

๐Ÿ‘ฅ Team

Role Name X
Lead AI-supported Developer Yudai @x
Product Manager Yuki @x

๐Ÿ† Hackathon Criteria

โœ… Technical Implementation

  • Fully functional smart contracts deployed on testnet
  • Interactive Decentraland scene
  • Web3 integration with MetaMask
  • IPFS metadata storage

โœ… Innovation

  • Novel dual-token system
  • Permanent commitment mechanism
  • Emotional blockchain use case

โœ… User Experience

  • Intuitive UI/UX
  • Beautiful visual effects
  • Emotional storytelling

โœ… Business Potential

  • Clear monetization model (fees on special editions)
  • Partnership opportunities (wedding planners, dating apps)
  • Scalable to other metaverses

๐Ÿ“น Demo & Resources

๐Ÿ“„ License

MIT License - see LICENSE file

๐Ÿค Contributing

We welcome contributions! Please see our Contributing Guidelines


Built with โค๏ธ for LoveLock Bridge 2025

Love is forever, especially on the blockchain

About

LoveLock Bridge brings the romantic tradition of love locks into the metaverse, creating an eternal testament to love on the blockchain.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors