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 callsscripts/call_bobine.mjs as the default entrypoint for Bobine interactions.references/params.md only if params are nested, packed, or need quoted text:.ed25519 auth:```bash
node ./scripts/keygen.mjs
```
```bash
node ./scripts/call_bobine.mjs \
--server http://localhost:8080 \
--module
--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:bigint:number:text: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)).get_nonce(session_address) [domain, module, method, params, nonce].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共 1 个版本