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
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/.from_stringto theAddressimplementation usingstellar_strkey::Strkey::from_string.PrismErrorif the parsing fails.Expectations
What done looks like: The system refuses to instantiate
Addressif the underlying strkey validation fails.For any question, reach me on Discord: emry_ss