Skip to content

Smart Contract: Define UserProfile and DriverProfile Structs #52

@Tybravo

Description

@Tybravo

🎯 Goal

Define the data structures for Users and Drivers in the identity contract.

📋 Requirements

  • Create UserProfile struct (address, join date)
  • Create DriverProfile struct (address, join date, total deliveries, reputation score)

📂 Target Directory

Contributors should work within this directory:
contracts/identity_reputation_contract

🔗 Architecture & Dependencies

🔧 Technical Scope

  • Rust
  • Soroban SDK

🌿 Fork & Branch

  • Fork the repository
  • Branch: git checkout -b define-identity-structs

✅ Acceptance Criteria

  • All tests must pass successfully
  • Test cases pass on testnet

💬 Example Commit Message

feat: define the data structures for users and drivers in the identity contract.

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave programhighHigh complexitysmart-contractSmart contract implementation

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions