Erst supports debugging transactions on private Stellar networks, local development environments, and custom network configurations. This is essential for enterprises running private constellations or developers testing on local networks.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/dotandev/hintents/llms.txt
Use this file to discover all available pages before exploring further.
Features
- Connect to private/local Stellar networks
- Secure storage of network configurations with encrypted passphrases
- Support for custom Horizon and Soroban RPC endpoints
- Manage multiple custom network profiles
- File permissions set to
0600for security
Quick start
One-time custom network usage
Debug a transaction on a custom network without saving the configuration:Save a network profile
Save a custom network configuration for repeated use:Managing custom networks
List all networks
Show network details
Remove a network
Configuration file
Custom networks are stored in~/.erst/networks.json with restricted permissions (0600):
~/.erst/networks.json
Common use cases
Local Soroban development
Set up Erst for local Soroban contract development:The standard standalone network passphrase is
Standalone Network ; February 2017.Enterprise private network
Configure Erst for your company’s private Stellar constellation:Staging environment
Set up a staging network for pre-production testing:Complete workflow example
Here’s a complete workflow for local contract development:Security
Network passphrase protection
Erst implements several security measures for protecting sensitive network information:- Network passphrases are stored in
~/.erst/networks.json - File permissions are automatically set to
0600(owner read/write only) - Config directory permissions are set to
0700(owner access only) - Sensitive data is never logged or displayed in error messages
Best practices
Version control
Version control
Never commit
~/.erst/networks.json to version control.Add to .gitignore:CI/CD environments
CI/CD environments
Use environment variables for CI/CD environments:
Production networks
Production networks
Rotate passphrases regularly for production networks and restrict access to the
.erst directory on shared systems.Programmatic usage
You can also manage custom networks programmatically using the Go API:Create a custom network client
Save and load networks
Troubleshooting
Connection issues
Test your custom network connectivity:Network unreachable
Network unreachable
Ensure your network is running and accessible:
Permission errors
Permission errors
Fix config file permissions:
Invalid passphrase
Invalid passphrase
Ensure your network passphrase matches exactly.Standard passphrases:
- Mainnet:
Public Global Stellar Network ; September 2015 - Testnet:
Test SDF Network ; September 2015 - Local: Check your network configuration
Standard network passphrases
For reference, here are the standard Stellar network passphrases:Environment variable reference
Configure custom networks using environment variables:Horizon API endpoint URL.
Network passphrase for transaction signing.
Soroban RPC endpoint URL.
Future enhancements
Planned improvements for custom network support:- Support for network passphrase encryption
- Auto-detect local Stellar network
- Network health checks before debugging
- Import/export network configurations
- Support for multiple Horizon endpoints (load balancing)
Next steps
Configuration overview
Learn about all configuration methods
Environment variables
Configure using environment variables