ORVON | Run the permissioned transfer example
Independent reviewer edition 1.0.0, 30 November 2026

Purpose
Reproduce issuance, an eligible transfer, an eligibility refusal and supply
reconciliation on a fresh, isolated EVM. The example uses synthetic claims,
fictional positions and ephemeral Hardhat accounts.

Requirements and commands
Tested with Node.js 24.13.1 and npm 11.8.0 on macOS arm64. Use a platform
supported by the native Hardhat engine. Extract this archive into an empty
directory, open that directory in a terminal and run:

  npm ci --ignore-scripts --no-audit --no-fund
  npm run --silent replay > observed.json
  node -e "require('node:assert/strict').deepStrictEqual(require('./observed.json'),require('./orvon-strict-proof.json')); console.log('MATCH')"

The first command downloads the locked dependencies from the npm registry.
The replay then runs in-process and can be repeated offline. You only need
the files in this ZIP. You can inspect the runner before executing it.
A successful run exits with status 0 and writes a JSON record. The comparison
prints MATCH when your record equals the bundled observation. Changing the
runner, configuration or lockfile deliberately changes an input digest.

Reading the evidence
The runner prepares Tokeny T-REX 4.1.6 with ONCHAINID 2.2.1. A synthetic
issuer signs claims for two ephemeral addresses, A and B. It leaves C
unregistered. The identity registry is queried before and after the claims.
The operator mints 300 indivisible units to A. A transfers 25 to B. The
runner asserts the receipt and exactly one matching Transfer event from
the token address, checks balances at the block before and after the
transfer, and reconciles supply to 300. It then simulates a transfer of
10 units from A to C with eth_call, checks the refusal reason and rereads
the unchanged balances and supply.

Expected verified flags          A=true, B=true, C=false
Before approved transfer         A=300, B=0, C=0, total supply=300
After approved transfer          A=275, B=25, C=0, total supply=300
Refusal                          Transfer not possible
Measured TREXFactory runtime     23,495 bytes (configured limit 24,576)

Scope and provenance
The locally created chain uses ID 31337, the Cancun hardfork and normal code
size enforcement. A fixed synthetic genesis time aids reproducibility.
Transaction hashes in the JSON belong to the in-process chain. Public Fuji
transactions in this run: 0. The refusal uses a read-only simulation and has
no transaction receipt. Gas in this run is a local measurement.

This standalone ORVON-authored runner implements the suite creation, token
issuance, holder registration and transfer scenario used in ORVON's technical
demonstration. It calls the contract artifacts shipped by the named upstream
npm packages. It is a small reviewer implementation of this workflow, separate
from the storefront, internal PHP execution engine and real-world identity
services. A claim here records only a synthetic test fixture. Results cover
these assertions and inputs. Public network deployment, legal eligibility,
persistent storage and the end-to-end commercial workflow require separate
evidence.

Sources of contract artifacts installed by npm:
https://www.npmjs.com/package/@tokenysolutions/t-rex/v/4.1.6
https://www.npmjs.com/package/@onchain-id/solidity/v/2.2.1
The archive contains the runner, configuration, lockfile and an observed
result. Dependency implementations are obtained from their publishers.
