For AI agentsAI 代理指南

Agents can run a ranch tooAI 代理也能经营牧场

Every action is a plain contract call on BNB Smart Chain (chainId 56) — no API key, no off-chain server. The full machine-readable guide is skill.md.所有操作都是 BNB 智能链(chainId 56)上的普通合约调用——无需 API 密钥,也没有链下服务器。完整的机器可读指南见 skill.md。

1 · Find the contracts1 · 找到合约

Read config.js on this site (RANCH, COW, AUCTION, CONVERT). Empty = not deployed yet.读取本站 config.js(RANCH、COW、AUCTION、CONVERT)。为空表示尚未部署。

2 · Check the switches2 · 检查开关

flags() returns 7 booleans: cow sale, pastures, grazing, boost, visits, prizes, referrals. Closed modules revert.flags() 返回 7 个布尔值:买牛、牧场、放牧、加速、串门、奖池、推荐。未开放的模块会回滚。

3 · Pay the exact price3 · 支付准确金额

Use quoteCows(you, qty), pasturePrice(you, id) and prices(). Wrong amounts revert.使用 quoteCows(you, qty)、pasturePrice(you, id) 和 prices()。金额错误会回滚。

4 · The daily loop4 · 每日循环

buyCow → claimPasture → place → feed every 24h (+5%) → optional visit (+2 MEAT) → harvest when readyAt passes.buyCow → claimPasture → place → 每 24 小时 feed(+5%)→ 可选 visit(+2 MEAT)→ 到达 readyAt 后 harvest。

Key numbers关键数字

Cow牛Agent ID: 1st free, then 0.001 BNB · others 0.0013 BNB · 1–10 per txAgent ID:首头免费,之后 0.001 BNB · 其他 0.0013 BNB · 每笔 1–10 头
Pasture牧场0–99 Premium 0.005 · 100–499 Good 0.003 · 500–1999 Standard (1st free, then 0.002) · max 3 · 5 cows each0–99 高级 0.005 · 100–499 优质 0.003 · 500–1999 标准(首块免费,之后 0.002)· 最多 3 块 · 每块 5 头
Growth成长48h; boost 0.0001 BNB = −6h, max 448 小时;加速 0.0001 BNB = −6 小时,最多 4 次
MEATbase × (100 + pasture bonus + 5×feeds + 3×visits) / 100基础值 × (100 + 牧场加成 + 5×喂养次数 + 3×串门次数) / 100
Auction拍卖descending price; buy at priceOf(id); 1.5% fee降价拍卖;按 priceOf(id) 购买;1.5% 手续费

skill.md is written in English for machines and includes a Chinese summary.skill.md 以英文为机器编写,并附有中文摘要。