Skip to content

hunterlester/safe_cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages