Skip to content
Closed
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
7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,13 @@ packages/*/docs
.yarn

# typescript
packages/*/*.tsbuildinfo
**/*.tsbuildinfo

# LLM
.llm.txt
.llm-packages.txt
.llm-apps.txt
.todo.md
.todo.md

# Temp working documents
temp/
20 changes: 20 additions & 0 deletions apps/load-tests/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Load Test Runner Configuration
# ================================

# Target relay server URL (required for running tests)
# RELAY_URL=ws://localhost:8000/connection/websocket
# RELAY_URL=wss://mm-sdk-relay.api.cx.metamask.io/connection/websocket

# DigitalOcean Infrastructure Configuration
# ==========================================

# DigitalOcean API token (required for infra commands)
# Get this from: https://cloud.digitalocean.com/account/api/tokens
DIGITALOCEAN_TOKEN=

# SSH key fingerprint registered with DigitalOcean (required for infra commands)
# Find this in: https://cloud.digitalocean.com/account/security
SSH_KEY_FINGERPRINT=

# Path to SSH private key (optional, defaults to ~/.ssh/id_rsa)
# SSH_PRIVATE_KEY_PATH=~/.ssh/id_rsa
6 changes: 6 additions & 0 deletions apps/load-tests/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Environment files (except example)
.env
.env.local

# Results (created programmatically, no .gitkeep needed)
results/
28 changes: 28 additions & 0 deletions apps/load-tests/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "@metamask/mobile-wallet-protocol-load-tests",
"private": true,
"version": "0.0.1",
"type": "module",
"scripts": {
"start": "tsx src/cli/run.ts",
"infra": "tsx src/cli/infra.ts",
"results": "tsx src/cli/results.ts"
},
"dependencies": {
"centrifuge": "^5.3.5",
"chalk": "^5.6.2",
"cli-progress": "^3.12.0",
"commander": "^13.1.0",
"dotenv": "^16.5.0",
"ssh2": "^1.16.0",
"tsx": "^4.20.3",
"ws": "^8.18.3"
},
"devDependencies": {
"@types/cli-progress": "^3.11.6",
"@types/node": "^24.0.3",
"@types/ssh2": "^1.15.4",
"@types/ws": "^8.18.1",
"typescript": "^5.8.3"
}
}
Loading