Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 1016 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 1016 Bytes

SAFE Authenticator Service

Notes:

  • 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.
Getting started
  • git clone this repository
  • cd 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
Development dependencies
  • rustc v1.32.0

See DESIGN doc