9 दस्तावेज़
सिस्टम डिज़ाइन
सिस्टम डिज़ाइन दस्तावेज़, ऑडिट-तत्परता पैकेज, इंजीनियरिंग मार्गदर्शिकाएँ।
IBM सिस्टम-डिज़ाइन शैली में संदर्भ कार्यान्वयन का इंजीनियरिंग दस्तावेज़ीकरण: आवश्यकताएँ, घटक और डेटा मॉडल, अनुक्रम आरेख, परिचालन मॉडल, सुरक्षा नियंत्रण, मापा गया प्रदर्शन, और आवश्यकता से टेस्ट तक ट्रेसेबिलिटी।
| दस्तावेज़ | इसे तब पढ़ें जब आपको |
|---|---|
| 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 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.