Skip to content

Commit

Permalink
bitcoin-signet/blocknotify:default ADDRESS or $1
Browse files Browse the repository at this point in the history
  • Loading branch information
RandyMcMillan committed Jun 17, 2024
1 parent 356ead7 commit 15d50a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bitcoin-signet/blocknotify
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/bash
#This file is executed when a new block is recieved
#It can be used to automate things in the container
ADDRESS=${1:-tb1p2l76fzwaaatk7w567kpkftt5qg9lmvn3uv65c5can63a0z2jqmkqvzlhw7}
echo $ADDRESS
PLAY_BITCOIN_ID=$(play-bitcoin id);
export PLAY_BITCOIN_ID
while [ ! -z "$PLAY_BITCOIN_ID" ]; do
Expand Down

0 comments on commit 15d50a2

Please sign in to comment.