Skip to content

Commit

Permalink
Merge pull request #490 from Kodylow/add-ldk
Browse files Browse the repository at this point in the history
feat: add ldk gateway in mprocs
  • Loading branch information
tvolk131 authored Aug 13, 2024
2 parents 000e6bb + 1c81173 commit 3f154ac
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
2 changes: 2 additions & 0 deletions mprocs-nix-gateway.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ procs:
shell: tail -n +0 -F $FM_LOGS_DIR/fedimintd-default-2.log
fedimint3:
shell: tail -n +0 -F $FM_LOGS_DIR/fedimintd-default-3.log
ldk-gw:
shell: tail -n +0 -F $FM_LOGS_DIR/gatewayd-ldk.log
cln-gw:
shell: tail -n +0 -F $FM_LOGS_DIR/gatewayd-cln.log
lnd-gw:
Expand Down
7 changes: 0 additions & 7 deletions mprocs-nix-guardian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,3 @@ procs:
PORT: '3003'
REACT_APP_FM_CONFIG_API: ws://127.0.0.1:18144
BROWSER: none
gateway-ui:
shell: bash --init-file scripts/mprocs-nix-gateway.sh
stop: SIGKILL
env:
PORT: '3004'
REACT_APP_FM_GATEWAY_PASSWORD: 'thereisnosecondbest'
BROWSER: none
5 changes: 3 additions & 2 deletions scripts/mprocs-user-shell.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ eval "$(devimint env)"
echo Waiting for devimint to start up fedimint

STATUS="$(devimint wait)"
if [ "$STATUS" = "ERROR" ]
then
if [ "$STATUS" = "ERROR" ]; then
echo "fedimint didn't start correctly"
echo "See other panes for errors"
exit 1
Expand All @@ -18,6 +17,7 @@ alias bitcoin-cli="\$FM_BTC_CLIENT"
alias fedimint-cli="\$FM_MINT_CLIENT"
alias gateway-cln="\$FM_GWCLI_CLN"
alias gateway-lnd="\$FM_GWCLI_LND"
alias gateway-ldk="\$FM_GWCLI_LDK"

eval "$(fedimint-cli completion bash)" || true
eval "$(gateway-cli completion bash)" || true
Expand All @@ -32,6 +32,7 @@ echo " lncli - cli client for LND"
echo " bitcoin-cli - cli client for bitcoind"
echo " gateway-cln - cli client for the CLN gateway"
echo " gateway-lnd - cli client for the LND gateway"
echo " gateway-ldk - cli client for the LDK gateway"
echo
echo "Use '--help' on each command for more information"
echo ""
Expand Down

0 comments on commit 3f154ac

Please sign in to comment.