Skip to content

swarm8 testing

Evan Feenstra edited this page Apr 26, 2023 · 6 revisions

swarm8 is at 34.224.214.213

testing external signer

clone sphinx-rs and make a .env file with:

SEED=56b289899f2871f77260a0ec8f1c2f1006b7ae4a74be4bb472a97945e416b191
NETWORK=bitcoin
BROKER=34.224.214.213:1883
ROCKET_ADDRESS=0.0.0.0
ROCKET_PORT=8008

Then cd vls-mqtt and run the external signer with cargo run

If you change the seed or network, you'll need to clear the signer DB with ./clear.sh

start the swarm

ssh -i sphinx-instances.pem [email protected]

cd sphinx-swarm

To delete everything and start fresh, you can run ./clear_all_danger.sh. This deletes all containers and volumes, and deletes your stack/config.yaml file.

The to restart everything, you can just run ./restart.sh. On a blank swarm, this creates a default stack of external bitcoind + CLN + proxy + relay + second brain images

how to test

You should see MQTT connected in the external signer process. You can tail logs with docker logs cln.sphinx or any of the other images. The dashboard is at app.swarm8.sphinx.chat