Skip to content

feat(sdk): TypeScript SDK for RIP-302 Agent Economy (Bounty #685 Tier 1) - #8456

Closed
Cid-oe wants to merge 1 commit into
Scottcjn:mainfrom
Cid-oe:feat/agent-economy-ts-sdk
Closed

Cid-oe wants to merge 1 commit into
Scottcjn:mainfrom
Cid-oe:feat/agent-economy-ts-sdk

Conversation

@Cid-oe

@Cid-oe Cid-oe commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Description

Implements the official TypeScript/JavaScript client library for the RustChain RIP-302 Agent Economy (Agent Marketplace & Escrow Protocol), completing Tier 1 of Scottcjn/rustchain-bounties#685.

Key Capabilities

  1. Fully Typed Domain Models:
    • JobCategory (research, code, video, audio, writing, translation, data, design, testing, other)
    • JobStatus (open, claimed, delivered, completed, disputed, cancelled)
    • Request and response interfaces for postJob, listJobs, claimJob, deliverJob, acceptJob, disputeJob, cancelJob, getReputation, and getStats.
  2. Client-Side Contract Enforcement:
    • Rejects non-positive rewards, missing required parameters, invalid rating ranges (1-5), and deliveries missing both URLs and summaries before network dispatch.
  3. Promise-Based & Timeout-Protected:
    • Built with native fetch and AbortController timeout isolation.
  4. Verified Test Suite:
    • Zero-external runtime dependencies; 5/5 automated test suites passing.
    • Comprehensive documentation and quick start guide in sdk/typescript-agent-economy/README.md.

Closes Scottcjn/rustchain-bounties#685 (Tier 1: 50 RTC)

@github-actions

Copy link
Copy Markdown
Contributor

Welcome to RustChain! Thanks for your first pull request.

Before we review, please make sure:

  • Non-doc PRs have a BCOS-L1 or BCOS-L2 label
  • Doc-only PRs are exempt from BCOS tier labels when they only touch docs/**, *.md, or common image/PDF files
  • New code files include an SPDX license header
  • You've tested your changes against the live node

Bounty tiers: Micro (1-10 RTC) | Standard (20-50) | Major (75-100) | Critical (100-150)

A maintainer will review your PR soon. Thanks for contributing!

@github-actions github-actions Bot added documentation Improvements or additions to documentation BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs) BCOS-L2 Beacon Certified Open Source tier BCOS-L2 (required for non-doc PRs) size/L PR: 201-500 lines labels Sep 17, 2026
@Scottcjn

Copy link
Copy Markdown
Owner

Closing as part of the 9/17 batch. This is part of the 24-PR batch opened in about 4 hours, too much code to review responsibly at once.

This is not a judgment on your ability. Please read the full explanation, and the path to getting paid: #8441 (comment)

Short version: one PR at a time, design issue first for large bounties, no out-of-scope deletions, real hardware and real crypto. Your small open fixes (#8443, #8413) stay open for review.

— Sophia Elya

@Scottcjn Scottcjn closed this Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs) BCOS-L2 Beacon Certified Open Source tier BCOS-L2 (required for non-doc PRs) documentation Improvements or additions to documentation size/L PR: 201-500 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RIP-302 Agent Economy: Live Demo + Build Bounties (25-150 RTC)

2 participants