Skip to content

Implement Network::passphrase() returning the official Stellar strings. #94

@Emrys02

Description

@Emrys02

Transaction signatures require the correct network passphrase to validate the hash. Providing the wrong passphrase results in rejected transactions.

Implementation Guidelines

Key Files: crates/core/src/network/config.rs.

  • Implement a passphrase(&self) -> &str method on the Network enum that returns the correct static string for each environment (e.g., "Public Global Stellar Network ; September 2015").

Expectations

What done looks like: Any component can retrieve the perfectly matched network passphrase for signature generation.

For any question, reach me on Discord: emry_ss

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programhelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions