Skip to content

docs: add arc-agent-sdk example — TypeScript SDK for Arc Testnet Agent Economy contracts#194

Open
consumeobeydie wants to merge 3 commits into
circlefin:mainfrom
consumeobeydie:docs/arc-agent-sdk-example
Open

docs: add arc-agent-sdk example — TypeScript SDK for Arc Testnet Agent Economy contracts#194
consumeobeydie wants to merge 3 commits into
circlefin:mainfrom
consumeobeydie:docs/arc-agent-sdk-example

Conversation

@consumeobeydie

Copy link
Copy Markdown

Summary

Adds a TypeScript example demonstrating the @consumeobeydie/arc-agent-sdk package — a community-built SDK for interacting with Arc Testnet Agent Economy contracts.

What this example covers

  • AgentIdentity (ERC-8004) — register agent, record missions, get success rate
  • SpendingLimits — set daily/weekly/per-tx limits, canSpend check, remainingDaily
  • SplitPayment — create revenue splits (70% agent / 30% treasury)
  • EventLogger + Memo — on-chain logging with structured metadata (Arc v0.7.2)

SDK

npm install @consumeobeydie/arc-agent-sdk

Contracts (Arc Testnet)

Contract Address
AgentIdentity 0x5275783cD74eC21739Af8f3be9c42C024F671cFb
SpendingLimits 0x615a4B25448980a6b518f9F9088C206387535192
SplitPayment 0x775D4DF117f0B63a16ade4185bDa221Adcb4AEA3
EventLogger 0x9C50765e591663ED541B2fB863626f39fC6C12e0

consumeobeydie and others added 3 commits June 20, 2026 18:28
@osr21

osr21 commented Jul 4, 2026

Copy link
Copy Markdown

Thanks for putting this example together — nice demonstration of the Agent Economy primitives (identity, spending limits, split payments, event logging) working together on Arc Testnet.

A couple of considerations for reviewers before merging:

  • The contract addresses referenced (AgentIdentity, SpendingLimits, SplitPayment, EventLogger) appear to be a separate, community-deployed set on Arc Testnet, distinct from Circle's own reference deployments. It may be worth calling that out explicitly in the docs so readers don't mistake them for an official/canonical deployment.
  • Since @consumeobeydie/arc-agent-sdk is a third-party package, it might be worth adding a short disclaimer noting it hasn't been audited or formally endorsed by Circle, so inclusion in this repo isn't read as an implicit security review.

Otherwise this is a helpful addition for anyone exploring the Agent Economy pattern on Arc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants