Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 70 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# Soroban Network Configuration - Environment Variables
#
# Copy this file to .env and fill in your values for local development.
# IMPORTANT: Never commit .env with real values to version control.
#
# For more information, see SOROBAN.md

# ============================================================
# NETWORK SELECTION
# ============================================================
# Which network profile to use from soroban.toml
# Valid values: testnet, mainnet, sandbox
# If not set, defaults to testnet
SOROBAN_NETWORK=testnet

# ============================================================
# RPC ENDPOINT (Optional - overrides soroban.toml)
# ============================================================
# Custom RPC URL for the selected network
# If not set, uses the URL defined in soroban.toml for the profile
# Examples:
# Testnet: https://soroban-testnet.stellar.org
# Mainnet: https://mainnet.sorobanrpc.com
# Sandbox: http://localhost:8000
SOROBAN_RPC_URL=

# ============================================================
# NETWORK PASSPHRASE (Optional - overrides soroban.toml)
# ============================================================
# Network identifier used for transaction signing
# Must match the network you're connecting to
# Examples:
# Testnet: Test SDF Network ; September 2015
# Mainnet: Public Global Stellar Network ; September 2015
# Sandbox: Standalone Network ; February 2017
SOROBAN_NETWORK_PASSPHRASE=

# ============================================================
# CONTRACT CONFIGURATION
# ============================================================
# Contract ID on the selected network
# Format: C + 56 characters (base32 encoded)
# Example: CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABSC4
# This is obtained after deploying the contract
SOROBAN_CONTRACT_ID=

# ============================================================
# ACCOUNT CONFIGURATION
# ============================================================
# Account address for transactions (public key)
# Format: G + 56 characters (base32 encoded)
# Example: GBRPYHIL2CI3WHZDTOOQFC6EB4KCYFFWXHEUNUME34PJF7RDOFB6HXY
SOROBAN_ACCOUNT=

# ============================================================
# OPTIONAL: ADVANCED CONFIGURATION
# ============================================================
# Signing key (NEVER commit this to version control!)
# Format: S + 56 characters (base32 encoded)
# Example: SBKGIY64UHZB3OZXAGOIHJ7NDATQZ3NRDJSOFYJOGZTV3UQRN635CGG
# Generate a new key: soroban config identity generate
# SOROBAN_SIGNING_KEY=

# Timeout for RPC requests in milliseconds
# Default: 30000 (30 seconds)
SOROBAN_RPC_TIMEOUT_MS=30000

# Enable verbose logging for debugging
# Default: false
SOROBAN_DEBUG=false
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Rust
/target/
**/*.rs.bk
Cargo.lock

# IDE
.vscode/
Expand Down
Loading