GolfGlobe365 GAMP
Core Features

Smart Contracts

GG365 smart contracts enable automated, trustless golf bookings on Camino Network.


🎯 Overview

GG365 operates 4 smart contracts on Camino Network:

  1. GG365BookingVerification - Automated booking escrow and payment distribution
  2. GG365NFTTicket - ERC-721 golf ticket NFTs with QR codes
  3. GG365CaminoMessenger - Partner service integration for travel packages
  4. GG365ClubRegistry - On-chain golf club data registry with Camino Messenger protocol

Booking Lifecycle

  1. Booking Creation - Customer initiates booking with CAM tokens
  2. Payment Escrow - Funds locked in smart contract
  3. NFT Minting - Optional golf ticket NFT with QR code
  4. Confirmation - Automatic confirmation to golf course
  5. Commission Distribution - Automated payment splits (70% course, 15% agency, 15% platform)
  6. Completion - Funds released after play date

📋 Contract Features

GG365BookingVerification (Escrow & Payments)

  • Payment Escrow: Funds locked in CAM tokens until play date
  • Commission Distribution: Automated splits (70% golf course, 15% travel agency, 15% platform)
  • Cancellation Policy:
    • 7+ days before: 100% refund
    • 3-6 days before: 50% refund
    • Less than 3 days before: No refund
  • Security: ReentrancyGuard, Pausable, Access Control

GG365NFTTicket (ERC-721 Tickets)

  • Unique Tickets: Each booking minted as transferable NFT
  • QR Codes: On-chain QR code for golf course check-in
  • Metadata: IPFS storage for course details, date, time, players
  • Transferability: Sell or gift tickets to other players
  • Redemption: On-site verification at golf course

GG365CaminoMessenger (Partner Services)

  • Service Requests: Book hotels, transfers, activities from partners
  • Travel Packages: Combine golf + accommodation + transfers
  • Role-Based Access: Partners and service providers
  • Payment Automation: Escrow for multi-service bookings

GG365ClubRegistry (Golf Club Data)

  • On-Chain Profiles: Complete golf club information
  • Geographic Data: Address with lat/long coordinates (microdegrees)
  • Media Storage: Logo and course images (IPFS URLs)
  • Course Details: Multiple courses per club, holes, par, length, difficulty
  • Amenities: 12+ facility flags (driving range, restaurant, spa, etc.)
  • Verification: Unverified → Pending → Verified → Suspended workflow
  • Camino Messenger: Direct integration with service provider network

🔗 Contract Addresses

Mainnet (Camino Network - Chain ID: 500)

Code
GG365BookingVerification: [Pending Deployment] GG365NFTTicket: [Pending Deployment] GG365CaminoMessenger: [Pending Deployment] GG365ClubRegistry: [Pending Deployment]

Testnet (Columbus - Chain ID: 501)

Code
GG365BookingVerification: [Pending Deployment] GG365NFTTicket: [Pending Deployment] GG365CaminoMessenger: [Pending Deployment] GG365ClubRegistry: [Pending Deployment]

Note: Contract addresses will be updated after deployment. Check Camino Explorer for verification.


💻 Usage Example

JavascriptCode
import { GG365Contract } from '@gg365/blockchain-sdk'; const gg365 = new GG365Contract({ network: 'camino', contractAddress: '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEbb', wallet: yourWallet }); // Create smart contract booking const booking = await gg365.createBooking({ courseId: 'gg365-course-12345', teeTimeId: 'gg365-teetime-67890', players: 2, payment: { method: 'crypto', token: 'CAM', amount: 185 }, blockchain: { smartContract: true, escrow: true } }); console.log('Smart Contract:', booking.blockchain.smartContract.contractAddress);

📚 Learn More


Status: 🚧 Detailed documentation coming soon!

For immediate assistance, contact: [email protected]

Last modified on