Skip to content

eigenwallet/dfx-swiss-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DFX Swiss SDK

A Rust SDK for the DFX Swiss API with Monero wallet integration.

Project Structure

dfx-swiss-sdk-raw

  • Generated OpenAPI client for the DFX Swiss API
  • Direct 1:1 mapping to the DFX API specification

dfx-swiss-sdk

  • Higher-level wrapper around dfx-swiss-sdk-raw
  • Integrates with monero-sys for message signing
  • Handles JWT token management

Authentication Flow

  1. Create DfxClient with Monero wallet address and tokio channel
  2. Client requests sign message from DFX API
  3. Message sent through tokio channel to signing service
  4. Monero wallet signs the message
  5. Signature sent back through channel
  6. Client authenticates with DFX API using signed message
  7. JWT token stored for subsequent API calls

About

A Rust SDK for the DFX.swiss API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published