Skip to content

john-sharratt/immutable-bank

 
 

Repository files navigation

Immutable Bank

Immutable Bank

What if?

  • What if a bank could run almost entirely within a phone?
  • What if the state was fully immutable and hence can not be destroyed?
  • What if rebuilding the bank from scratch is easier then trying to fix it?

Immutability Superpowers!!!

Getting Started

Running native

rustup update
sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev
cargo run --release

Running web (local)

rustup target add wasm32-unknown-unknown
cargo install --locked trunk
trunk serve

Open http://127.0.0.1:8080/index.html#dev Press ctrl-F5 to refresh

Deploying

trunk build --release
cp -r -f dist /your/target/web/server

About

Simulated example of a bank in a phone

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 94.6%
  • HTML 3.5%
  • Shell 1.2%
  • Other 0.7%