Skip to content

Latest commit

 

History

History
54 lines (41 loc) · 2.57 KB

README.md

File metadata and controls

54 lines (41 loc) · 2.57 KB

pg-brand-incentives

Overview

Procter & Gamble Brand Incentives using Smart Contracts. 🔴 The Choice: Colgate or Crest.

Buy Crest instead of my usual Colgate. Fiance: Who switches brands? She's right. Why not incentivize brand switching?

🖥️ Why Blockchain: Catalyze Brand-Hopping.

Imagine cross-brand, cross-product incentives. Buy Crest 3 times. Receive Tide coupon. Buy Tide 3 times. Receive Bounty coupon.

🔗 The Link: Smart Contracts.

P&G deploys 1 contract per brand. All linked. Customers purchase. P&G updates status. Accumulated actions auto mint NFT coupons.

🟢 The Outcome: A Symphony of Savings

🔍 Brands intertwined, loyalty blooms. ⭐️ Traverse new products, unlock deals. 💰 Customers save, P&G grows base.

Step by step:

  1. P&G deploys one smart contract per brand (Crest, Tide, Bounty)
  2. At each purchase, P&G updates wallet status on smart contract
  3. When promo criteria hit (every 3 purchases), promo NFT minted automatically!

Play around yourself!

Mumbai testnet smart contracts:

How to interact through PolygonScan

  1. Obtain Mumbai MATIC. FAUCET.

Buy 3 Crest to get Tide promo NFT

  1. Add 3 Crest purchases. Use #1 addPurchase 3 times. Inputs: wallet_ = your wallet. WRITE CONTRACT.
  2. Verify received promo NFT!
  • Option 1: Click "View Transaction" on third transaction. Check "Tokens Transferred" field.
  • Option 2: Read #1 balanceOf. Should return value of 1. READ CONTRACT.

Buy 3 Crest to get Tide promo NFT

  1. Add 3 Tide purchases. Use #1 addPurchase 3 times. Inputs: wallet_ = your wallet. WRITE CONTRACT.
  2. Verify received promo NFT!
  • Option 1: Click "View Transaction" on third transaction. Check "Tokens Transferred" field.
  • Option 2: Read #1 balanceOf. Should return value of 1. READ CONTRACT.