🚀 💰 - Web2 digital cash example for PBA smart contracts module
To start the server locally:
cd rc-server
cargo run
Server will be running locally at: http://127.0.0.1:8000
- Rocket - Rust web framework
- rocket_auth - Authentication crate for rocket
- Diesel - ORM and Query builder for Rust
- Tera - template engine for Rust
- Bulma - CSS framework
rc-server/migrations
- SQL migration files for Dieselrc-server/static/templates
- Tera templates for pagesrc-server/src/main.rs
- URL route handlersrc-server/src/balance.rs
andrc-server/src/transfer.rs
- ORM/DM Queries
- Nth caller game - like when a radio station says, the 10th caller wins free tickets. Interactions could be hosting a new game, and calling in.
- Lottery - people can purchase tickets and then winner(s) is selected at random to receive the pot from ticket purchases.
- Microblogging - very stripped down version of twitter. Interactions could be posting an update and tipping someone when you like their update.
- A sports book - interactions are offering a bet, accepting a bet, and judging an outcome (reporting who really won the sports ball game).
Licensed under the terms of the GPL-3 or later.