Files
sphinx-key/broker
2023-03-11 12:34:39 -08:00
..
2022-05-25 16:16:02 -07:00
2022-09-21 12:39:25 -07:00
2023-02-10 14:22:04 -08:00
2022-09-09 10:18:19 -07:00

build w docker

navigate to top level (sphinx-key)

docker build -f broker/Dockerfile -t sphinx-key-broker .

test locally

To run the broker test against the esp32-c3:

cargo run -- --test

w docker

cid=$(docker create sphinx-key-broker) docker cp $cid:/usr/src/sphinx-key-broker - > local-key-broker docker rm -v $cid

c-lightning

get the version

git describe --tags --long --always --match='v*.*'

and only take the last 8 chars of the last string

or

docker run -it --entrypoint "/bin/bash" sphinx-cln

lightningd --version

build c-lightning

docker build . -t sphinx-cln

docker tag sphinx-cln sphinxlightning/sphinx-cln-vls:0.1.4

docker push sphinxlightning/sphinx-cln-vls:0.1.4

testing

cargo run --bin sphinx-key-tester -- --log

find pid

ps aux | grep -i sphinx-key-broker