- This program compiles for
mock-routing
by default. Do not attempt to use it with the live network until protection of secret credentials is implemented.
git clone
this repositorycd safe_cli
cargo build
cargo run --bin safe_authenticatord
in one terminal- In a separate terminal:
cargo run --bin safe_cli -- create_acc
- Send a POST request, for example:
curl -X POST http://localhost:41805/authorise/bAAAAAACTBZGGMAAAAAABGAAAAAAAAAAANB2W45DFOIXGYZLTORSXELRUHAXDGOAACYAAAAAAAAAAAR3VNFWGM33SMQQEQ5LOORSXEICMMVZXIZLSCEAAAAAAAAAAATLBNFSFGYLGMUXG4ZLUEBGHIZBOAEBAAAAAAAAAAAAHAAAAAAAAAAAF64DVMJWGSYYFAAAAAAAAAAAAAAAAAAAQAAAAAIAAAAADAAAAABAAAAAAYAAAAAAAAAAAL5YHKYTMNFRU4YLNMVZQKAAAAAAAAAAAAAAAAAABAAAAAAQAAAAAGAAAAACAAAAAAE
- Or, in same terminal run
cargo run --bin safe_cli -- authorise
rustc v1.32.0
See DESIGN doc