一键导入
bobine-contract-caller
Use when you need to call deployed Bobine modules with typed params or perform a signed Ed25519 call through an auth module.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when you need to call deployed Bobine modules with typed params or perform a signed Ed25519 call through an auth module.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Generate commit messages following the DAFT convention, which requires exactly one letter as the commit message (with exception for dependency updates that can use 'u: description' format). Use this skill when creating commits, suggesting commit messages, or validating commit message format.
Design, write, and maintain Bobine smart contracts. Use this skill when you need to implement or change contract behavior, public APIs, or on-chain data formats; refactor for simplicity; fix bugs; review contract code for correctness; or prepare a contract for release (docs, consistency, conventions). Applies a minimalist, direct style and avoids explanatory comments inside functions.
Guide for writing, debugging, and maintaining BDD tests using Cucumber for Bobine smart contracts. Use this skill when adding new test scenarios, fixing broken tests, or interpreting test failures.
基于 SOC 职业分类
| name | bobine-contract-caller |
| license | MIT |
| description | Use when you need to call deployed Bobine modules with typed params or perform a signed Ed25519 call through an auth module. |
| metadata | {"version":"0.1.0","openclaw":{"requires":{"bins":["node"]},"emoji":"🧵","homepage":"https://github.com/hazae41/bobine","os":["linux","darwin","win32"]}} |
Default entrypoint: scripts/call_bobine.mjs.
/api/executeed25519 call with nonce handling and signaturereferences/params.md only when params use packed arrays or quoted text: payloadsreferences/runtime.md only when spark handling, outputs, or failure modes are unclearscripts/keygen.mjs only when the call needs ed25519 authscripts/call_bobine.mjs for all unsigned and signed callsUse scripts/call_bobine.mjs as the default entrypoint for Bobine interactions.
Read references/params.md only if params are nested, packed, or need quoted text:.
Generate keys if the call needs ed25519 auth:
node ./scripts/keygen.mjs
Call the target contract with explicit arguments:
node ./scripts/call_bobine.mjs \
--server http://localhost:8080 \
--module <target-module> \
--method <target-method> \
--param text:Alice
call_bobine.mjs
--server: Bobine server base URL--module: target module address--method: target method name--param: repeat once per typed param--auth-module: optional deployed ed25519 auth module address--sigkey: required when --auth-module is provided--pubkey: required when --auth-module is provided--spark-hex: optional one-off spark value for this exact call--spark-effort: optional inline spark generation targetnullblob:<hex>bigint:<value>number:<value>text:<value>pack:[...]array:[...]text: payload itself when it contains , or ], for example text:"a,b]"--param is one top-level Bobine param per flag; nested arrays stay inside a single typed param stringtext: values containing , or ] must quote the payload itself, for example text:"a,b]"--auth-module, --sigkey, and --pubkey--spark-hex is a one-off override for a specific call; prefer --spark-effort when you want a fresh sparkkeygen.mjs prints secret material, so do not paste its output back to the user unless they explicitly ask for it--server, target module, target method, and typed params[auth_module, pubkey]sha256(pack(session))<auth_module>.get_nonce(session_address)[domain, module, method, params, nonce]<auth_module>.call(module, method, params, pubkey, signature){ "type": "text", "value": "hello" }{ "type": "bigint", "value": "42" }{ "type": "array", "value": [...] }keygen.mjs prints { "sigkey": "...", "pubkey": "..." }sigkey as sensitive--spark-hex only when you deliberately want to supply a one-off sparkMissing required call arguments: re-run with --server, --module, --method, and any required auth flagsUnknown value type: read references/params.mdFailed Bobine execute request: report the HTTP status and response bodyInvalid session or Unauthorized: the auth module, nonce, keys, or target contract assumptions are wrong