Trang này chỉ có bằng tiếng Anh. Phiên bản tiếng Anh là bản có giá trị chính thức.
Tài liệu
Xây dựng trên MZGrid
Mọi thứ bạn cần để triển khai khối lượng công việc, vận hành nút nhà cung cấp và tích hợp với giao thức — từ hướng dẫn nhanh năm phút đến từng sự kiện của hợp đồng.
Bắt đầu nhanh
Triển khai Llama 3.1 8B trong vài phút
Trở thành nhà cung cấp
Cài đặt, chạy benchmark, bắt đầu kiếm thu nhập
Tham chiếu API
Mọi endpoint và cấu trúc phản hồi
Bắt đầu
- Giới thiệuWhat MZGrid is, who uses it, and how a GPU job moves from a funded escrow to a settled payment on Base.
- Bắt đầu nhanhDeploy an OpenAI-compatible Llama 3.1 8B Instruct endpoint on MZGrid in a few minutes, from the website or from the TypeScript SDK.
- Khái niệm cốt lõiOffers, SKUs, templates, escrow, settlement, provider lock, reputation, job caps, regions and provider tiers explained.
Khách hàng
- Triển khai khối lượng công việcThe full customer flow: choose an offer or let the scheduler pick, configure a template, fund the escrow on Base and follow the job to completion.
- Tính phí & ký quỹHow deposits, per-second billing, the 7% protocol fee, refunds, cancellation, timeout reclaim and slashing compensation work, with worked MZG examples.
- Mẫu triển khaiEvery workload template — what it runs, minimum VRAM, recommended GPUs and an example request.
- Danh mục GPUThe supported GPU models, their reference prices in MZG per GPU-hour, how live prices relate to them, and how to choose a GPU for your workload.
Nhà cung cấp
- Cài đặt agent nhà cung cấpRequirements, installation, the mzgrid-provider CLI, running the agent as a systemd service, and how jobs are isolated on your machine.
- Benchmark & xác minhHow MZGrid verifies provider hardware and work: registration benchmarks, usage reports and canary spot checks.
- Định giáSetting your price per SKU, how live prices relate to reference prices, and how the scheduler ranks offers.
- Khóa & rời mạngHow 20% of every payout becomes your collateral, how it raises your job cap, and how to exit and withdraw it after 10 days.
- Phạt cắt giảmThe three slashing reasons, the exact amounts, how slashed MZG is split between the client and the treasury, and worked examples.
- Uy tínHow the 0–100 reliability score is computed from completion rate, uptime, benchmark consistency and tenure, and how it affects ranking.
Tham chiếu API
- Tổng quan & xác thựcBase URLs, conventions for amounts and timestamps, wallet sign-in, API keys, provider request signing, errors and rate limits.
- Endpoint công khaiUnauthenticated endpoints for health, the GPU and template catalogue, marketplace offers and live network statistics.
- Tác vụ & tài khoảnCreate, fund, monitor, read logs from and stop jobs, and read your account balances. Includes the Job object and status reference.
- Khóa APICreate, list and revoke long-lived mzg_live_ API keys for servers and scripts.
- Endpoint cho nhà cung cấpEndpoints used by the provider agent: registration, benchmarks, heartbeats, job polling, status, usage, completion, account and pricing.
SDK
- SDK TypeScriptInstall @mzgrid/sdk, create a client with an API key or wallet, and browse offers, create and fund jobs, wait for endpoints, read logs and stop jobs.
- Dùng API từ PythonCall the MZGrid REST API from Python with requests, fund jobs with web3.py, and use the job's endpoint with the openai client.
Hợp đồng thông minh
- Tổng quan & địa chỉThe three MZGrid contracts on Base, their deployed addresses, roles, the admin multisig and the trust model.
- MZGridEscrowConstants, functions, rules and events of the escrow contract, with a viem example of createJobWithPermit.
- ProviderRegistryProvider status, locked balances, job caps, exit and withdrawal, slashing reasons, functions and events.
- MZGTokenThe MZG ERC-20 token: 18 decimals, EIP-2612 permit, fixed supply of 1,000,000,000, no mint and no owner, plus the allocation and vesting wallets.