mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-01 08:28:20 +02:00
move info
This commit is contained in:
parent
c2c94e65c6
commit
0f5fc9e203
@ -1,13 +1,10 @@
|
||||
#!/usr/bin/python
|
||||
print ("# always activate virtual env first: source /home/admin/python-env-lnd/bin/activate")
|
||||
print ("# and run with with: python /home/admin/config.scripts/lnd.initwallet.py")
|
||||
|
||||
import codecs, grpc, os, sys, base64
|
||||
from lndlibs import rpc_pb2 as ln
|
||||
from lndlibs import rpc_pb2_grpc as lnrpc
|
||||
import codecs, os, sys, base64
|
||||
|
||||
# display config script info
|
||||
if len(sys.argv) <= 1 or sys.argv[1] == "-h" or sys.argv[1] == "help":
|
||||
print("# ! always activate virtual env first: source /home/admin/python-env-lnd/bin/activate")
|
||||
print("# ! and run with with: python /home/admin/config.scripts/lnd.initwallet.py")
|
||||
print("# creating or recovering the LND wallet")
|
||||
print("# lnd.winitwallet.py new [walletpassword] [?seedpassword]")
|
||||
print("# lnd.winitwallet.py seed [walletpassword] [seedstring] [?seedpassword]")
|
||||
@ -15,6 +12,10 @@ if len(sys.argv) <= 1 or sys.argv[1] == "-h" or sys.argv[1] == "help":
|
||||
print("err='missing parameters'")
|
||||
sys.exit(1)
|
||||
|
||||
import grpc
|
||||
from lndlibs import rpc_pb2 as ln
|
||||
from lndlibs import rpc_pb2_grpc as lnrpc
|
||||
|
||||
walletpassword=""
|
||||
seedwords=""
|
||||
seedpassword=""
|
||||
|
Loading…
x
Reference in New Issue
Block a user