Pi Coffee ▾
Product PiDCTP: Escrow
name text
Public read
price number
Public read
image image
Public read
stock number
Seller write
seller Pioneer
Linked Public read
category option
Public read
escrow Escrow
Linked Owner read Escrow.state
reputation address
Public read Rep.score
Relations
Product 1:N Order
Product N:1 Pioneer
Order 1:1 Escrow
Privacy Rules
Everyone
✓ Read: name, price, image, category
✗ Write: all fields
Seller (Owner)
✓ Read: all fields
✓ Write: stock, image, price
PiDCTP Contract
✓ Write: escrow (state only)
Pi AI
"I need a review system for products"
✅ Created "Review" data type
✅ Added relation: Product → 1:N → Review
✅ Set privacy: Only author can write