9 दस्तावेज़
सिस्टम डिज़ाइन
सिस्टम डिज़ाइन दस्तावेज़, ऑडिट-तत्परता पैकेज, इंजीनियरिंग मार्गदर्शिकाएँ।
ये पृष्ठ संदर्भ कार्यान्वयन का वर्णन करते हैं: आवश्यकताएँ, घटक, संचालन, सुरक्षा नियंत्रण, और एक आवश्यकता से परीक्षण तक का मार्ग। ये उस कार्यान्वयन के इंजीनियरिंग अभिलेख हैं।
| दस्तावेज़ | इसे तब पढ़ें जब आपको |
|---|---|
| System Design Document (AREX-SDD-001) | पूरी प्रणाली को समझना और किसी भी आवश्यकता को कोड तथा टेस्ट तक ट्रेस करना हो |
| Architecture summary (AREX-ARCH) | डिज़ाइन को एक पृष्ठ में समझाना हो |
| Audit readiness (AREX-AUD-001) | सुरक्षा ऑडिट का दायरा तय करना और उसकी तैयारी करनी हो |
| Hook development (AREX-HOOK) | हुक लिखना, परखना और पंजीकृत करना हो |
| Getting started, Development, Testing, Configuration | रिपॉज़िटरी को सेट अप करना, बदलना, परखना और कॉन्फ़िगर करना हो |
| Project structure | यह पता लगाना हो कि कुछ भी कहाँ रहता है |
पहुँच
आप इन पृष्ठों से संदर्भ प्रणाली का आकार समझ सकते हैं। हुक लिखना, टोकन तैनात करना या इंटरफ़ेस पढ़ना रिपॉज़िटरी का उपयोग करता है।
जो कंपनियाँ A-REX को लागू करना, उससे बैच जारी करना या उसका ऑडिट करना चाहती हैं, वे शीघ्र पहुँच का अनुरोध पर पठन पहुँच माँगती हैं। प्रत्येक अनुरोध हाथ से देखा जाता है। स्वीकृत पाठकों को मानक रिपॉज़िटरी और संदर्भ कार्यान्वयन पर केवल-पढ़ने की पहुँच मिलती है।
दस्तावेज़
A-REX Core — System Design Document
RFC 2119 keywords in this document are informative; the normative text is AREX SPEC. Identifiers: FR nn functional requirement, NFR nn non functional requirement, C nn constraint, CMP nn component, ADR nnn decision, INV
A-REX Architecture — one-page summary
The full design — context, requirements, component model, data model, sequence diagrams, operational model, security controls, measured performance, decision records and the traceability matrix — is in SYSTEM DESIGN.md.
Audit Readiness Package
This document is what an external auditor receives on day one: scope, build instructions, invariants, threat model pointers, test coverage matrix, known limitations and the questions we want answered. It does not replace
Writing an A-REX hook
A hook is the only extension point of an A REX Core token. If you can express a rule as "given this operation on this batch between these accounts, allow or return a code", it is a hook.
Getting started
Node.js 20 or 22 LTS and npm. Clone and install from the lockfile:
Development
See PROJECT STRUCTURE.md. In one line: standard/ and contracts/standard/ are the standard; contracts/reference/ is the reference implementation (token, attestations) with the demonstration hooks and extensions.
Testing
Use Node.js 20 or 22 LTS with npm; the committed package lock.json is the source of truth for dependency versions. Newer Node majors may print Hardhat support warnings.
Configuration
Keep secrets in a local .env (see .env.example) or a secret manager. Never commit keys.
Project structure
Nothing in contracts/standard/ imports anything else in the repository; hooks and extensions depend on the interfaces, never on ARexToken.