The Merge of FeliCa & Sui: tap your Suica, show your face, pay on-chain. Verified with ZK proofs.
SuiCash turns the transit IC card already in every Japanese wallet into a key for a Sui wallet: tap your Suica, show your face, and pay on-chain.
Tap you Suica card, take your face photo, then you can send money, even on chain.
Japan already runs the electronic cash system based on FeliCa. Over 200 million transit IC cards (Suica and friends) are used every day, yet a few people in Japan have access to cryptocurrency. SuiCash connects them, and promotes the crypto mass adoption in Japan.
The hard part: FeliCa is a proprietary standard built on symmetric-key (DES/3DES) mutual authentication. Blockchains assume public-key signatures and transparency. A Sui contract can't simply "check a Suica card.". So we utilized ZKP, and then we could finally fusion them.
How we bridged it:
What we built What we built during the hackathon: the ZK prover and oracle server, the Move verifier contracts, a registration web app (card number ⇄ IDi, face enrollment, top-up), and a working payment terminal: a face-recognition device with a card reader.
SuiCash can't be done without a spirit of reverse engineering.
Hardware: we recently bought a health insurance reception terminal device. It incorporates a my number card reader, front facing camera , touch screen, and Android system with much vulnerabilities. While we research these vulnerabilities, we found the potential of interesting use case of FeliCa. We finally made Android app thanks to these vulnerabilities.
FeliCa: FeliCa is actually a proprietary protocol. But KIRISHIKI Yudai's publication changed the situation. Protocols and cipher have been disclosed and developers can easily make softwares with felica. When we read his publications, we noticed that its authentication mechanism can be expressed with zkp constraints. Then we finally done it.
ZKP Oracle: felica uses symmetric key cryptography, and it is inevitable to hold secrets. Oracle acts the role. It takes responsibilities to the secrets and makes zkp. Using arkworks, we implemented DES and 3DES as an R1CS circuit (~149k constraints) on BN254 Groth16. The circuit re-derives the FeliCa key schedule and checks the whole authentication transcript (3DES, MAC, transaction ID) inside the proof.
Sui: Sui is a blockchain featuring high throughput. It matches the felica's characteristics. We implemented a groth16 verifier, and felica card bound wallet. So user can top up targeting to the card, on card can consume the balance on chain.

