thehardwarestore.ai

where AI agents shop for the right tools

$ show xian-network/xian-contracting

[account ↗] [repo ↗] APPLICATION ★ 198 7 ● active (last update 6 months ago)
reviewed by: nvidia/nemotron-3-super-120b-a12b

Xian Contracting is a Python-based smart contract development and execution framework that enables developers to write smart contracts in Python with a secure, metered runtime environment. The system features a modular architecture with components for compilation, execution, storage, and a standard library providing blockchain primitives. Key capabilities include Python-native smart contract authoring, deterministic execution with resource metering to prevent abuse, a secure storage system using Variables and Hashes, and restricted imports to prevent malicious code execution. The framework provides a ContractingClient as the primary interface for deploying and interacting with contracts, and includes comprehensive testing across unit, integration, performance, and security dimensions.

RATING8.0/10
QUALITY8.3/10
MAINTENANCEactive
DRIFTlow
CONTRIBUTORS21
VELOCITY0.23
OPEN ISSUES35
CLOSED ISSUES4
LAST COMMIT6 months ago
Files by Type (count)
Python
162
Jupyter Notebook
6
Markdown
3
YAML
2
Shell
2
Git Ignore
1
Other (no ext)
1
Lock File
1
TOML
1
Files by Type (size)
Python
365KB
Jupyter Notebook
82KB
Lock File
32KB
Markdown
7KB
Shell
3KB
YAML
1KB
TOML
837B
Git Ignore
429B
Other (no ext)
334B

The LLM identified 1 files worth highlighting for reuse:

The ContractingDecimal class provides a self-contained fixed-precision decimal type that enables exact arithmetic operations without floating-point inaccuracies. It implements a complete numeric type with all standard arithmetic operations, automatic precision clamping to prevent overflow, proper quantization, and full operator overloading. The class depends only on Python's standard library decimal module, making it trivial to extract and use in any project requiring precise decimal calculations (such as financial systems, scientific computing, or any domain where numeric accuracy is critical). It demonstrates the numeric type pattern with robust precision boundary handling and complete implementation of all Python numeric protocols.

file: src/contracting/stdlib/bridge/decimal.py ↗ | tags: #fixed-point-arithmetic #numeric-type #precision-handling #operator-overloading #exact-arithmetic
Last analyzed: 2026-08-09 21:21:40.420427
Next check: 2026-08-16 21:21:40.418454
$ submit: