Files
bridge/scripts/stop-mpc-network.sh
T
zeekay 28c1d082f2 refactor: migrate MPC from Docker service to native Go integration
- Remove app/mpc-service in favor of direct github.com/luxfi/mpc usage
- Add infrastructure services: Lux ID (auth), KMS (Vault), NATS, Consul
- Implement 3-node MPC network with native Go binaries
- Add comprehensive documentation for new architecture
- Update development workflow to use native tools instead of Docker
- Update CI/CD workflows for new MPC architecture
- Add .gitignore entries for MPC data and logs

This refactoring improves performance, simplifies deployment, and provides
better integration with the Lux ecosystem through unified authentication
and secure key management.
2025-08-03 21:41:49 -05:00

26 lines
587 B
Bash
Executable File

#!/bin/bash
echo "==================================="
echo "Stopping Lux MPC Network"
echo "==================================="
echo ""
# Kill all lux-mpc processes
echo "Stopping MPC nodes..."
pkill -f "lux-mpc start" || true
# Give processes time to shut down gracefully
sleep 2
# Force kill if still running
pkill -9 -f "lux-mpc start" 2>/dev/null || true
echo "✅ MPC nodes stopped"
echo ""
# Optional: Clean up data (commented out by default)
# echo "Cleaning up data directories..."
# rm -rf ./data/mpc/*
# echo "✅ Data cleaned"
echo "MPC network stopped successfully!"