Complete architecture and directory structure for the Funchal micro-economy deployment: Documentation: - README.md: Project overview, architecture, services, metrics, governance - PRD.md: Product requirements document - ARCHITECTURE.md: Multi-layered mesh architecture, node specs, topology - GOVERNANCE.md: DAO model, treasury, voting, dispute resolution - ROADMAP.md: Phased implementation plan (Months 1-24) - DEPLOYMENT.md: Mesh network deployment guide Services: - mobility/: Decentralized ride-sharing - housing/: Decentralized house-sharing - logistics/: Local delivery network - commerce/: Bitcoin-accepting businesses - workforce/: Job boards, training, competency attestation - governance/: Mesh services and decentralized operations Infrastructure: - infrastructure/: Mesh networks, archipelago nodes (200 nodes), internet - config/: node.yml, mesh.yml, bitcoin.yml, profiles.yml, redis.yml - docs/: Funchal service map, business onboarding, mobility plan - scripts/: Deploy script - .gitignore
110 lines
2.4 KiB
YAML
110 lines
2.4 KiB
YAML
# NodeZero - User and Service Profiles
|
|
# Funchal, Madeira
|
|
|
|
profiles:
|
|
# Resident profile
|
|
resident:
|
|
type: "resident"
|
|
requirements:
|
|
- "Funchal address"
|
|
- "Mesh identity"
|
|
- "BTC wallet"
|
|
benefits:
|
|
- "Node voting rights"
|
|
- "Discounted services"
|
|
- "Staking rewards"
|
|
staking:
|
|
min_tokens: 100
|
|
max_tokens: 10000
|
|
reward_rate: 0.05
|
|
lockup_days: 30
|
|
|
|
# Business profile
|
|
business:
|
|
type: "merchant"
|
|
categories:
|
|
- "restaurants"
|
|
- "retail"
|
|
- "hotels"
|
|
- "healthcare"
|
|
- "education"
|
|
- "tourism"
|
|
- "transportation"
|
|
requirements:
|
|
- "Active business license"
|
|
- "Mesh verification"
|
|
- "BTC/Lightning capability"
|
|
fees:
|
|
onboarding_eur: 50
|
|
yearly_fee_eur: 100
|
|
transaction_fee_pct: 0.1
|
|
benefits:
|
|
- "Lightning POS"
|
|
- "On-chain receipts"
|
|
- "Mesh verification badge"
|
|
- "Treasury discounts"
|
|
|
|
# Worker profile
|
|
worker:
|
|
type: "worker"
|
|
categories:
|
|
- "healthcare"
|
|
- "hospitality"
|
|
- "technology"
|
|
- "trades"
|
|
- "logistics"
|
|
attestation_supported: true
|
|
credential_types:
|
|
- "skill"
|
|
- "certification"
|
|
- "license"
|
|
- "badge"
|
|
benefits:
|
|
- "On-chain credentials"
|
|
- "Job matching"
|
|
- "Lightning payroll"
|
|
- "Community voting"
|
|
|
|
# Tourist profile
|
|
tourist:
|
|
type: "tourist"
|
|
pass_types:
|
|
"daily":
|
|
duration_days: 1
|
|
price_btc: 1000 # 1000 satoshis
|
|
features: ["rides", "wifi", "basic_services"]
|
|
"weekly":
|
|
duration_days: 7
|
|
price_btc: 6000
|
|
features: ["all_tourist_services", "rides", "wifi", "discovery"]
|
|
"monthly":
|
|
duration_days: 30
|
|
price_btc: 20000
|
|
features: ["all_services", "rides", "wifi", "discovery", "delivery"]
|
|
|
|
# Provider profile
|
|
provider:
|
|
type: "service_provider"
|
|
services:
|
|
- "ride"
|
|
- "housing"
|
|
- "delivery"
|
|
- "healthcare"
|
|
- "education"
|
|
requirements:
|
|
- "Mesh identity"
|
|
- "Service license"
|
|
- "Minimum rating 4.0"
|
|
|
|
# Node validator profile
|
|
validator:
|
|
type: "node_validator"
|
|
requirements:
|
|
- "Minimum stake 100 NFTZ"
|
|
- "Node uptime >99%"
|
|
- "Valid mesh certificate"
|
|
rewards:
|
|
staking_rate: 0.05
|
|
validation_fee: 2
|
|
bonus_multiplier: 1.2
|