Skip to content

Implement Address::from_string with checksum validation #90

Description

@Emrys02

Instantiating an address from raw user input requires immediate validation to catch typos or corrupted checksums before interacting with the RPC.

Implementation Guidelines

Key Files: crates/core/src/types/.

  • Add from_string to the Address implementation using stellar_strkey::Strkey::from_string.
  • Return a PrismError if the parsing fails.

Expectations

What done looks like: The system refuses to instantiate Address if the underlying strkey validation fails.

For any question, reach me on Discord: emry_ss

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

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