Created
March 3, 2022 16:41
-
-
Save dsbaars/fe3348ad6742695d74b4bd758140a094 to your computer and use it in GitHub Desktop.
keysend multiple nodes example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| input="keysends.txt" | |
| while read -r line | |
| do | |
| # Make sure you change -a to the amount of sats you want to send, this script you run LND in a docker container called lnd | |
| docker exec lnd lncli sendpayment --keysend --dest $line -a 1 | |
| done < "$input" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 0380b3dbdf090cacee19eb4dc7a82630bd3de8b12608dd7bee971fb3cd2a5ae2fc | |
| 0380b3dbdf090cacee19eb4dc7a82630bd3de8b12608dd7bee971fb3cd2a5ae2fc | |
| 0380b3dbdf090cacee19eb4dc7a82630bd3de8b12608dd7bee971fb3cd2a5ae2fc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment