What it is
A multi-chain token platform running a public sale of $VIIT. It is live on mainnet and
you can read it yourself — the link is above. Buyers pay in USDT, USDC, ETH or BNB, from
a wallet they control, across three chains.
I built the backend. The frontend and the smart contracts were not mine; the contracts were independently audited by QuillAudits and that report is public.
The shape of the problem
Three chains, and one of them is not an EVM chain. Ethereum and BNB Chain differ in ways that are mostly parameters. TRON differs in ways that are not: a different address format, a different fee model, a different transaction structure, and different client libraries. Anything written to abstract over "a chain" has to be honest about the fact that one of them does not fit the abstraction, and the useful design decision is where to stop pretending.
Four payment assets, one allocation ledger. Two of the accepted assets are stablecoins
and two are not, so the amount of $VIIT a payment is worth depends on when the payment
is considered settled. That has to be decided once and applied consistently, or two buyers
who paid the same amount receive different allocations.
A sale is a concurrency problem. There is a finite supply, a public endpoint, and people who would like to be early. The allocation ledger has to be correct when several purchases land in the same instant, including when one of them later fails to confirm.
Notes on scope
TODO(omkar): confirm which of the following were yours — the TRON integration specifically, payment watching, the allocation ledger, and the account layer. The site also advertises an AI-liquidity engine and a node-expansion roadmap; I've written nothing about either, because I don't know which parts exist today.