This repo contains highly experimental code. Expect rapid iteration.
This backend application handles user signup (ie. badge creation) for GitHub users.
Rust installed.
All these environment variable must be set with appropriate values:
GITHUB_ID
The GitHub OAuth App client IDGITHUB_SECRET
The GitHub OAuth App client secretSTARKNET_ACCOUNT
Badge-Registry's owner account contract addressSTARKNET_PRIVATE_KEY
Badge-Registry's owner private keySTARKNET_BADGE_REGISTRY_ADDRESS
Badge-Registry contract addressSTARKNET_CHAIN
Either MAINNET or TESTNET
Optional:
ROCKET_LOG_LEVEL
Max level to log. (off/normal/debug/critical). Default for release: critical.
cargo run
cargo build --release
./target/release/od-badge-signup
cargo test