Rust code for PetChain's on-chain contracts and backend authentication work.
PetChain-Contracts/
├── stellar-contracts/ # Soroban smart contract crate
│ ├── src/lib.rs # Main contract
│ ├── src/test_*.rs # Test modules
│ └── contracts/
│ └── pet-transfer-adoption/
├── backend-2fa/ # TOTP 2FA support crate
│ ├── src/
│ ├── migrations/
│ ├── schema.sql
│ ├── README.md
│ └── examples/
│ └── example_integration.rs
└── docs/
├── architecture.md
├── development.md
├── api.md
├── openapi.yaml
└── error-codes.md
cd stellar-contracts
cargo testcd backend-2fa
cargo testMIT