Project · Bank money on-chain

Scriptura

A simulation of a banking system on a test blockchain: a central bank, two commercial banks, and payments between their clients.

I started it during my internship at the Banque de France, as a personal project built from public sources, to learn Ethereum development and how money really works.

  • Solidity
  • TypeScript
  • React
  • Node.js

The demo runs on free hosting: after a quiet period, it takes about a minute to wake up.

A payment between two banks in ScripturaAlice, a client of Bank A, pays 100 to Bob, a client of Bank B. In a single transaction, Alice’s deposit at Bank A goes down by 100, Bank A sends 100 of central bank money to Bank B, and Bob’s deposit at Bank B goes up by 100. Either all three steps happen, or none does.Aliceclient of Bank Asignspays Bob 100Bobclient of Bank BpaidBank AAlice’s deposit− 100central bankmoney · 100Bank BBob’s deposit+ 100one transaction: all three steps, or noneA payment between two banks in ScripturaAlice, a client of Bank A, pays 100 to Bob, a client of Bank B. In a single transaction, Alice’s deposit at Bank A goes down by 100, Bank A sends 100 of central bank money to Bank B, and Bob’s deposit at Bank B goes up by 100. Either all three steps happen, or none does.Aliceclient of Bank AsignsBank AAlice’s deposit− 100central bankmoney · 100Bank BBob’s deposit+ 100one transaction: all or nothingBobclient of Bank Bpaid