སྒྱུ་རྩལ
མཛེས་སྡུག་དང་བདེ་ཐང
བཟོ་རིག
རིག་གནས་དང་ལོ་རྒྱུས
དགའ་སྟོན
ཁོར་ཡུག
ཟས་དང་བཏུང་རྫས
ལྗང་མ་འཇོར་ལུགས
ཕྱིར་འཕྲུལ་རིག
ཚན་རིག
རྩེད་འགྲན
རིག་རྩལ
གྱོན་རུང
← Back to Youblob

Technical Whitepaper v1.0

Youblob: Open Knowledge Infrastructure for Industry 5.0

A technical overview of the architecture, blockchain integration, smart contract design, and security model powering a platform where knowledge is free, creators are compensated, and innovation compounds forever.

Published: May 2026|Youblob AS, Norway|youblob.com
Table of Contents

Abstract

Youblob is an open knowledge infrastructure that combines a maker marketplace, blockchain-based attribution, and AI-driven learning into a single platform. Built on MedusaJS v2, Cardano, and Next.js, the system enables creators to publish step-by-step blueprints under CC0 (public domain) while receiving permanent, on-chain compensation through a native utility token (YGOLD). The architecture is designed around a principle we call Even-Steven: makers retain 95–97% of all revenue, and all knowledge is archived to feed two AI systems — MOS (Material Ontology System) and LPM (Large Prototyping Model) — that compound human innovation over time.

This document describes the technical decisions, system architecture, and cryptographic primitives that make this possible. It is intended for engineers, blockchain developers, and technical evaluators who want to understand how the platform works under the hood.

1. Architecture Overview

The platform is a three-tier system: a headless commerce backend, a server-rendered frontend, and a blockchain settlement layer. All three tiers communicate through well-defined APIs and share a single PostgreSQL database for off-chain state.

Frontend
Next.js 16 / React 19
Port 8000
Backend
MedusaJS v2.13
Port 9000
Blockchain
Cardano / Aiken
Mainnet
← REST API →← Blockfrost →
PostgreSQL
Primary data store
Redis
Cache / Rate limiting
Fig. 1 — High-level system architecture

1.1 Technology Stack

BackendMedusaJS v2.13.4, Node.js, TypeScript, MikroORM
FrontendNext.js 16 (App Router), React 19, Tailwind CSS
DatabasePostgreSQL 16 with JSONB for flexible metadata
CacheRedis 7 (session cache, rate limiting, region data)
BlockchainCardano mainnet, Aiken (Plutus v3), Blockfrost API
StorageIPFS (Blockfrost), Arweave for permanent blueprint data
PaymentsStripe Connect (fiat), CIP-30 wallets (crypto)
Process MgrPM2 with ecosystem config

1.2 Module Architecture

The backend is composed of 37+ domain-specific modules, each encapsulating its own data models, services, and API routes. Modules communicate through MedusaJS's dependency injection container and an event bus for asynchronous operations.

marketplace
blueprints
tokenomics
organization
team
notification
analytics
warehouse
services
skills
contests
certification
comment
tips
uniqueness-rating
user
lpm
mos
nft
seo
category-navigation
school
security
spam
troll
discord
inheritance
munin
yggdrasil

2. Blockchain Layer

Youblob uses Cardano as its settlement layer. The choice is deliberate: Cardano's extended UTXO model, native token support, and deterministic fee structure make it possible to issue, transfer, and burn tokens without deploying a custom token contract. YGOLD is a Cardano native asset — it exists at the ledger level, not inside a smart contract.

2.1 Wallet Integration (CIP-30)

All on-chain operations require a CIP-30 compatible wallet (Lace, Nami, Eternl, or any conformant extension). The frontend uses the standard window.cardano API to request wallet access, build transactions client-side, and submit signed transactions to the network.

Every Gold Coin transaction is an on-chain Cardano transaction. There is no off-chain ledger, no custodial wallet, and no IOUs. When a maker spends YGOLD, they sign a transaction with their private key, and settlement is final in approximately 20 seconds.

2.2 Blockfrost API

Chain queries (UTXO lookups, transaction submission, metadata retrieval) are handled through Blockfrost, a managed Cardano API service. The backend never runs a full Cardano node. This trades some decentralization for operational simplicity — the platform can verify any transaction independently by querying the public ledger through any alternative indexer.

2.3 NFT Minting (CIP-25)

Blueprints can be minted as NFTs using the CIP-25 metadata standard. The minting process stores:

  • Blueprint metadata (title, author, creation date) in the transaction metadata
  • Thumbnail image on IPFS via Blockfrost (paid tier, 1 GB allocation)
  • Full blueprint data on Arweave for permanent, immutable storage
  • Creator attribution as an on-chain record tied to the minting address

Once minted, the NFT is the canonical proof of authorship. It cannot be altered, revoked, or disputed — even if youblob.com goes offline, the attribution record persists on-chain.

3. Smart Contract Design

Smart contracts are written in Aiken, a purpose-built language for Cardano's Plutus v3 virtual machine. Aiken compiles to UPLC (Untyped Plutus Core), producing compact, auditable validators.

3.1 Fee Locking Validator

Corporate Guilds lock their fee parameters on-chain. When a guild registers, a datum containing the fee percentage and beneficiary address is locked at the validator script address. The validator enforces that:

  • Only the guild owner can update fee parameters
  • Fee changes require a new transaction (immutable per-UTXO)
  • Minimum and maximum fee bounds are enforced by the script

3.2 Attribution & Royalty Distribution

Blueprint connections carry revenue attribution (CIP-102 pattern). Each connected blueprint receives a 10% royalty on downstream revenue, up to a maximum of 5 connections (50% total). The royalty split is recorded in the blueprint's on-chain metadata and enforced at payment time.

-- CIP-102 Revenue Attribution
-- Max 5 connections per blueprint
-- 10% allocation per connection
-- Remaining goes to primary creator

connections: [
  { blueprint_id, allocation: 10%, added_at }
]

3.3 Design Principle: On-Chain Permanence

A core architectural principle: ownership, attribution, and royalties must live on-chain. They must never depend on youblob.com being online. If the platform disappears tomorrow, every creator's attribution record, every royalty split, and every NFT remains verifiable on the Cardano ledger. This principle overrides “simpler off-chain” tradeoffs in every design decision.

4. Token Economics

The platform operates a dual-token model: YGOLD (Gold Coins) as the primary utility token and Silver Coins as a fractional credit system.

4.1 YGOLD (Gold Coin)

TypeCardano native asset (not a smart contract token)
TickerYGOLD
Fixed Price1 YGOLD = 100 NOK (~$10 USD)
TransferOn-chain, requires Lace/Nami/Eternl wallet + ADA fee
RefundableNo — YGOLD payments are non-refundable utility credits
Settlement~20 seconds (Cardano block time)

4.2 Even-Steven Fee Structure

The platform takes the smallest viable cut. Creator revenue is maximized by design, not as a marketing claim.

Payment MethodPlatform FeeCreator ReceivesSettlement
YGOLD (Gold Coin)3%97%~20 sec
ADA (Cardano)5%95%~20 sec
Fiat (Stripe)5% + Stripe fees~92%2-7 days

No hidden fees, no tiered pricing, no premium seller programs. The fee structure is identical for every seller on the platform.

4.3 Silver Coins

Silver Coins are fractional credits (100 Silver = 1 Gold). They are automatically credited when a transaction results in a partial amount. Silver Coins are off-chain credits, not blockchain tokens — they provide UX convenience for micro-transactions without incurring on-chain fees for every fractional amount.

4.4 YGOLD Use Cases

  • Blueprint NFT minting (permanent on-chain attribution)
  • Content promotion (1 YGOLD = 24 hours featured placement)
  • Blueprint translation (1 YGOLD = all 43 languages)
  • Tipping creators
  • Professional service fees
  • Corporate Guild registration

5. Blueprint System

Blueprints are the core knowledge unit of the platform. Each blueprint is a structured, step-by-step guide for making something — from smelting copper ore to cultivating sourdough starter. They are not documents; they are structured data designed to be machine-readable, translatable, and composable.

5.1 Data Model

Every blueprint exists in two tables simultaneously: the MedusaJS product table (for commerce integration) and a dedicated blueprint table (for domain-specific queries). The product.metadata.blueprint_data JSONB field is the source of truth for the store API.

blueprint_data: {
  steps: [
    {
      step_number: 1,
      title: "Crush the malachite ore",
      description: "...",
      content_type: "text" | "design",
      materials: [{ product_id, name }],
      tools: [{ product_id, name }]
    }
  ],
  materials_list: [{ product_id, product_name, quantity, unit }],
  tools_required: [{ product_id, product_name, quantity, unit }],
  connections: [{ blueprint_id, allocation_percentage: 10 }],
  knowledge_connections: [{ blueprint_id }]
}

5.2 Bill of Materials (BOM)

Each blueprint references concrete products for every material and tool. The BOM is stored in three places:

  1. Top-level materials_list and tools_required arrays (drives frontend rendering)
  2. Per-step materials and tools arrays (drives per-step BOM display)
  3. blueprint_bom_item relational table (drives analytics and cross-referencing)

5.3 Dual Connection System

Blueprints can be connected through two tiers:

TierMaxRevenuePurpose
Revenue510% eachMaterial attribution with royalty badges
KnowledgeUnlimitedNoneFeeds LPM/MOS learning graph

Connections must represent genuine process relationships — a shared ore, a direct byproduct, a prerequisite technique. “Same author” or “same category” is never sufficient. Zero connections is always better than wrong connections.

5.4 Step Granularity

One step = one action = one verb. Blueprints target 15–30 atomic steps, not 5 dense paragraphs. Each step is independently translatable, independently referenceable by LPM, and can carry its own materials/tools/images. This granularity is what makes blueprints machine-composable.

6. MOS & LPM

Two AI systems operate on the data generated by the platform. Neither is a product feature visible to end users today — they are infrastructure layers that improve over time as more blueprints, products, and interactions are recorded.

6.1 MOS (Material Ontology System)

MOS is the material intelligence layer. It defines a structured ontology for every physical material, tool, and component on the platform — classifying them by material type, typical uses, associated blueprints, category taxonomy, and usage patterns. MOS enables:

  • Automated product categorization and recommendation
  • Cross-blueprint material matching (find all blueprints that use copper wire)
  • Supply chain insights (which materials are most used, least available)
  • Material substitution suggestions based on BOM analysis

6.2 LPM (Large Prototyping Model)

LPM is a knowledge compounding system trained on blueprint steps, material connections, skill progressions, and maker outcomes. It builds a model of how prototyping processes relate, which techniques produce the best results, and where knowledge gaps exist. The long-term goal:

  • AI-generated blueprints based on accumulated maker knowledge
  • Skill path recommendations (what to learn next based on your current skills)
  • Process optimization (suggest improvements to existing blueprints)
  • Cross-domain innovation (identify techniques in one craft applicable to another)

LPM is why blueprint accuracy is sacred. Every blueprint is training data. If the foundation contains errors, all compounded knowledge built on top is poisoned. This is not a quality preference — it is an architectural constraint.

6.3 Data Archival Principle

All data is archived, never deleted. Every product, blueprint, comment, transaction, and skill progression is soft-deleted (deleted_at timestamp) rather than removed. This preserves the complete history for MOS and LPM training.

7. Security Architecture

Security is treated as a growth lever, not a cost center. A safer platform retains more makers, generates more data for MOS and LPM, and attracts institutional users (schools, makerspaces, companies) who have zero tolerance for platform risk.

7.1 Spider Guard (Rate Limiting)

Spider Guard is a Redis-backed rate limiting system that operates at the IP level. It tracks request frequency, identifies anomalous patterns (scraping, credential stuffing, API abuse), and blocks offending IPs temporarily or permanently.

  • Org-friendly thresholds: organizations and makerspaces get higher rate limits to prevent false positives on clusters of users behind a single IP
  • Loopback exemption: SSR requests from the frontend (IPv4/IPv6 loopback) are never rate-limited
  • Graduated response: warning → temporary block → permanent block

7.2 Anti-Spam Notification System

Notifications use a milestone-based system that reduces spam by 99.87%. Instead of notifying on every like, fork, or comment, the system batches events and triggers notifications at meaningful thresholds (10 likes, 50 likes, 100 likes). This prevents notification fatigue while ensuring important milestones are surfaced.

7.3 Troll Redemption

Rather than permanently banning disruptive users, the platform implements a redemption system. Flagged accounts enter a cooling-off period with reduced privileges. Constructive behavior during this period gradually restores full access. This preserves the “archive everything” principle while protecting community health.

7.4 Uniqueness Rating

Every creator has a uniqueness rating that reflects their contribution originality. A 9-tier ladder (Drifter through Ninja, range 1000–3500) tracks blueprints published, skill diversity, and content distinctiveness. A 70% similarity threshold flags potential duplicates before publication.

7.5 Content Safety

Blueprints involving physical safety hazards (molten metals, toxic fumes, strong acids, explosives) are flagged with an is_hazardous flag. This drives a red “Hazardous” badge on blueprint cards and enables content gating for school accounts. Safety framing leads with physical hazards — Youblob is a maker platform where the primary risk is silica dust and welding fumes, not content moderation in the social-media sense.

8. API & Module Architecture

The backend follows MedusaJS v2's module architecture. Each domain (marketplace, blueprints, tokenomics, etc.) is an isolated module with its own models, services, and routes. Modules communicate through dependency injection and an event bus.

8.1 Service Resolution

// Core MedusaJS modules
const customerService = req.scope.resolve(Modules.CUSTOMER)
const productService = req.scope.resolve(Modules.PRODUCT)

// Custom modules — resolved by module key
const marketplace = req.scope.resolve("marketplace")
const tokenomics = req.scope.resolve("tokenomics")

// Cross-module queries (preferred for reading)
const query = req.scope.resolve("query")
const { data } = await query.graph({
  entity: "product",
  fields: ["id", "handle", "title", "metadata.*"],
  filters: { id: productIds },
})

8.2 Event-Driven Architecture

State changes emit events that downstream modules can subscribe to. This decouples modules: the blueprint module doesn't need to know about the notification module, the skill module, or the analytics module. It emits blueprint.published and interested subscribers react independently.

// Emitting
await eventBus.emit("blueprint.published", {
  id, creator_id, status: "published"
})

// Subscribing
class SkillSubscriber {
  static subscribeTo = ["blueprint.published"]
  async handle({ id, creator_id }) {
    // Award skill points, update uniqueness rating
  }
}

8.3 Route Conventions

  • /store/* — Public and authenticated user routes
  • /admin/* — Admin-only routes (admin dashboard, reports)
  • Singular paths (/store/vendor/) = current user's own resource
  • Plural paths (/store/vendors/[handle]/) = public by-handle access
  • [id] for user actions, [handle] for public display pages

9. Data Architecture

9.1 JSONB for Flexible Metadata

PostgreSQL's JSONB type is used extensively for semi-structured data: blueprint steps, BOM entries, MOS metadata, promotion placement criteria, and targeting rules. This allows the schema to evolve without migrations for metadata-level changes while keeping relational integrity for core entities.

9.2 Dual-Table Pattern

Entities that participate in both the commerce layer (products, pricing, sales channels) and the domain layer (blueprints, skills, certifications) exist in both MedusaJS core tables and custom domain tables. The product table is the commerce identity; the blueprint table is the domain identity. Both share the same primary key and must stay in sync.

9.3 Skill Tracking

The skill_activity_log table records every skill-relevant event: blueprint published, certification earned, contest won, workshop attended. Points are awarded per category (specialty + maker) and accumulate into the user's skill profile. The skill system is designed to mirror real-world maker progression — you level up by doing, not by gaming metrics.

9.4 Content Promotion

Promoted content (featured blueprints, sponsored listings) is tracked in a dedicated content_promotion_transaction table with full payment provenance: payment method, exchange rate at time of purchase, NOK equivalent for Norwegian tax compliance, and impression/click analytics. All promotion revenue feeds into the platform's tax reporting system.

10. Internationalization

The platform serves 43 locales across 250+ countries and 49+ regions. Internationalization operates at two distinct layers.

10.1 UI Chrome Translation

Navigation, buttons, sidebar labels, category names, and all platform UI text is translated into all 43 locales through static JSON dictionary files. Each locale has a complete dictionary covering every UI string. Arabic is the only RTL locale, though layout is kept LTR per user preference.

10.2 Blueprint Content Translation

Blueprint content (steps, descriptions, materials) can be professionally translated into 42 target languages using an English pivot approach:

  1. Source language → English (canonical pivot)
  2. English → 41 other target locales

Translation costs 1 YGOLD per blueprint for all 43 languages at once — not per language. The English pivot ensures consistency across all locales: every reader sees the same meaning, phrasing, and tone.

10.3 Future: AI Content Translation

A planned layer will provide Facebook-style inline translation for all user-generated content (blueprints, products, comments, reviews). Makers write in their native language (source of truth), and viewers see auto-translated content in their locale. Domain-specific maker terminology (filament, kerf, chamfer) requires LPM training to translate accurately — generic translation models produce nonsense for specialized vocabulary.

11. Roadmap

Youblob's roadmap is structured around Admiral's Industry 5.0 thesis: CC0 kills patents, blockchain attribution replaces IP law, and open collaboration with incentive models replaces closed R&D. This is fundamentally different from the academic definition of Industry 5.0 (human-centric manufacturing and sustainability).

Current Phase: MVP Testing & Stabilization

All core features are built. The current phase focuses on integration testing, data integrity verification, and ensuring every subsystem works correctly before inviting the public. The priority is absolute: everything must work 100% before LPM goes live. LPM on a broken platform equals garbage in, garbage out.

Near-Term

  • Complete blueprint publishing pipeline (all agent cohorts active)
  • AI content translation layer for user-generated content
  • Full MOS metadata coverage across all products
  • LPM v1 deployment (knowledge graph from blueprint connections)
  • Maker skill tree integration (self-assessment + platform tracking)

Medium-Term

  • AI-generated blueprints from LPM accumulated knowledge
  • Cross-domain innovation detection (LPM identifying technique transfers)
  • Expanded smart contract suite on Cardano
  • Decentralized storage migration (IPFS/Arweave for all blueprint data)

Long-Term Vision

Industry 5.0 → 6.0 within 5 years → 7.0 even faster. As LPM compounds knowledge and AI agents become more capable, the rate of innovation accelerates. The flywheel: more products + more MOS metadata + more blueprints → LPM learns → AI creates better blueprints → knowledge compounds forever.

Youblob Technical Whitepaper v1.0 — Published May 2026

Youblob AS — Norwegian company registration

Questions or feedback: Join our Discord