{
  "$schema": "https://schemas.domusantonialux.com/service-spec/v1",
  "service_id": "soroban-specialist",
  "name": "Soroban Specialist",
  "tagline": "Stellar smart-contract development by someone who's shipped one",
  "provider": {
    "legal_name": "Domus Antonia Lux LLC",
    "jurisdiction": "United States",
    "website": "https://domusantonialux.com",
    "contact_email": "contact@domusantonialux.com",
    "response_sla_hours": 48,
    "agent_friendly": true,
    "preferred_channels": ["email", "signal", "github_issue"],
    "no_phone_calls": true
  },
  "summary": "Soroban contract development, audit, and bot deployment on Stellar. Niche skill — fewer than 200 production Soroban devs globally. Premium pricing reflects the time saved vs hiring a Rust generalist who's never seen footprint declarations.",
  "specialization": "stellar_soroban",
  "skills": [
    "Soroban contract development (soroban-sdk, #[contract], #[contracttype], custom types)",
    "Stellar transactional model (footprint declarations, storage TTL, restore/extend)",
    "Fee-bump transaction structuring",
    "Soroban auth model (require_auth, custom auth, AccountAuthorization)",
    "Cross-contract calls (Address invoke, host functions)",
    "Integration with classic Stellar (sequence numbers, base reserves, trustlines)",
    "Local network testing (soroban-cli, integration test patterns)",
    "Mainnet deployment + monitoring",
    "Multi-DEX integration on Stellar (Aquarius, Phoenix, others)"
  ],
  "offerings": [
    {
      "id": "soroban-contract-dev",
      "name": "Soroban contract development",
      "description": "End-to-end contract development on Stellar/Soroban. Includes source, soroban-sdk integration tests, deploy scripts for testnet and mainnet, and docs.",
      "deliverables": [
        "Soroban contract source with doc-comments",
        "Integration test suite (testutils + token integration where applicable)",
        "Deploy scripts (testnet + mainnet)",
        "Storage TTL extension policy doc",
        "Footprint declaration audit"
      ],
      "duration_weeks": [1, 3],
      "price_usd": { "min": 5000, "max": 15000, "structure": "50% upfront, 50% on acceptance" }
    },
    {
      "id": "soroban-audit",
      "name": "Soroban audit / code review",
      "description": "Pre-deployment review of an existing Soroban contract or system. Targets common failure modes: footprint misuse, missing storage TTL extension, incorrect auth checks, fee-bump mismanagement, SDK version traps.",
      "deliverables": [
        "Written findings report (Critical/High/Medium/Low/Informational)",
        "Suggested fix patches (as PRs or unified diffs)",
        "One round of fix-review included"
      ],
      "duration_days": [3, 7],
      "price_usd": { "min": 2000, "max": 8000, "structure": "fixed bid after preliminary read" }
    },
    {
      "id": "soroban-liquidation-bot",
      "name": "Stellar liquidation bot deployment",
      "description": "Turn-key liquidation bot for a Stellar lending market (Blend or custom). Same architecture as our EVM bots (Artemis collector/strategy/executor) ported to Soroban.",
      "deliverables": [
        "Rust crate workspace (5 crates: bin/core/dex/executor/monitor)",
        "Soroban contract for atomic liquidation (if applicable)",
        "WSS subscription via stellar-horizon-rs or equivalent",
        "Deploy + monitoring scripts",
        "30 days post-launch tuning included"
      ],
      "duration_weeks": [2, 4],
      "price_usd": { "min": 5000, "max": 12000, "structure": "50% upfront, 50% on acceptance" }
    },
    {
      "id": "evm-to-soroban-migration",
      "name": "EVM → Soroban migration",
      "description": "Translate an existing EVM (Solidity) contract or system to Soroban. We'll spec the differences, flag what doesn't translate cleanly (msg.sender semantics, storage costs, etc.), and ship the Soroban version.",
      "deliverables": [
        "Migration spec doc",
        "Soroban contract(s) functionally equivalent to source",
        "Test suite mirroring original behavior",
        "Deploy scripts"
      ],
      "duration_weeks": [2, 6],
      "price_usd": { "min": 8000, "max": 22000, "structure": "milestone-based" }
    }
  ],
  "pricing_summary": {
    "hourly": { "usd": 250, "minimum_hours": 8 },
    "fixed_project_range_usd": [2000, 22000],
    "payment_methods": ["USDC on Stellar", "USDC on Ethereum/Base", "wire (USD)", "XLM at spot"],
    "payment_terms": "50% upfront, 50% on acceptance"
  },
  "engagement_flow": [
    {
      "step": 1,
      "name": "Submit scope",
      "action": "Email contact@domusantonialux.com with brief or use the scope_request_schema below",
      "response_sla_hours": 48
    },
    {
      "step": 2,
      "name": "Preliminary read + quote",
      "action": "We do a 30-min preliminary read of your repo (free, no NDA) and respond with a fixed bid + milestones",
      "binding": false
    },
    {
      "step": 3,
      "name": "Engagement letter",
      "action": "Single-page engagement letter, eSignature",
      "format": "PDF"
    },
    {
      "step": 4,
      "name": "Execution",
      "action": "Private GitHub repo, daily commits, async status notes",
      "delivery_channel": "private_github_repo"
    },
    {
      "step": 5,
      "name": "Handoff + 14-day support window",
      "action": "Final delivery: code + tests + deploy artifacts + runbook. Walkthrough via written runbook + 14 days of post-delivery async support (email or Signal)."
    }
  ],
  "scope_request_schema": {
    "project_name": "string",
    "engagement_type": "contract-dev | audit | bot-deployment | evm-migration | consult",
    "soroban_version_target": "string (e.g. 21.x)",
    "existing_repo": "string (URL, optional)",
    "deliverables_summary": "string",
    "success_criteria": ["string"],
    "deadline_iso": "YYYY-MM-DD (optional)",
    "budget_usd_range": [0, 0],
    "has_sdf_grant": "boolean",
    "sdf_grant_details": "string (if applicable)"
  },
  "proof_of_work": [
    {
      "type": "production_bot",
      "name": "K2 liquidator (Stellar Soroban)",
      "stack": ["Rust", "Soroban SDK"],
      "architecture": "5-crate workspace (bin / core / dex / executor / monitor) following Artemis collector/strategy/executor pattern",
      "highlights": [
        "Multi-DEX integration on Stellar",
        "Soroban transactional model handling (footprint, TTL)",
        "Built in ~3 weeks of focused work"
      ]
    }
  ],
  "sdf_grant_compatibility": {
    "scf_milestone_format": true,
    "verifiable_deliverables": true,
    "experience_with_grants": "open to first-grant engagements; will structure deliverables to SCF spec"
  },
  "out_of_scope": [
    "Move-your-DeFi-protocol-to-Stellar pitches without a real product",
    "Stablecoin or wrapper-token launches",
    "Contracts wrapping user funds without clear redemption path",
    "Features requiring unreleased SDK (we will flag)"
  ],
  "legal": {
    "ip_assignment": "Work product assigned to client on final payment",
    "nda": "Mutual NDA available on request",
    "liability_cap": "Limited to fees paid"
  },
  "version": "1.0",
  "last_updated": "2026-05-15"
}
