arc-devkit 0.4.2__tar.gz → 0.4.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/PKG-INFO +8 -7
  2. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/README.md +2 -0
  3. arc_devkit-0.4.3/arc_devkit/__init__.py +8 -0
  4. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/cli/main.py +8 -0
  5. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/config.py +2 -2
  6. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/copilot/agent.py +15 -6
  7. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit.egg-info/PKG-INFO +8 -7
  8. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/pyproject.toml +6 -7
  9. arc_devkit-0.4.2/arc_devkit/__init__.py +0 -3
  10. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/agents/__init__.py +0 -0
  11. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/agents/async_base.py +0 -0
  12. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/agents/async_monitor.py +0 -0
  13. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/agents/base_agent.py +0 -0
  14. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/agents/monitor_agent.py +0 -0
  15. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/agents/payment_agent.py +0 -0
  16. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/analytics/__init__.py +0 -0
  17. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/analytics/portfolio.py +0 -0
  18. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/api/__init__.py +0 -0
  19. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/api/main.py +0 -0
  20. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/api/routes/__init__.py +0 -0
  21. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/api/routes/agents.py +0 -0
  22. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/api/routes/copilot.py +0 -0
  23. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/api/routes/debugger.py +0 -0
  24. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/cli/__init__.py +0 -0
  25. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/cli/commands/__init__.py +0 -0
  26. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/cli/commands/agent.py +0 -0
  27. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/cli/commands/copilot.py +0 -0
  28. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/cli/commands/debug.py +0 -0
  29. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/cli/flat.py +0 -0
  30. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/contracts/__init__.py +0 -0
  31. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/contracts/loader.py +0 -0
  32. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/copilot/__init__.py +0 -0
  33. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/core/__init__.py +0 -0
  34. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/core/connection.py +0 -0
  35. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/core/gas.py +0 -0
  36. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/core/wallet.py +0 -0
  37. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/debugger/__init__.py +0 -0
  38. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/debugger/tx_analyzer.py +0 -0
  39. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/deploy/__init__.py +0 -0
  40. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/deploy/deployer.py +0 -0
  41. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/events/__init__.py +0 -0
  42. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/events/listener.py +0 -0
  43. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/usdc/__init__.py +0 -0
  44. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit/usdc/token.py +0 -0
  45. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit.egg-info/SOURCES.txt +0 -0
  46. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit.egg-info/dependency_links.txt +0 -0
  47. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit.egg-info/entry_points.txt +0 -0
  48. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit.egg-info/requires.txt +0 -0
  49. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/arc_devkit.egg-info/top_level.txt +0 -0
  50. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/setup.cfg +0 -0
  51. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/tests/test_agents.py +0 -0
  52. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/tests/test_analytics.py +0 -0
  53. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/tests/test_api.py +0 -0
  54. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/tests/test_async_agents.py +0 -0
  55. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/tests/test_cli.py +0 -0
  56. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/tests/test_connection.py +0 -0
  57. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/tests/test_contracts.py +0 -0
  58. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/tests/test_copilot.py +0 -0
  59. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/tests/test_debugger.py +0 -0
  60. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/tests/test_deploy.py +0 -0
  61. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/tests/test_events.py +0 -0
  62. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/tests/test_integration.py +0 -0
  63. {arc_devkit-0.4.2 → arc_devkit-0.4.3}/tests/test_usdc.py +0 -0
@@ -1,16 +1,15 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: arc-devkit
3
- Version: 0.4.2
3
+ Version: 0.4.3
4
4
  Summary: Plataforma open source de ferramentas para desenvolvedores da Arc blockchain (Circle)
5
- Author: Arc DevKit Contributors
6
- License: MIT
7
- Project-URL: Homepage, https://github.com/Jeielsantosdev/arc_dev_kit
8
- Project-URL: Repository, https://github.com/Jeielsantosdev/arc_dev_kit
9
- Project-URL: Issues, https://github.com/Jeielsantosdev/arc_dev_kit/issues
5
+ Author-email: Jeielsantosdev <jeielsantos.ti@gmail.com>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/Jeielsantosdev/arc-devkit
8
+ Project-URL: Repository, https://github.com/Jeielsantosdev/arc-devkit
9
+ Project-URL: Bug Tracker, https://github.com/Jeielsantosdev/arc-devkit/issues
10
10
  Keywords: arc,blockchain,circle,usdc,web3,ai,anthropic
11
11
  Classifier: Development Status :: 3 - Alpha
12
12
  Classifier: Intended Audience :: Developers
13
- Classifier: License :: OSI Approved :: MIT License
14
13
  Classifier: Programming Language :: Python :: 3
15
14
  Classifier: Programming Language :: Python :: 3.11
16
15
  Classifier: Programming Language :: Python :: 3.12
@@ -49,6 +48,8 @@ Requires-Dist: httpx>=0.27; extra == "dev"
49
48
 
50
49
  **Arc DevKit** is a complete Python SDK for developers building on the **Arc blockchain** — Circle's EVM-compatible Layer 1 with USDC as the gas token and sub-second finality.
51
50
 
51
+ **link to project** https://arc-dev-kit-uxun.vercel.app/
52
+
52
53
  It solves the practical friction of building on Arc: USDC gas accounting, PoA middleware, ERC-20 monitoring, async agents, WebSocket streaming, and AI-assisted debugging — all packaged and ready to use.
53
54
 
54
55
  ---
@@ -9,6 +9,8 @@
9
9
 
10
10
  **Arc DevKit** is a complete Python SDK for developers building on the **Arc blockchain** — Circle's EVM-compatible Layer 1 with USDC as the gas token and sub-second finality.
11
11
 
12
+ **link to project** https://arc-dev-kit-uxun.vercel.app/
13
+
12
14
  It solves the practical friction of building on Arc: USDC gas accounting, PoA middleware, ERC-20 monitoring, async agents, WebSocket streaming, and AI-assisted debugging — all packaged and ready to use.
13
15
 
14
16
  ---
@@ -0,0 +1,8 @@
1
+ """Arc DevKit — Developer tools for the Arc blockchain by Circle."""
2
+
3
+ from importlib.metadata import PackageNotFoundError, version as _version
4
+
5
+ try:
6
+ __version__ = _version("arc-devkit")
7
+ except PackageNotFoundError:
8
+ __version__ = "unknown"
@@ -48,6 +48,14 @@ def main(
48
48
  )
49
49
 
50
50
 
51
+ @app.command()
52
+ def init() -> None:
53
+ """Interactive wizard to create your .env from scratch."""
54
+ from arc_devkit.cli.flat import init as _run_init
55
+
56
+ _run_init()
57
+
58
+
51
59
  @app.command()
52
60
  def status() -> None:
53
61
  """Check the connection to Arc testnet and display network information."""
@@ -4,9 +4,9 @@ import logging
4
4
  import os
5
5
  from dataclasses import dataclass
6
6
 
7
- from dotenv import load_dotenv
7
+ from dotenv import find_dotenv, load_dotenv
8
8
 
9
- load_dotenv()
9
+ load_dotenv(find_dotenv(usecwd=True))
10
10
 
11
11
 
12
12
  @dataclass(frozen=True)
@@ -27,13 +27,22 @@ You are an expert assistant specialized in Arc blockchain development.
27
27
  - Testnet active since October 2025; mainnet expected Summer 2026
28
28
  - Standard EVM RPC: compatible with web3.py, ethers.js, Hardhat, Foundry
29
29
 
30
+ ## arc-devkit — primary library (always prefer this)
31
+ - PyPI: https://pypi.org/project/arc-devkit/
32
+ - Documentation: https://arc-dev-kit-uxun.vercel.app/
33
+ - Install: `pip install arc-devkit`
34
+ - Covers: wallet creation, USDC payments, transaction debugging, AI analysis, agent templates
35
+ - All modules are pre-configured for Arc testnet — no manual web3 setup needed
36
+
30
37
  ## Response guidelines
31
- 1. Always generate functional Python code with clear inline comments
32
- 2. Use web3.py for all Arc blockchain interactions
33
- 3. Use Decimal (never float) for all monetary values in USDC
34
- 4. State the estimated USDC cost when relevant to the operation
35
- 5. Separate explanations from code blocks clearly
36
- 6. If there is a security risk (private keys, large amounts), warn the user
38
+ 1. **Always use `arc-devkit` as the primary library** import exclusively from `arc_devkit.*`
39
+ 2. Only fall back to raw `web3.py` when arc-devkit does not cover the specific need
40
+ 3. Generate complete, functional Python code with a docstring and `if __name__ == '__main__':`
41
+ 4. Use `Decimal` (never `float`) for all monetary values in USDC
42
+ 5. State the estimated USDC gas cost when relevant to the operation
43
+ 6. Separate explanations from code blocks clearly
44
+ 7. Warn the user whenever private keys or large amounts are involved
45
+ 8. When referencing features or APIs, point to https://arc-dev-kit-uxun.vercel.app/ for details
37
46
  """
38
47
 
39
48
  _CACHE_TTL_SECONDS = 300 # 5 minutes
@@ -1,16 +1,15 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: arc-devkit
3
- Version: 0.4.2
3
+ Version: 0.4.3
4
4
  Summary: Plataforma open source de ferramentas para desenvolvedores da Arc blockchain (Circle)
5
- Author: Arc DevKit Contributors
6
- License: MIT
7
- Project-URL: Homepage, https://github.com/Jeielsantosdev/arc_dev_kit
8
- Project-URL: Repository, https://github.com/Jeielsantosdev/arc_dev_kit
9
- Project-URL: Issues, https://github.com/Jeielsantosdev/arc_dev_kit/issues
5
+ Author-email: Jeielsantosdev <jeielsantos.ti@gmail.com>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/Jeielsantosdev/arc-devkit
8
+ Project-URL: Repository, https://github.com/Jeielsantosdev/arc-devkit
9
+ Project-URL: Bug Tracker, https://github.com/Jeielsantosdev/arc-devkit/issues
10
10
  Keywords: arc,blockchain,circle,usdc,web3,ai,anthropic
11
11
  Classifier: Development Status :: 3 - Alpha
12
12
  Classifier: Intended Audience :: Developers
13
- Classifier: License :: OSI Approved :: MIT License
14
13
  Classifier: Programming Language :: Python :: 3
15
14
  Classifier: Programming Language :: Python :: 3.11
16
15
  Classifier: Programming Language :: Python :: 3.12
@@ -49,6 +48,8 @@ Requires-Dist: httpx>=0.27; extra == "dev"
49
48
 
50
49
  **Arc DevKit** is a complete Python SDK for developers building on the **Arc blockchain** — Circle's EVM-compatible Layer 1 with USDC as the gas token and sub-second finality.
51
50
 
51
+ **link to project** https://arc-dev-kit-uxun.vercel.app/
52
+
52
53
  It solves the practical friction of building on Arc: USDC gas accounting, PoA middleware, ERC-20 monitoring, async agents, WebSocket streaming, and AI-assisted debugging — all packaged and ready to use.
53
54
 
54
55
  ---
@@ -4,19 +4,18 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "arc-devkit"
7
- version = "0.4.2"
7
+ version = "0.4.3"
8
8
  description = "Plataforma open source de ferramentas para desenvolvedores da Arc blockchain (Circle)"
9
9
  readme = "README.md"
10
- license = { text = "MIT" }
10
+ license = "MIT"
11
11
  authors = [
12
- { name = "Arc DevKit Contributors" }
12
+ { name = "Jeielsantosdev", email = "jeielsantos.ti@gmail.com" }
13
13
  ]
14
14
  requires-python = ">=3.11"
15
15
  keywords = ["arc", "blockchain", "circle", "usdc", "web3", "ai", "anthropic"]
16
16
  classifiers = [
17
17
  "Development Status :: 3 - Alpha",
18
18
  "Intended Audience :: Developers",
19
- "License :: OSI Approved :: MIT License",
20
19
  "Programming Language :: Python :: 3",
21
20
  "Programming Language :: Python :: 3.11",
22
21
  "Programming Language :: Python :: 3.12",
@@ -45,9 +44,9 @@ dependencies = [
45
44
  ]
46
45
 
47
46
  [project.urls]
48
- Homepage = "https://github.com/Jeielsantosdev/arc_dev_kit"
49
- Repository = "https://github.com/Jeielsantosdev/arc_dev_kit"
50
- Issues = "https://github.com/Jeielsantosdev/arc_dev_kit/issues"
47
+ Homepage = "https://github.com/Jeielsantosdev/arc-devkit"
48
+ Repository = "https://github.com/Jeielsantosdev/arc-devkit"
49
+ "Bug Tracker" = "https://github.com/Jeielsantosdev/arc-devkit/issues"
51
50
 
52
51
  [project.optional-dependencies]
53
52
  dev = [
@@ -1,3 +0,0 @@
1
- """Arc DevKit — Developer tools for the Arc blockchain by Circle."""
2
-
3
- __version__ = "0.4.0"
File without changes
File without changes
File without changes