Trust can be built
TrazaMed
Pharmaceutical Traceability
with Conditional Payments
Every medicine.
A verifiable story.
HashKey Chain · EAG / ETH Cali
01 / What is at stake
The medicine arrives.
The truth may not.
Damage in transit. Three stories. No shared proof.
“When people’s health is at stake, we should not have to take anyone’s word for it.”
02 / From trust to evidence
A witness on every journey.
A payment tied to evidence.
Detect
A device travels with the batch: temperature, impacts and opening signals.
Record
Each reported anomaly enters an immutable blockchain history.
Condition payment
On delivery confirmation, only a batch with no recorded damage releases payment.
03 / Three-layer architecture
From the physical world.
To public evidence.
ESP32 + sensors
DHT11 · temperature
ADXL345 · impacts
PIR · opening signal
Cloudflare Worker
Receives and validates data.
Signs the transaction.
Submits the evidence.
HashKey Chain
Solidity contract.
History + escrow.
Ethereum L2.
04 / The differentiator
Evidence does more than inform.
It determines payment.
The buyer deposits
The contract holds
the payment in escrow.
ON DELIVERY CONFIRMATION
Conditional M2M payment · Conceptually aligned with x402 / MPP; standard integration is on the roadmap.
05 / Security by design
Trust needs
defenses, not promises.
Key off the device
Gateway-side signing.
Secret stored in Cloudflare.
Role-based writes
OpenZeppelin AccessControl.
Authorized actors only.
Payment protection
ReentrancyGuard.
Blocks reentry during release.
Auditable history
No editing or deleting records.
Public on-chain reads.
06 / Built for another journey
The shipment ends.
The device keeps going.
Hundreds of shipments a year as a target, depending on route duration and turnaround.
Reusable asset · Not disposable
07 / Show the evidence
Two batches.
Two verifiable outcomes.
Battery-powered ESP32 → web traceability → public verification
LIVE DEMO SCRIPTThe anomaly leaves a trace.
Attempt release: the contract rejects it.
Integrity gets a response.
One click to start. The wallet confirms.
08 / From prototype to infrastructure
The next chapter:
make trust scale.
Identity & operations
- RFID for each physical batch
- Dynamic shipment assignment
Continuity & rules
- On-device offline buffer
- DAO: labs, distributors and regulators
More supply chains
- Standard x402 / MPP integration
- Food cold chains
09 / Technology with a purpose
A reason
to trust again.
“I’m not trying to fix the entire healthcare system.
I want to give patients a reason to trust again,
and honest businesses a way to prove
they did their job right.”