Gold Bazar: Cross-Platform Gold Laboratory Suite
Modernizing the gold testing industry by untethering jewelers from legacy desktop systems with a unified, lab-grade Mobile + Desktop ecosystem.
Engineering a lab-grade physics workflow (Archimedes’ Principle / specific gravity) and localized weight math (Ratti/Masha/Tola) with edge-case borrowing, while keeping the UI fast and reliable across mobile + desktop devices.
The gold testing market is trapped in offline, decade-old desktop software that forces lab work to stay behind a single counter. Gold Bazar replaces that friction with a mobile-first revolution: a React Native lab console paired with an Electron desktop terminal—kept in sync.
type Units = { tola: number; masha: number; ratti: number };
const RATTI_PER_MASHA = 8;
const MASHA_PER_TOLA = 12;
export function normalizeUnits(u: Units): Units {
// Borrowing logic: if impurity/kaat subtraction makes a unit negative,
// borrow from the next higher unit and re-normalize.
let tola = u.tola;
let masha = u.masha;
let ratti = u.ratti;
while (ratti < 0) {
masha -= 1;
ratti += RATTI_PER_MASHA;
}
while (masha < 0) {
tola -= 1;
masha += MASHA_PER_TOLA;
}
// carry forward if values exceed their base
if (ratti >= RATTI_PER_MASHA) {
masha += Math.floor(ratti / RATTI_PER_MASHA);
ratti = ratti % RATTI_PER_MASHA;
}
if (masha >= MASHA_PER_TOLA) {
tola += Math.floor(masha / MASHA_PER_TOLA);
masha = masha % MASHA_PER_TOLA;
}
return { tola, masha, ratti };
}A cross-platform laboratory suite: a React Native lab console for on-bench testing, an Electron terminal for high-throughput workflows, and shared domain logic for specific gravity algorithms, localized unit conversion, and market intelligence.
Designed a shared domain layer so physics calculations, localized conversion rules, and price/ticker logic run consistently across React Native and Electron—without rewriting core math or compromising accuracy.
Delivered a cross-platform Gold Laboratory OS that enables lab-grade accuracy, live arbitrage data visibility, and zero-manual-error calculation—replacing fragile manual workflows and outdated software.
- Live ticker caching strategy to keep pricing responsive under unstable connectivity
- Optimized UI render paths for high-frequency lab workflows