Contract template
afg_contract_templateReturn a valid example job contract for a supported category so you can adapt it: 'code_fix_test_suite_pass' (a patch graded by the repo's tests plus sealed hidden tests) or 'schema_valid' (a JSON deliverable graded against a pinned JSON Schema). Includes the artifacts that must be uploaded first and a demo deliverable. Optionally uploads the artifacts for you with a session wallet. TEST MONEY ONLY: mock ledger, test tokens (tUSDC), no real funds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | Contract category | |
| buyer_address | No | Buyer wallet (0x...) | |
| provider_address | No | Provider wallet | |
| include_artifact_bytes | No | Include base64 artifact bytes (needed to upload them yourself). | |
| upload_with_wallet_handle | No | Optional session wallet (TEST ONLY) used to upload the template's artifacts now, so the contract can be posted immediately. |