Testnet Deployment
Nester deploys to Stellar's Soroban testnet for beta testing before mainnet launch.
Network Configuration
bash
# Stellar Testnet
NETWORK=testnet
SOROBAN_RPC_URL=https://soroban-testnet.stellar.org
HORIZON_URL=https://horizon-testnet.stellar.org
NETWORK_PASSPHRASE="Test SDF Network ; September 2015"Deploying Contracts
bash
# 1. Build WASM binaries
cd packages/contracts
soroban contract build
# 2. Deploy VaultFactory
soroban contract deploy \
--wasm target/wasm32-unknown-unknown/release/vault_factory.wasm \
--source alice \
--network testnet
# Output: CONTRACT_ID (e.g., CDLZFC...)
# 3. Initialize VaultFactory
soroban contract invoke \
--id CDLZFC... \
--source alice \
--network testnet \
-- initialize \
--admin alice
# 4. Deploy a vault through the factory
soroban contract invoke \
--id CDLZFC... \
--source alice \
--network testnet \
-- deploy_vault \
--name "Balanced" \
--vault-type balanced \
--asset USDC_TOKEN_IDGetting Testnet Tokens
bash
# Fund account with testnet XLM
curl "https://friendbot.stellar.org?addr=GBXYZ..."
# Mint testnet USDC (using test token contract)
soroban contract invoke \
--id TEST_USDC_CONTRACT \
--source alice \
--network testnet \
-- mint \
--to GBXYZ... \
--amount 10000Explorers
- Stellar Expert:
stellar.expert/explorer/testnet - StellarChain:
stellarchain.io