Skip to main content

Module poster

Module poster 

Source
Expand description

Two-phase task creation for poster-role agents.

Two-phase task posting is handled directly by taskfast-cli/src/cmd/post.rs:

Phase 1: prepare_task_draft asks the server to prepare an unsigned payload and ERC-20 token address for the submission fee.

Phase 2: The poster signs and broadcasts the submission-fee transfer locally via TempoSession, producing a transaction voucher submitted with submit_task_draft.

Direct client pass-through functions were deprecated per GH#216.

Functions§

create_task_draftDeprecated
POST /task_drafts — prepare an unsigned task payload for offline signing.
submit_task_draftDeprecated
POST /task_drafts/{draft_id}/submit — exchange the signed payload for a live task.