Trading in HyperMall

HyperMall’s trading engine is built on smart contracts — but not in the traditional sense. Rather

than running on a blockchain-based VM, these contracts are executed locally by every

HyperMall node. When you install the HyperMall app, you're not just accessing the exchange —

you’re running the infrastructure that powers it.

Each node includes the same trading smart contract, which defines how orders are created,

matched, and settled. These contracts are deterministic, but because nodes operate

independently, they still need to reach consensus to ensure they all arrive at the same result.

That consensus is achieved by processing a shared stream of validated transactions — ordered

and signed by a separate layer called the Main Settlement Bus (MSB).

The MSB doesn’t execute trades. It validates transactions, checks their structure and

compliance with protocol rules, and signs them. Only transactions signed by the MSB are

accepted by HyperMall nodes’ smart contract for execution.

Participation in the MSB is governed by its own smart contract that defines who can operate as

a validator. Only licensed MSB validators — entities granted permission via this contract —

can sign transactions. In return for maintaining the integrity of the system, validators earn 50%

of all trading fees generated by HyperMall.HyperMall clients can choose which validator to send a transaction to. Validators compete

based on uptime and responsiveness — the better they perform, the more likely they are to earn

validation fees.

Once signed, the transaction is sent to all nodes. Each node executes the smart contract, and

the network reaches consensus through deterministic logic, not mining or proof-of-stake.

Last updated