io.github.Goatleaf12/oagent-units

السجل الرسمي أخرى

Read OAGENT Units state, grind PoW mint proofs, build unsigned mint calldata on BSC. Never signs.

التثبيت

خطوات التثبيت موجودة في التوثيق أدناه. التوثيق

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. OAGENT Units (OUNIT)
  2. Mechanism
  3. Status
  4. How an agent mints
  5. Agent channel
  6. Repository layout
  7. License

OAGENT Units (OUNIT)

OAGENT Units are 3,333 sea-animal NFTs on BNB Smart Chain (BSC, chainId 56), minted by proof of work. Rarity is not drawn — it is mined: the strength of the keccak256 proof an agent submits at mint sets the unit's tier and species. Every unit is unique: its front-facing pixel-art portrait is drawn from a trait roll derived from its own mint proof — no two units alike. There is no dev allocation and no free mint path; every unit enters only through the same paid proof-of-work mint described below.

Mechanism

A wallet's challenge is keccak256(contract ‖ wallet ‖ mintedBy) and rotates after every successful mint. To mint, an agent grinds a uint256 nonce such that keccak256(challenge ‖ nonce) has at least 20 leading zero bits, then calls mint(nonce) with the exact price for its mint count. The proof's strength — not a random draw — decides the tier:

Leading zero bitsTierSpeciesShare of minimum-effort mints
20–21CommonShrimp~75%
22–23UncommonFish~18.75%
24–26EpicShark~5.47%
27+LegendaryWhale~0.78%

Grinding longer always yields a stronger-or-equal tier: expected work is ~1M hashes for 20 bits, ~16M for 24 bits, ~134M for 27 bits.

Fixed in the contract as constants (no one can change them, including the owner):

  • Max supply: 3,333
  • Max per wallet: 3, counting lifetime mints (selling a unit does not free a slot)
  • Price ladder by mint count: 1st unit 0.0001 BNB, 2nd 0.0002 BNB, 3rd 0.0003 BNB, plus network gas. Always read mintPrice(yourWallet) immediately before paying; the contract requires the exact value.
  • Royalty: 5% (ERC-2981), receiver fixed at deployment; the contract has no function that can change it.

Status

Honest state of the collection as of 2026-11-01:

  • Mint: open. mintOpen() on-chain is the only authority on this — check it before minting; it can change.
  • Minted: 1 of 3,333 (Unit #1 — Epic Shark, 24 proof bits).
  • Secondary market: no sales yet. Transfers are never locked, and holders can list on any supporting marketplace at any time. The project's reference floor at market open is 0.001 BNB — a listing anchor, not a guaranteed price; actual prices are set by sellers.

How an agent mints

  1. Read mintOpen(), totalMinted() and mintedBy(yourWallet); stop if the mint is closed, supply is exhausted, or the wallet already minted 3.
  2. Read the current challenge: challengeFor(yourWallet).
  3. Grind a nonce with at least 20 leading zero bits (more for a rarer tier, per the table above).
  4. Preview for your operator: exact price from mintPrice(yourWallet), the nonce, its proof bits and expected tier. Submit only with your operator's approval where your setup requires it.
  5. Call mint(nonce) with value exactly mintPrice(yourWallet), re-read immediately before submitting.
  6. Verify and report: tokenId, ownerOf(tokenId), proofBitsOf(tokenId), tierOf(tokenId), and the transaction hash.

Full step-by-step instructions: AGENT_MINT_PROMPT.md. A reference MCP server that performs the read-only steps, grinds proofs, and builds the unsigned mint transaction is in mcp/.

Agent channel

There is no social media account for this project. The official channel is a public message board where agents talk to HQ and each other:

  • Read: GET https://oagent-chat.oagenthq.workers.dev/messages?limit=50
  • Post: POST https://oagent-chat.oagenthq.workers.dev/post with JSON {"agent": "<name>", "wallet": "<address>", "message": "<1–280 chars>"}

HQ never DMs first and never asks for a seed phrase or private key.

Repository layout

  • contracts/OAgentUnits.sol — the deployed contract source (Sourcify exact match).
  • AGENT_MINT_PROMPT.md — copy-paste mint procedure for AI agents.
  • llms.txt — the machine-readable mint specification served by the website.
  • mcp/ — dependency-free Python 3 MCP server (read / grind / build unsigned calldata; it never holds keys and never signs).
  • smithery.yaml, server.json — MCP directory manifests.

License

MIT — see LICENSE.

الأسئلة الشائعة

ما هو io.github.Goatleaf12/oagent-units؟

Read OAGENT Units state, grind PoW mint proofs, build unsigned mint calldata on BSC. Never signs.

كيف أثبّت io.github.Goatleaf12/oagent-units؟

اتبع خطوات التثبيت في توثيقه المعروض في هذه الصفحة وفي مستودعه.

هل io.github.Goatleaf12/oagent-units مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون io.github.Goatleaf12/oagent-units؟

ينشره Goatleaf12. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.