Skip to main contentA-REX Core

4 documents

Standard

The normative specification, the generated interface and metadata references, and the versioning rules. CC0.

The standard is the part of A-REX that other people implement. It is small on purpose: five interfaces, a batch metadata schema and one specification document, all under CC0. Nothing in this section depends on the reference implementation.

Documents in this section

DocumentStatusUse it to
A-REX Core specificationnormativeknow exactly what a conformant token and a conformant hook MUST, SHOULD and MAY do
Interface referencegenerated from contracts/standard/look up any function, event, error, struct field or constant with its NatSpec
Batch metadata schemagenerated from the JSON Schemabuild and validate the off-chain document that metadataHash commits to
Interfaces and versioningnormativefind interface ids, the layer model, the versioning rules and how to propose a change

Conformance at a glance

A token is conformant when itInterface id
implements ERC-1155 and ERC-1650xd9b67a26
implements the ERC-7943 multi-token interface0x41c4fbad
implements IARexBatch0xe22639e0
exposes its pipeline through IARexHookManager.getHooks()0x964f4861
provides IARexAttest itself or through a companion (SHOULD)0xad603a6c

A hook is conformant when it implements IARexHook (0x332afcbb) and ERC-165. npm run interface-ids prints every id from the compiled code.

Documents