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.1.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.1-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: arckit_sdk-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 71cc9283f6f1d9427813379897486e923b2ef4b6883b80598da9d3a939d7a0a9
MD5 2c580c3549c366fa82f9fb4eb5b9f775
BLAKE2b-256 208f87e5ac8623471c88fa0946b1300aa4aae13a63dd02364baa590873b2eb73

See more details on using hashes here.

File details

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

File metadata

  • Download URL: arckit_sdk-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 07e50f9eaba468df231289816f793a121347e2c43792e5311f30bf79de00060b
MD5 de116c88a0a58a04cefd2e578c9f1c63
BLAKE2b-256 c4eb325d6eb01974f3eb1baf7474271adad8997c19297ec7ee22de0d326ce4d9

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