Browse Source

testing response

master
Christian Rotzoll 6 years ago
parent
commit
64435c64f0
  1. 5
      home.admin/71initLND.sh
  2. 2
      home.admin/config.scripts/lnd.initwallet.py

5
home.admin/71initLND.sh

@ -7,5 +7,8 @@
# - systemd says its running
# - TLS.cert was created
# UI: Ask if user wants NEW wallet or RECOVER a wallet
source lnd/bin/activate
python /home/admin/config.scripts/lnd.initwallet.py ahdahdkash
python /home/admin/config.scripts/lnd.initwallet.py new ahdahdkash

2
home.admin/config.scripts/lnd.initwallet.py

@ -63,6 +63,8 @@ if mode=="new":
request = ln.GenSeedRequest()
response = stub.GenSeed(request)
print(response)
print(len(response.cipher_seed_mnemonic))
print(response.cipher_seed_mnemonic[1])
# TODO: do first https://api.lightning.community/#genseed

Loading…
Cancel
Save