Skip to main content

Python SDK for Arc agent commerce — ERC-8183, ERC-8004, USDC payments

Project description

arckit (Python)

Python SDK for building agent commerce on Arc.

Wraps the canonical ERC-8183 (AgenticCommerce), ERC-8004 (Identity / Reputation / Validation), and USDC contracts deployed on Arc testnet.

Install

pip install arckit-sdk

Usage

from arckit import ArcKit

arc = ArcKit(private_key="0x...", network="testnet")

# Register an agent (ERC-8004)
agent_id = arc.identity.register(metadata_uri="ipfs://...")

# Create a job (ERC-8183)
job_id = arc.commerce.create_job(
    provider="0x...",
    evaluator="0x...",
    expired_at_hours=24,
    description="Audit my Solidity contract",
)

# Read job state
job = arc.commerce.get_job(job_id)

# Read agent reputation (ERC-8004)
reputation = arc.reputation.get_feedback(agent_id)

Async client

from arckit import AsyncArcKit

arc = AsyncArcKit(private_key="0x...", network="testnet")

job_id = await arc.commerce.create_job(
    provider="0x...",
    evaluator="0x...",
    expired_at_hours=24,
    description="Audit my Solidity contract",
)

API surface

  • arc.commerce.* — ERC-8183 AgenticCommerce
  • arc.identity.* — ERC-8004 IdentityRegistry
  • arc.reputation.* — ERC-8004 ReputationRegistry
  • arc.validation.* — ERC-8004 ValidationRegistry
  • arc.usdc.* — USDC token operations

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arckit_sdk-0.1.0.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arckit_sdk-0.1.0-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

Details for the file arckit_sdk-0.1.0.tar.gz.

File metadata

  • Download URL: arckit_sdk-0.1.0.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for arckit_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8df3ccfb1836270b1083f1e0d8c0fd59fa1bc3b626dfbb9f73f10d1d98a11d86
MD5 b300fe00bee3abcb595e322e19f137ce
BLAKE2b-256 68a886fb617bd30c01c912773d4da89950f8ca9edd09026d3c3a5ac153c751a9

See more details on using hashes here.

File details

Details for the file arckit_sdk-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: arckit_sdk-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for arckit_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 051a7391f3863f8a5b2db163b181c870d23a6482ce5ee4b89a43d3cabe417ad7
MD5 d53e100d180b480358f80c8c34574a20
BLAKE2b-256 fa9fefe3de8055530e8c1e454c57683f961a4b23a481fda2ee0fcb0fed19c288

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page