Examples
Runnable scripts in the bnbagent-sdk repository.
| Example | Role | Description |
|---|---|---|
| examples/client/ | Client | Five stand-alone scripts for the canonical ERC-8183 flows: happy / dispute-reject / stalemate-expire / never-submit / cancel-open. |
| examples/voter/ | Voter | voteReject script + Disputed event watcher for whitelisted voters. |
| examples/agent-server/ | Provider | FastAPI agent that searches blockchain news via DuckDuckGo. Demonstrates create_erc8183_app(), the funded-job poll loop, and ERC-8004 registration. |