aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorRizwan Qaiser <[email protected]>2022-01-11 13:46:04 +0500
committerRizwan Qaiser <[email protected]>2022-01-11 13:46:04 +0500
commit64402a251338124d2a3ed2381c8ea5a59b94c53c (patch)
tree3dd8ff7ac06ebfbdbca7ca60f3605aceb1dc5ca7 /README.md
parenta874a2b956d6159d85095d4f71fad258d555a387 (diff)
downloadcoinos-server-64402a251338124d2a3ed2381c8ea5a59b94c53c.tar.gz
coinos-server-64402a251338124d2a3ed2381c8ea5a59b94c53c.zip
fixed unlock command
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 7 insertions, 4 deletions
diff --git a/README.md b/README.md
index 267a3633..15880e7d 100644
--- a/README.md
+++ b/README.md
@@ -22,7 +22,7 @@ This repository contains the code for the backend API server which is implemente
cp fx.sample fx
docker network create net
sudo base64 config/lnd/tls.cert | tr -d '\n' > cert
- sudo base64 config/lnd/data/chain/bitcoin/regtest/admin.macaroon | tr -d '\n' > macaroon
+ sudo base64 config/lnd/data/chain/bitcoin/regtest/admin.macaroon | tr -d '\n'
docker run -it -v $(pwd):/app --entrypoint yarn asoltys/coinos-server
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d --remove-orphans
docker exec -i mariadb mysql -u root -ppassword < db/schema.sql
@@ -36,9 +36,12 @@ This repository contains the code for the backend API server which is implemente
### Wallet not found issues
If your app logs complain that the wallet was not found, do the following:
- docker exec bitcoin bash
- bitcoin-cli -datadir=config/ createwallet
- bitcoin-cli -datadir=config/ unlock
+ docker-compose exec bitcoin bash
+ bitcoin-cli -datadir=config/ createwallet coinos
+ exit
+ docker exec -it lnd lncli --network=regtest --chain=bitcoin unlock
+
+