Skip to content

Implement Address wrapper around strkey for safe handling of Contract IDs #89

@Emrys02

Description

@Emrys02

Raw contract strings (C...) and account IDs (G...) are easy to mishandle. A strong Address wrapper prevents invalid identifiers from entering the application's core logic.

Implementation Guidelines

Key Files: crates/core/src/types/ (create or update relevant type files).

  • Define an Address struct wrapping stellar-strkey::Contract and stellar-strkey::PublicKey.

Expectations

What done looks like: An Address struct that strictly represents a validated Stellar or Soroban address.

For any question, reach me on Discord: emry_ss

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions