Skip to content
Open
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
17 changes: 17 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,20 @@ LOG_LEVEL=debug
CORS_ORIGIN=http://localhost:3000
RATE_LIMIT_WINDOW_MS=900000
RATE_LIMIT_MAX_REQUESTS=100

# ─── Stellar / Soroban ─────────────────────────────────────────────────────────
# Soroban RPC endpoint.
# Testnet : https://soroban-testnet.stellar.org
# Mainnet : https://soroban-mainnet.stellar.org (or a custom Horizon/RPC node)
SOROBAN_RPC_URL=https://soroban-testnet.stellar.org

# Network passphrase — must match SOROBAN_RPC_URL.
# Testnet : Test SDF Network ; September 2015
# Mainnet : Public Global Stellar Network ; September 2015
STELLAR_NETWORK_PASSPHRASE=Test SDF Network ; September 2015

# Friendly alias used in logs/responses ("mainnet" | "testnet" | "futurenet")
STELLAR_NETWORK=testnet

# Request timeout (ms) for Soroban RPC calls. Default: 10000
SOROBAN_RPC_TIMEOUT_MS=10000
3 changes: 3 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ module.exports = {
transform: {
...tsJestTransformCfg,
},
// Allow enough time for MongoMemoryServer to start (and download the binary
// on first run in a fresh environment).
testTimeout: 30000,
};
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"test": "jest"
},
"dependencies": {
"@stellar/stellar-sdk": "13.1.0",
"bcryptjs": "2.4.3",
"compression": "1.7.4",
"cors": "2.8.5",
Expand All @@ -25,6 +26,7 @@
"http-status-codes": "2.3.0",
"jsonwebtoken": "9.0.2",
"mongoose": "7.6.3",
"socket.io": "4.7.2",
"uuid": "9.0.1",
"winston": "3.11.0"
},
Expand All @@ -37,6 +39,7 @@
"@types/jsonwebtoken": "9.0.5",
"@types/mongoose": "5.11.97",
"@types/node": "20.10.0",
"@types/socket.io": "3.0.2",
"@types/supertest": "^7.2.0",
"@typescript-eslint/eslint-plugin": "6.13.2",
"@typescript-eslint/parser": "6.13.2",
Expand Down
Loading