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
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.passphrase(&self) -> &strmethod on theNetworkenum 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