This is a very simple and lightweight API for uploading and downloading offer files with short codes. It uses a BLS public key to authenticate upload requests, and there is no frontend at this time.
- Install Rust and MySQL (or MariaDB)
- Copy
example.env
to.env
and fill in the appropriate values - Run
cargo run
to start the API - You can use
index.js
as an example for how to connect to it as a client to sign and submit an upload request, and then later download the offer by its short code