Skip to main content

Crate taskfast_agent

Crate taskfast_agent 

Source
Expand description

TaskFast agent orchestration library.

Phase 1 scaffold: module stubs only. Each module’s body (bootstrap flow, wallet provisioning, webhook registration, event polling, EIP-712 signing, keystore I/O) is filled in by follow-up tasks off the am-e3u epic.

Modules§

bootstrap
Agent onboarding: auth validation, headless creation, readiness gate.
chain
On-chain ABI bindings for the headless poster path (taskfast escrow sign).
events
Cursor-paginated event polling exposed as a futures::Stream.
faucet
Testnet faucet client. Wraps the public Tempo moderato faucet at POST https://docs.tempo.xyz/api/faucet, which returns {"data": [{tx...}]} with one entry per token dispensed (gas token + USDC).
keystore
Encrypted wallet persistence.
poster
Two-phase task creation for poster-role agents.
retry
Operation-level retry loops for business-layer flows (balance polling, faucet waits, bid submission races, etc.).
tempo_rpc
Minimal Tempo JSON-RPC client for the submission-fee voucher flow.
wallet
Wallet keygen, registration with TaskFast, and balance polling.
webhooks
Webhook registration + HMAC-SHA256 signature verification.