-
Notifications
You must be signed in to change notification settings - Fork 5
/
.bash_aliases
62 lines (48 loc) · 3.03 KB
/
.bash_aliases
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
##### Bitcoin #####
alias btc-cli='bitcoin-cli -datadir=.bitcoin'
##### C-Lightning #####
# Set the path to the lightningd and lightning-cli binaries:
CLIGHTNING_BIN=/usr/local/bin/lightningd
CLIGHTNING_CLI=/usr/local/bin/lightning-cli
alias alice-clightning='$CLIGHTNING_BIN --lightning-dir=.lightning/alice'
alias alice-clightning-cli='$CLIGHTNING_CLI --lightning-dir=.lightning/alice'
alias bob-clightning='$CLIGHTNING_BIN --lightning-dir=.lightning/bob'
alias bob-clightning-cli='$CLIGHTNING_CLI --lightning-dir=.lightning/bob'
alias carol-clightning='$CLIGHTNING_BIN --lightning-dir=.lightning/carol'
alias carol-clightning-cli='$CLIGHTNING_CLI --lightning-dir=.lightning/carol'
alias dave-clightning='$CLIGHTNING_BIN --lightning-dir=.lightning/dave'
alias dave-clightning-cli='$CLIGHTNING_CLI --lightning-dir=.lightning/dave'
##### Eclair #####
# Set the path to the eclair-node release to use:
ECLAIR=$HOME/Downloads/eclair-node-x.x.x-xxxxxxx/bin/eclair-node.sh
# Set the path to the eclair-cli file (see https://github.com/ACINQ/eclair/wiki/Usage):
ECLAIR_CLI=$HOME/Downloads/eclair-node-x.x.x-xxxxxxx/bin/eclair-cli
# Set the path to the eclair logging configuration to use (default one provided in .eclair):
ECLAIR_LOG_CONF=.eclair/logback.xml
alias alice-eclair='$ECLAIR -Dlogback.configurationFile=$ECLAIR_LOG_CONF -Declair.datadir=.eclair/alice'
alias alice-eclair-cli='$ECLAIR_CLI -p password -a localhost:9000'
alias bob-eclair='$ECLAIR -Dlogback.configurationFile=$ECLAIR_LOG_CONF -Declair.datadir=.eclair/bob'
alias bob-eclair-cli='$ECLAIR_CLI -p password -a localhost:9001'
alias carol-eclair='$ECLAIR -Dlogback.configurationFile=$ECLAIR_LOG_CONF -Declair.datadir=.eclair/carol'
alias carol-eclair-cli='$ECLAIR_CLI -p password -a localhost:9002'
alias dave-eclair='$ECLAIR -Dlogback.configurationFile=$ECLAIR_LOG_CONF -Declair.datadir=.eclair/dave'
alias dave-eclair-cli='$ECLAIR_CLI -p password -a localhost:9003'
##### LND #####
# Set the path to the lnd and lncli binaries:
LND_BIN=$HOME/go/bin/lnd
LND_CLI=$HOME/go/bin/lncli
alias alice-lnd='$LND_BIN --lnddir=.lnd/alice'
alias alice-lnd-cli='$LND_CLI --lnddir=.lnd/alice --rpcserver=localhost:10009 --network=regtest'
alias bob-lnd='$LND_BIN --lnddir=.lnd/bob'
alias bob-lnd-cli='$LND_CLI --lnddir=.lnd/bob --rpcserver=localhost:10010 --network=regtest'
alias carol-lnd='$LND_BIN --lnddir=.lnd/carol'
alias carol-lnd-cli='$LND_CLI --lnddir=.lnd/carol --rpcserver=localhost:10011 --network=regtest'
alias dave-lnd='$LND_BIN --lnddir=.lnd/dave'
alias dave-lnd-cli='$LND_CLI --lnddir=.lnd/dave --rpcserver=localhost:10012 --network=regtest'
##### LDK #####
# Set the path to the ldk-tutorial node (see https://github.com/lightningdevkit/ldk-sample):
LDK_BIN=.ldk/bin/ldk-tutorial-node
alias alice-ldk='$LDK_BIN user:password@localhost:18443 .ldk/alice/data 9735 regtest'
alias bob-ldk='$LDK_BIN user:password@localhost:18443 .ldk/bob/data 9736 regtest'
alias carol-ldk='$LDK_BIN user:password@localhost:18443 .ldk/carol/data 9737 regtest'
alias dave-ldk='$LDK_BIN user:password@localhost:18443 .ldk/dave/data 9738 regtest'