A visitor can read this folder without an account. Nothing here is a real tube, a real person, or a registered name. The addresses fail checksum validation on purpose, so they are not Tezos accounts. Names such as reception.pilot.example.tez are labels only.
Checked on 19 October 2026: Tezos Domains documents mainnet contracts for .tez. teztnets.com does not list a Shadownet name registrar. These names are not registered and do not resolve. The readable name is the label in wallet-registry.json.
Three synthetic blood tubes arrive at reception. They are aliquoted. Most daughter tubes go to a −80 °C freezer, and one of those is later moved onto a rack in that freezer. One aliquot goes to RNA isolation. The extract is a new tube, stored in the same freezer. One stored aliquot is then retrieved for an external user: an access request, an approval, a pick from the freezer, a shipment, and a receipt. The recipient uses part of the volume and attaches a result.
flowchart LR
reception["SYN-PILOT-RECEPTION<br/>INTAKE"]
aliquot["SYN-PILOT-ALIQ<br/>PROCESS"]
rna["SYN-PILOT-RNA<br/>PROCESS"]
freezer["SYN-PILOT-LT80<br/>STORAGE"]
rack["SYN-PILOT-LT80-R1<br/>STORAGE rack"]
retrieval["SYN-PILOT-RETRIEVAL<br/>PROCESS"]
courier["SYN-PILOT-COURIER<br/>TRANSIT"]
guest["SYN-PILOT-EXT<br/>EXTERNAL_USER"]
reception -->|to_process| aliquot
aliquot -->|aliquot, mint children| freezer
aliquot -->|one aliquot| rna
rna -->|RNA extract, mint| freezer
freezer -->|moved| rack
freezer -->|retrieval| retrieval
retrieval -->|shipped, approved| courier
courier -->|received| guest
Positive balances at the end of scenario.events.jsonl:
| Tube | What it is | µL | Wallet |
|---|---|---|---|
SY00000211 |
aliquot of SY00000201 |
1000 | SYN-PILOT-LT80 |
SY00000222 |
aliquot of SY00000202 |
1500 | SYN-PILOT-LT80 |
SY00000231 |
aliquot of SY00000203 |
2000 | SYN-PILOT-LT80-R1 |
SY00000241 |
RNA extract of SY00000212 |
80 | SYN-PILOT-LT80 |
SY00000221 |
aliquot sent to the guest | 600 | SYN-PILOT-EXT |
Parents SY00000201, SY00000202, SY00000203 and SY00000212 stay at 0 µL. They are not deleted.
Dataset links, all on example.org or the example DOI prefix 10.5555:
| Step | Tube the event names | Link |
|---|---|---|
| Reception QC | SY00000201 |
https://example.org/synthetic/pilot/qc/SY00000201 |
| Aliquot volume check | SY00000201 |
https://example.org/synthetic/pilot/volume/SY00000201 |
| RNA RIN | SY00000212 (the parent; the extract is SY00000241) |
https://example.org/synthetic/pilot/rin/SY00000241 |
| Freezer temperature log | SY00000211 |
https://example.org/synthetic/pilot/temperature/SY00000211 |
| External-use result | SY00000221 |
https://example.org/doi/10.5555/example.synthetic.pilot-use |
The contract view lineage_has walks parent_id, so the RNA extract shows the RIN recorded on its parent. The files themselves are not in this repository.
| FAIR | Where it shows up |
|---|---|
| Findable | Each tube has a code (SY000002xx) and a metadata URI on the token. Dataset URIs are attached to the step that produced them. |
| Accessible | The access procedure is the pair access_requested / access_approved in the feed. Approval is what allows the retrieval wallet to ship. The agreement id mta-syn-pilot-001 is opaque. The document stays off-chain. |
| Interoperable | Wallet temperature uses the MIABIS-SAMPLE-03 string -60 °C to -85 °C. The request carries the DUO code GRU as a string. A LIMS adapter can project the tube to FHIR Specimen. Those mappings are described in Wallet types. This demo does not claim a full MIABIS or FHIR document. |
| Reusable | The agreement reference, the reason codes, and the parent links are the provenance. A later result URI can point at a dataset or a paper. The example DOI is not a real publication. |
From bridge/, with the package on PYTHONPATH:
PYTHONPATH=src python3 -m bioid_bridge replay \
--registry ../pilot/wallet-registry.json \
--mapping ../pilot/lims-mapping.json \
--events ../pilot/scenario.events.jsonl \
--db :memory:The mock ledger applies the feed. It does not contact a network.
The feed above has been replayed on the Tezos Shadownet testnet (chain id NetXsqzbfFenSTS, RPC https://rpc.shadownet.teztnets.com). Nothing here touches mainnet. The addresses are throwaway testnet accounts and the tubes are still synthetic. Everything the replay wrote is in deployments/shadownet.json: the contract, every wallet address with its label, and one operation hash per event.
Contract: KT1HpDatoa5tHDctAQDY7wQgVEnrWJ9S3vix (origination onssPPtP…).
A later Shadownet custody prototype, originated from the same contract source for the Android ship/receive path, is recorded in deployments/shadownet-custody.json as KT1B2i1w9CjbcUHrGJSPqYRmFiLJa8pXneJ5. It also holds only synthetic tubes. It does not replace this public demo.
| Label | Type | Shadownet address | Label only, not a registered name |
|---|---|---|---|
SYN-PILOT-RECEPTION |
INTAKE | tz1P2Gdj…PAxM |
reception.pilot.example.tez |
SYN-PILOT-ALIQ |
PROCESS aliquoted |
tz1PUjA2…8TrQ |
aliquot.pilot.example.tez |
SYN-PILOT-RNA |
PROCESS rna_isolation |
tz1X8iBM…uhZmt |
rna.pilot.example.tez |
SYN-PILOT-RETRIEVAL |
PROCESS retrieval |
tz1Q34XA…YZKu |
retrieval.pilot.example.tez |
SYN-PILOT-LT80 |
STORAGE freezer | tz1agcNQ…ftuP |
lt80.pilot.example.tez |
SYN-PILOT-LT80-R1 |
STORAGE rack in SYN-PILOT-LT80 |
tz1LUbET…k7LtQ |
lt80-r1.pilot.example.tez |
SYN-PILOT-COURIER |
TRANSIT | tz1aDbc6…BEjM |
courier.pilot.example.tez |
SYN-PILOT-EXT |
EXTERNAL_USER | tz1btjx8…as95E |
guest.pilot.example.tez |
Custodians sign; holding wallets never do. syn-pilot-lab is tz1Wnwhd…6cyT, syn-pilot-courier is tz1WE11R…XTVt, syn-pilot-guest is tz1SmhAo…yzjr. The admin that registered the wallets is tz1hFmJ2…GYsch.
Operations worth opening:
| Step | Event | Operation |
|---|---|---|
Reception mint SY00000201 |
pilot-001 |
ooMioaer… |
| Reception QC attached | pilot-004 |
oojnGmZX… |
Aliquoting transform SY00000201 → SY00000211, SY00000212 |
pilot-008 |
oouq1kc6… |
| Stored in −80 °C with temperature log | pilot-011 |
opLWebH1… |
RNA isolation SY00000212 → SY00000241 with RIN |
pilot-016 |
ooyJicED… |
| Freezer → rack | pilot-017 |
ooPYG8zR… |
| Access request / approval | pilot-018 / pilot-019 |
oo9Pe11f… / onktbjzN… |
| Retrieval from freezer | pilot-020 |
oo9eDJmY… |
| Ship via courier (TRANSIT) | pilot-021 |
oo3xn4Ag… |
| Received by external user | pilot-022 |
oo5GFVh3… |
report_use consumed 400 µL |
pilot-023 |
ooy57ERY… |
| External-use result attached | pilot-024 |
opKbfrWm… |
The on-chain end state matches the balance table above: token ids 0–2 (SY00000201–203) and 4 (SY00000212) are at 0 µL; 3 SY00000211 1000 µL, 6 SY00000222 1500 µL and 8 SY00000241 80 µL sit in SYN-PILOT-LT80; 7 SY00000231 2000 µL is in SYN-PILOT-LT80-R1; 5 SY00000221 600 µL is with SYN-PILOT-EXT.
- Open the contract page. Storage shows
wallet_registry(the labels above),code_index(tube code → token id) andtokens(balance in µL, holding wallet,parent_id, status). - Open an operation and read its events:
MINT,MOVE,SHIP,RECEIVE,TRANSFORM,CONSUME,DATA_ATTACHED,ACCESS_REQUEST,ACCESS_APPROVED. - Standard FA2
transferis disabled and fails withBIOID_TRANSFER_DISABLED. Custody moves are the tagged operations above.
run_shadownet.py maps each feed event to a contract call and signs it with octez-client. It refuses mainnet, refuses a non-Shadownet RPC, checks the chain id, refuses a key directory inside the repository, and only injects when BIOID_LIVE_SHADOWNET=1 is set. Without it, it prints the calls (dry run).
export TEZOS_NETWORK=shadownet
export TEZOS_RPC_URL=https://rpc.shadownet.teztnets.com
export TEZOS_CLIENT_DIR=/somewhere/outside/the/repo # octez-client keys for the admin and custodians
python3 pilot/run_shadownet.py register # dry run
BIOID_LIVE_SHADOWNET=1 python3 pilot/run_shadownet.py register
BIOID_LIVE_SHADOWNET=1 python3 pilot/run_shadownet.py replayTo start over, originate a fresh contract (see contracts/README.md), generate your own testnet keys, and put your addresses in a copy of deployments/shadownet.json. The tube codes are unique per contract, so the same feed cannot be replayed twice on one KT1.
The placeholder addresses in wallet-registry.json still fail checksum on purpose. The real testnet addresses live only in deployments/shadownet.json.