//Bobis a dev-only account built into the SDK. It works out of the box against the testnet but it’s shared and unsuited to anything real. Swap in your own signer, see SDK Reference: accounts.- The 300-block wait window is generous on purpose. Real inference on a curated small model took longer than the SDK’s 20-block default in practice; 300 is a safe margin, not a guarantee.
- This path is plaintext end to end: no party’s identity or content is hidden here, only the execution is coordinated through a Compute Contract. If your prompt or the model’s answer needs to stay private, see Encrypted Compute instead.
Build
Call a model
This guide is public (plaintext): the prompt and the answer are visible on the testnet ledger. For the private version, see Encrypted compute.
A complete script that submits a plain inference request and prints the answer. This is the Quickstart pattern as a real file you can save and run, with the error handling a one-off terminal session doesn’t need but a script should have.
Run it:
A few things worth knowing before you adapt this: